Spaces:
Paused
Paused
Update app.py
Browse files
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
|