Text_encoder_2
Browse files- src/pipeline.py +1 -0
src/pipeline.py
CHANGED
@@ -40,6 +40,7 @@ def load_pipeline() -> Pipeline:
|
|
40 |
)
|
41 |
|
42 |
pipeline.transformer.to(memory_format=torch.channels_last)
|
|
|
43 |
pipeline.to("cuda")
|
44 |
for _ in range(4):
|
45 |
pipeline("cat", num_inference_steps=4)
|
|
|
40 |
)
|
41 |
|
42 |
pipeline.transformer.to(memory_format=torch.channels_last)
|
43 |
+
pipeline.text_encoder_2.to(memory_format=torch.channels_last)
|
44 |
pipeline.to("cuda")
|
45 |
for _ in range(4):
|
46 |
pipeline("cat", num_inference_steps=4)
|