jokerbit commited on
Commit
19023b1
·
verified ·
1 Parent(s): 4741e78

Upload src/pipeline.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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