jokerbit commited on
Commit
773f17b
·
verified ·
1 Parent(s): 287bca2

No more line

Browse files
Files changed (1) hide show
  1. 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.transformer.to(memory_format=torch.channels_last)
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)