Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files- scripts/build_sage_attention.py +8 -10
- utils/app_utils.py +1 -1
- yaml/file_list.yaml +0 -3
- yaml/model_list.yaml +0 -2
scripts/build_sage_attention.py
CHANGED
|
@@ -8,20 +8,18 @@ REPO_DIR = "SageAttention"
|
|
| 8 |
|
| 9 |
def run_command(command, cwd=None, env=None):
|
| 10 |
print(f"🚀 Running command: {' '.join(command)}")
|
| 11 |
-
|
| 12 |
command,
|
| 13 |
-
stdout=subprocess.PIPE,
|
| 14 |
-
stderr=subprocess.STDOUT,
|
| 15 |
cwd=cwd,
|
| 16 |
env=env,
|
| 17 |
-
|
| 18 |
-
|
|
|
|
| 19 |
)
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
raise subprocess.CalledProcessError(process.returncode, command)
|
| 25 |
|
| 26 |
def patch_setup_py(setup_py_path):
|
| 27 |
print(f"--- [SageAttention Build] Applying patches to {setup_py_path} ---")
|
|
|
|
| 8 |
|
| 9 |
def run_command(command, cwd=None, env=None):
|
| 10 |
print(f"🚀 Running command: {' '.join(command)}")
|
| 11 |
+
result = subprocess.run(
|
| 12 |
command,
|
|
|
|
|
|
|
| 13 |
cwd=cwd,
|
| 14 |
env=env,
|
| 15 |
+
stdout=subprocess.PIPE,
|
| 16 |
+
stderr=subprocess.STDOUT,
|
| 17 |
+
text=True
|
| 18 |
)
|
| 19 |
+
|
| 20 |
+
if result.returncode != 0:
|
| 21 |
+
print(result.stdout)
|
| 22 |
+
raise subprocess.CalledProcessError(result.returncode, command)
|
|
|
|
| 23 |
|
| 24 |
def patch_setup_py(setup_py_path):
|
| 25 |
print(f"--- [SageAttention Build] Applying patches to {setup_py_path} ---")
|
utils/app_utils.py
CHANGED
|
@@ -583,7 +583,7 @@ def build_preprocessor_parameter_map():
|
|
| 583 |
|
| 584 |
def print_welcome_message():
|
| 585 |
author_name = "RioShiina"
|
| 586 |
-
project_url = "https://huggingface.co/
|
| 587 |
border = "=" * 72
|
| 588 |
|
| 589 |
message = (
|
|
|
|
| 583 |
|
| 584 |
def print_welcome_message():
|
| 585 |
author_name = "RioShiina"
|
| 586 |
+
project_url = "https://huggingface.co/RioShiina"
|
| 587 |
border = "=" * 72
|
| 588 |
|
| 589 |
message = (
|
yaml/file_list.yaml
CHANGED
|
@@ -8,9 +8,6 @@ file:
|
|
| 8 |
source: hf
|
| 9 |
repo_id: "bluepen5805/pony_pencil-XL"
|
| 10 |
repository_file_path: "pony_pencil-XL-v2.0.0.safetensors"
|
| 11 |
-
- filename: "hikariNoobVPred_123.safetensors"
|
| 12 |
-
source: "civitai"
|
| 13 |
-
model_version_id: "692489"
|
| 14 |
- filename: "CyberRealisticPony_V14.0.safetensors"
|
| 15 |
source: hf
|
| 16 |
repo_id: "cyberdelia/CyberRealisticPony"
|
|
|
|
| 8 |
source: hf
|
| 9 |
repo_id: "bluepen5805/pony_pencil-XL"
|
| 10 |
repository_file_path: "pony_pencil-XL-v2.0.0.safetensors"
|
|
|
|
|
|
|
|
|
|
| 11 |
- filename: "CyberRealisticPony_V14.0.safetensors"
|
| 12 |
source: hf
|
| 13 |
repo_id: "cyberdelia/CyberRealisticPony"
|
yaml/model_list.yaml
CHANGED
|
@@ -3,7 +3,5 @@ Checkpoint:
|
|
| 3 |
path: "ponyDiffusionV6XL_v6StartWithThisOne.safetensors"
|
| 4 |
- display_name: "blue_pen5805/pony_pencil-XL v2.0.0"
|
| 5 |
path: "pony_pencil-XL-v2.0.0.safetensors"
|
| 6 |
-
- display_name: "Inzaniak/Mistoon_Anime Pony Alpha"
|
| 7 |
-
path: "mistoonAnime_ponyAlpha.safetensors"
|
| 8 |
- display_name: "Cyberdelia/CyberRealistic Pony v14.0"
|
| 9 |
path: "CyberRealisticPony_V14.0.safetensors"
|
|
|
|
| 3 |
path: "ponyDiffusionV6XL_v6StartWithThisOne.safetensors"
|
| 4 |
- display_name: "blue_pen5805/pony_pencil-XL v2.0.0"
|
| 5 |
path: "pony_pencil-XL-v2.0.0.safetensors"
|
|
|
|
|
|
|
| 6 |
- display_name: "Cyberdelia/CyberRealistic Pony v14.0"
|
| 7 |
path: "CyberRealisticPony_V14.0.safetensors"
|