adf
Browse files- src/pipeline.py +2 -3
src/pipeline.py
CHANGED
@@ -54,11 +54,10 @@ pipeline = FluxPipeline.from_pretrained(
|
|
54 |
)
|
55 |
|
56 |
pipeline.transformer.to(memory_format=torch.channels_last)
|
57 |
-
|
58 |
-
pipeline.to("cuda")
|
59 |
my_quantize(pipeline.vae)
|
60 |
pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune-no-cudagraphs")
|
61 |
-
|
62 |
|
63 |
def load_pipeline():
|
64 |
for _ in range(4):
|
|
|
54 |
)
|
55 |
|
56 |
pipeline.transformer.to(memory_format=torch.channels_last)
|
57 |
+
|
|
|
58 |
my_quantize(pipeline.vae)
|
59 |
pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune-no-cudagraphs")
|
60 |
+
pipeline.to("cuda")
|
61 |
|
62 |
def load_pipeline():
|
63 |
for _ in range(4):
|