zhiweili commited on
Commit
c7b3e37
Β·
1 Parent(s): 52763ae

test nexfort

Browse files
Files changed (2) hide show
  1. app_onediff.py +1 -3
  2. 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 -U --pre oneflow -f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu121")
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
- torch -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
 
 
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