jokerbit commited on
Commit
a6c249a
·
verified ·
1 Parent(s): 69e3350

channels_last

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -48,7 +48,7 @@ def load_pipeline() -> Pipeline:
48
  ).to("cuda")
49
  quantize_(pipeline.vae, int8_weight_only())
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
 
54
  # quantize_(pipeline.vae, int8_weight_only())
 
48
  ).to("cuda")
49
  quantize_(pipeline.vae, int8_weight_only())
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
 
54
  # quantize_(pipeline.vae, int8_weight_only())