alexnasa commited on
Commit
8355ef8
·
verified ·
1 Parent(s): efa7ccb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -4,6 +4,9 @@ import torch._dynamo
4
  torch._dynamo.disable()
5
 
6
  import os
 
 
 
7
  import subprocess
8
  import tempfile
9
  import uuid
 
4
  torch._dynamo.disable()
5
 
6
  import os
7
+ # Force Dynamo off at import‐time of torch, pytorch3d, etc.
8
+ os.environ["TORCHDYNAMO_DISABLE"] = "1"
9
+
10
  import subprocess
11
  import tempfile
12
  import uuid