zhiweili
commited on
Commit
Β·
54bc1d3
1
Parent(s):
6fd0d71
test onediff
Browse files- app_onediff.py +2 -2
app_onediff.py
CHANGED
@@ -10,10 +10,10 @@ from diffusers import (
|
|
10 |
AutoencoderTiny,
|
11 |
)
|
12 |
|
13 |
-
os.system("pip install -U --pre oneflow -f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu122")
|
14 |
os.system("pip install --pre onediff")
|
15 |
|
16 |
-
import oneflow as flow
|
17 |
from onediff.infer_compiler import oneflow_compile
|
18 |
|
19 |
BASE_MODEL = "stabilityai/sdxl-turbo"
|
|
|
10 |
AutoencoderTiny,
|
11 |
)
|
12 |
|
13 |
+
# os.system("pip install -U --pre oneflow -f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu122")
|
14 |
os.system("pip install --pre onediff")
|
15 |
|
16 |
+
# import oneflow as flow
|
17 |
from onediff.infer_compiler import oneflow_compile
|
18 |
|
19 |
BASE_MODEL = "stabilityai/sdxl-turbo"
|