Spaces:
Runtime error
Runtime error
jadechoghari
commited on
Commit
β’
1c2e16e
1
Parent(s):
0455d1d
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,7 @@ pipeline_optimized = FluxPipeline.from_pretrained(
|
|
18 |
torch_dtype=torch.bfloat16
|
19 |
).to("cuda")
|
20 |
pipeline_optimized.transformer = autoquant(
|
21 |
-
pipeline_optimized.transformer
|
22 |
-
error_on_unseen=False
|
23 |
)
|
24 |
print("all good")
|
25 |
pipeline_optimized.transformer.to(memory_format=torch.channels_last)
|
|
|
18 |
torch_dtype=torch.bfloat16
|
19 |
).to("cuda")
|
20 |
pipeline_optimized.transformer = autoquant(
|
21 |
+
pipeline_optimized.transformer
|
|
|
22 |
)
|
23 |
print("all good")
|
24 |
pipeline_optimized.transformer.to(memory_format=torch.channels_last)
|