Greedy
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
@@ -45,7 +45,7 @@ def load_pipeline() -> Pipeline:
|
|
45 |
|
46 |
pipeline.transformer.to(memory_format=torch.channels_last)
|
47 |
# pipeline.vae.to(memory_format=torch.channels_last)
|
48 |
-
pipeline.vae = torch.compile(pipeline.vae
|
49 |
pipeline.to("cuda")
|
50 |
for _ in range(4):
|
51 |
pipeline("cat", num_inference_steps=4)
|
|
|
45 |
|
46 |
pipeline.transformer.to(memory_format=torch.channels_last)
|
47 |
# pipeline.vae.to(memory_format=torch.channels_last)
|
48 |
+
pipeline.vae = torch.compile(pipeline.vae)
|
49 |
pipeline.to("cuda")
|
50 |
for _ in range(4):
|
51 |
pipeline("cat", num_inference_steps=4)
|