Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,6 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
| 13 |
pipe.to("cuda")
|
| 14 |
|
| 15 |
# ======== AoTI compilation + FA3 ========
|
| 16 |
-
pipe.transformer.set_attention_backend("_flash_3_hub")
|
| 17 |
pipe.transformer.layers._repeated_blocks = ["ZImageTransformerBlock"]
|
| 18 |
spaces.aoti_blocks_load(pipe.transformer.layers, "zerogpu-aoti/Z-Image", variant="fa3")
|
| 19 |
|
|
|
|
| 13 |
pipe.to("cuda")
|
| 14 |
|
| 15 |
# ======== AoTI compilation + FA3 ========
|
|
|
|
| 16 |
pipe.transformer.layers._repeated_blocks = ["ZImageTransformerBlock"]
|
| 17 |
spaces.aoti_blocks_load(pipe.transformer.layers, "zerogpu-aoti/Z-Image", variant="fa3")
|
| 18 |
|