Upload src/pipeline.py with huggingface_hub
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
@@ -47,7 +47,7 @@ def load_pipeline() -> Pipeline:
|
|
47 |
local_files_only=True,
|
48 |
torch_dtype=torch.bfloat16,
|
49 |
).to("cuda")
|
50 |
-
pipeline.to(memory_format=torch.channels_last)
|
51 |
# pipeline.transformer.to(memory_format=torch.channels_last)
|
52 |
# pipeline.vae.to(memory_format=torch.channels_last)
|
53 |
|
|
|
47 |
local_files_only=True,
|
48 |
torch_dtype=torch.bfloat16,
|
49 |
).to("cuda")
|
50 |
+
# pipeline.to(memory_format=torch.channels_last)
|
51 |
# pipeline.transformer.to(memory_format=torch.channels_last)
|
52 |
# pipeline.vae.to(memory_format=torch.channels_last)
|
53 |
|