Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,7 @@ import shlex
|
|
7 |
# "pip install ./nvdiffrast-0.3.1.torch-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
8 |
# )
|
9 |
# )
|
10 |
-
|
11 |
-
"pip install ./nvdiffrast-0.3.1.torch-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
12 |
-
), check=True)
|
13 |
# subprocess.run([
|
14 |
# "pip", "install", "--force-reinstall", "--no-deps",
|
15 |
# "./nvdiffrast-0.3.1.torch-cp310-cp310-linux_x86_64.whl"
|
@@ -22,6 +20,9 @@ subprocess.run(
|
|
22 |
"pip install ./renderutils_plugin-1.0-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
23 |
)
|
24 |
)
|
|
|
|
|
|
|
25 |
# os.environ["CXX"] = os.popen("which g++").read().strip()
|
26 |
# os.environ["CC"] = os.popen("which gcc").read().strip()
|
27 |
os.environ['CUDA_LAUNCH_BLOCKING']="1"
|
|
|
7 |
# "pip install ./nvdiffrast-0.3.1.torch-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
8 |
# )
|
9 |
# )
|
10 |
+
|
|
|
|
|
11 |
# subprocess.run([
|
12 |
# "pip", "install", "--force-reinstall", "--no-deps",
|
13 |
# "./nvdiffrast-0.3.1.torch-cp310-cp310-linux_x86_64.whl"
|
|
|
20 |
"pip install ./renderutils_plugin-1.0-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
21 |
)
|
22 |
)
|
23 |
+
subprocess.run(shlex.split(
|
24 |
+
"pip install ./nvdiffrast-0.3.1.torch-cp310-cp310-linux_x86_64.whl --force-reinstall --no-deps"
|
25 |
+
), check=True)
|
26 |
# os.environ["CXX"] = os.popen("which g++").read().strip()
|
27 |
# os.environ["CC"] = os.popen("which gcc").read().strip()
|
28 |
os.environ['CUDA_LAUNCH_BLOCKING']="1"
|