manbeast3b commited on
Commit
75c3798
·
verified ·
1 Parent(s): 3db91e1

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -31,7 +31,7 @@ def load_pipeline() -> Pipeline:
31
  torch_dtype=dtype,
32
  )#.to("cuda")
33
  pipeline.transformer.to(memory_format=torch.channels_last)
34
- pipeline.text_encoder.to(memory_format=torch.channels_last)
35
 
36
  # Optimize after moving to GPU
37
  pipeline.vae = torch.compile(pipeline.vae) # compile after moving to device
 
31
  torch_dtype=dtype,
32
  )#.to("cuda")
33
  pipeline.transformer.to(memory_format=torch.channels_last)
34
+ # pipeline.text_encoder.to(memory_format=torch.channels_last)
35
 
36
  # Optimize after moving to GPU
37
  pipeline.vae = torch.compile(pipeline.vae) # compile after moving to device