zhiweili
commited on
Commit
Β·
c7b3e37
1
Parent(s):
52763ae
test nexfort
Browse files- app_onediff.py +1 -3
- requirements.txt +2 -1
app_onediff.py
CHANGED
@@ -10,9 +10,7 @@ from diffusers import (
|
|
10 |
AutoencoderTiny,
|
11 |
)
|
12 |
|
13 |
-
os.system("python3 -m pip install
|
14 |
-
os.system("git clone https://github.com/siliconflow/onediff.git")
|
15 |
-
os.system("cd onediff && python3 -m pip install -e .")
|
16 |
|
17 |
import oneflow as flow
|
18 |
from onediff.infer_compiler import oneflow_compile
|
|
|
10 |
AutoencoderTiny,
|
11 |
)
|
12 |
|
13 |
+
os.system("python3 -m pip install --pre onediff")
|
|
|
|
|
14 |
|
15 |
import oneflow as flow
|
16 |
from onediff.infer_compiler import oneflow_compile
|
requirements.txt
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
gradio
|
2 |
-
|
3 |
torchvision -f https://download.pytorch.org/whl/cu121/torch_stable.html
|
4 |
diffusers
|
5 |
transformers
|
6 |
accelerate
|
7 |
spaces
|
|
|
|
1 |
gradio
|
2 |
+
torchtorch -f https://download.pytorch.org/whl/cu121/torch_stable.html
|
3 |
torchvision -f https://download.pytorch.org/whl/cu121/torch_stable.html
|
4 |
diffusers
|
5 |
transformers
|
6 |
accelerate
|
7 |
spaces
|
8 |
+
nexfort
|