Spaces:
Runtime error
Runtime error
Useless here
Browse files
app.py
CHANGED
|
@@ -25,9 +25,6 @@ pipeline = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-schnell', torc
|
|
| 25 |
def compile_transformer():
|
| 26 |
|
| 27 |
pipeline.transformer.fuse_qkv_projections()
|
| 28 |
-
pipeline.vae.fuse_qkv_projections()
|
| 29 |
-
pipeline.vae.to(memory_format=torch.channels_last)
|
| 30 |
-
|
| 31 |
quantize_(pipeline.transformer, Float8DynamicActivationFloat8WeightConfig())
|
| 32 |
|
| 33 |
def _example_tensor(*shape):
|
|
|
|
| 25 |
def compile_transformer():
|
| 26 |
|
| 27 |
pipeline.transformer.fuse_qkv_projections()
|
|
|
|
|
|
|
|
|
|
| 28 |
quantize_(pipeline.transformer, Float8DynamicActivationFloat8WeightConfig())
|
| 29 |
|
| 30 |
def _example_tensor(*shape):
|