jokerbit commited on
Commit
b62bbe6
·
verified ·
1 Parent(s): c0aa444

Upload src/pipeline.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -38,7 +38,7 @@ def load_pipeline() -> Pipeline:
38
  torch_dtype=torch.bfloat16,
39
  ).to("cuda")
40
 
41
- # pipeline.to(memory_format=torch.channels_last)
42
  for _ in range(4):
43
  pipeline("cat", num_inference_steps=4)
44
 
 
38
  torch_dtype=torch.bfloat16,
39
  ).to("cuda")
40
 
41
+ pipeline.to(memory_format=torch.channels_last)
42
  for _ in range(4):
43
  pipeline("cat", num_inference_steps=4)
44