Skip to content

Commit

Permalink
avoid conflicts in child process
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Jan 14, 2025
1 parent 3ca1b08 commit 0389855
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class JavaWorker {
* args of the parent process
*/
public static void main(String[] args) {
System.clearProperty("PYTORCH_FLAVOR");

try(Scanner scanner = new Scanner(System.in)){
PytorchInterface pi;
Expand Down

0 comments on commit 0389855

Please sign in to comment.