zhiweili
commited on
Commit
Β·
b9198e5
1
Parent(s):
3047a5c
add cuda toolkit
Browse files- app_onediff.py +1 -1
- requirements.txt +2 -0
app_onediff.py
CHANGED
|
@@ -47,7 +47,7 @@ print(os.environ.get('CUDA_PATH'))
|
|
| 47 |
print(os.environ.get('CUDA_HOME'))
|
| 48 |
os.system("pip show torch")
|
| 49 |
|
| 50 |
-
os.system("CUDA_HOME=/usr/local/cuda-12.1 python3 -m pip install stable-fast")
|
| 51 |
|
| 52 |
import xformers
|
| 53 |
import triton
|
|
|
|
| 47 |
print(os.environ.get('CUDA_HOME'))
|
| 48 |
os.system("pip show torch")
|
| 49 |
|
| 50 |
+
# os.system("CUDA_HOME=/usr/local/cuda-12.1 python3 -m pip install stable-fast")
|
| 51 |
|
| 52 |
import xformers
|
| 53 |
import triton
|
requirements.txt
CHANGED
|
@@ -9,5 +9,7 @@ git+https://github.com/XPixelGroup/BasicSR@master
|
|
| 9 |
gfpgan
|
| 10 |
facexlib
|
| 11 |
realesrgan
|
|
|
|
|
|
|
| 12 |
triton
|
| 13 |
xformers
|
|
|
|
| 9 |
gfpgan
|
| 10 |
facexlib
|
| 11 |
realesrgan
|
| 12 |
+
cuda-toolkit
|
| 13 |
+
sfast
|
| 14 |
triton
|
| 15 |
xformers
|