Spaces:
Running on Zero
Running on Zero
Commit ·
d76d484
1
Parent(s): fe5e4a1
Remove local_files_only from transformer load to fix missing snapshots/
Browse filesThe bucket has the V23 blobs (19 GB) but no snapshots/ directory, so
local_files_only=True caused a silent hang because HF cache couldn't
resolve filenames to blobs. Without the flag, HF fetches the manifest
from Hub (fast metadata call), creates the snapshots/ symlinks against
the existing blobs (no re-download), then loads normally.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -72,7 +72,6 @@ _transformer = QwenImageTransformer2DModel.from_pretrained(
|
|
| 72 |
"prithivMLmods/Qwen-Image-Edit-Rapid-AIO-V23",
|
| 73 |
torch_dtype=dtype,
|
| 74 |
device_map="cuda",
|
| 75 |
-
local_files_only=True,
|
| 76 |
)
|
| 77 |
print(f"[startup] transformer loaded in {_time.perf_counter()-_t0_load:.1f}s", flush=True)
|
| 78 |
|
|
|
|
| 72 |
"prithivMLmods/Qwen-Image-Edit-Rapid-AIO-V23",
|
| 73 |
torch_dtype=dtype,
|
| 74 |
device_map="cuda",
|
|
|
|
| 75 |
)
|
| 76 |
print(f"[startup] transformer loaded in {_time.perf_counter()-_t0_load:.1f}s", flush=True)
|
| 77 |
|