jokerbit commited on
Commit
d206d81
·
verified ·
1 Parent(s): f98ddff
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -56,7 +56,7 @@ def load_pipeline() -> Pipeline:
56
 
57
  pipeline.to(memory_format=torch.channels_last)
58
  pipeline.transformer = torch.compile(pipeline.transformer)
59
- # quantize_(pipeline.vae, int8_weight_only())
60
  # pipeline.vae = torch.compile(pipeline.vae)
61
  # pipeline.set_progress_bar_config(disable=True)
62
 
 
56
 
57
  pipeline.to(memory_format=torch.channels_last)
58
  pipeline.transformer = torch.compile(pipeline.transformer)
59
+ quantize_(pipeline.vae, int8_weight_only())
60
  # pipeline.vae = torch.compile(pipeline.vae)
61
  # pipeline.set_progress_bar_config(disable=True)
62