Fix SageAttention build command
Browse files
app.py
CHANGED
|
@@ -32,14 +32,9 @@ os.chmod("./scripts/deploy_gradio_inference.sh", 0o755)
|
|
| 32 |
subprocess.run(["./scripts/deploy_gradio_inference.sh", "image"], check=True)
|
| 33 |
|
| 34 |
subprocess.run(
|
| 35 |
-
|
| 36 |
-
"TORCH_CUDA_ARCH_LIST=9.0",
|
| 37 |
-
"pip",
|
| 38 |
-
"install",
|
| 39 |
-
"git+https://github.com/thu-ml/SageAttention.git@798c791d276f302d4f19246feffa053a9e4c5af5",
|
| 40 |
-
],
|
| 41 |
check=True,
|
| 42 |
-
shell=True
|
| 43 |
)
|
| 44 |
os.chdir("inference")
|
| 45 |
subprocess.run(["pip", "install", "-r", "requirements.txt"], check=True)
|
|
|
|
| 32 |
subprocess.run(["./scripts/deploy_gradio_inference.sh", "image"], check=True)
|
| 33 |
|
| 34 |
subprocess.run(
|
| 35 |
+
"TORCH_CUDA_ARCH_LIST=9.0 pip install git+https://github.com/thu-ml/SageAttention.git@798c791d276f302d4f19246feffa053a9e4c5af5",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
check=True,
|
| 37 |
+
shell=True
|
| 38 |
)
|
| 39 |
os.chdir("inference")
|
| 40 |
subprocess.run(["pip", "install", "-r", "requirements.txt"], check=True)
|