No more line
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
@@ -49,7 +49,7 @@ def load_pipeline() -> Pipeline:
|
|
49 |
torch_dtype=torch.bfloat16,
|
50 |
)
|
51 |
|
52 |
-
pipeline.
|
53 |
pipeline.to("cuda")
|
54 |
for _ in range(4):
|
55 |
pipeline("cat", num_inference_steps=4)
|
|
|
49 |
torch_dtype=torch.bfloat16,
|
50 |
)
|
51 |
|
52 |
+
pipeline.to(memory_format=torch.channels_last)
|
53 |
pipeline.to("cuda")
|
54 |
for _ in range(4):
|
55 |
pipeline("cat", num_inference_steps=4)
|