zhiweili
commited on
Commit
Β·
8303ab4
1
Parent(s):
347ed1e
try to fix no module found
Browse files- app_onediff.py +2 -2
app_onediff.py
CHANGED
|
@@ -13,8 +13,8 @@ from diffusers import (
|
|
| 13 |
|
| 14 |
os.system("python3 -m pip --no-cache-dir install --pre nexfort -f https://github.com/siliconflow/nexfort_releases/releases/expanded_assets/torch2.4.1_cu121")
|
| 15 |
os.system("git clone https://github.com/siliconflow/onediff.git")
|
| 16 |
-
os.system("
|
| 17 |
-
os.system("
|
| 18 |
|
| 19 |
from onediff.infer_compiler import oneflow_compile
|
| 20 |
from onediffx import compile_pipe
|
|
|
|
| 13 |
|
| 14 |
os.system("python3 -m pip --no-cache-dir install --pre nexfort -f https://github.com/siliconflow/nexfort_releases/releases/expanded_assets/torch2.4.1_cu121")
|
| 15 |
os.system("git clone https://github.com/siliconflow/onediff.git")
|
| 16 |
+
os.system("python3 -m pip install -e ./onediff")
|
| 17 |
+
os.system("python3 -m pip install -e ./onediff/onediff_diffusers_extensions")
|
| 18 |
|
| 19 |
from onediff.infer_compiler import oneflow_compile
|
| 20 |
from onediffx import compile_pipe
|