jokerbit commited on
Commit
a597918
·
verified ·
1 Parent(s): ac14b3c

Channels_first

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -43,7 +43,7 @@ def load_pipeline() -> Pipeline:
43
  torch_dtype=torch.bfloat16,
44
  )
45
  pipeline.to("cuda")
46
- pipeline.transformer.to(memory_format=torch.channels_last)
47
  pipeline.transformer = torch.compile(pipeline.transformer)
48
  # pipeline.text_encoder.fuse_qkv_projections()
49
  # pipeline.vae = torch.compile(pipeline.vae)
 
43
  torch_dtype=torch.bfloat16,
44
  )
45
  pipeline.to("cuda")
46
+ # pipeline.transformer.to(memory_format=torch.channels_last)
47
  pipeline.transformer = torch.compile(pipeline.transformer)
48
  # pipeline.text_encoder.fuse_qkv_projections()
49
  # pipeline.vae = torch.compile(pipeline.vae)