manbeast3b commited on
Commit
caf155f
·
verified ·
1 Parent(s): e6e6cf7

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -72,7 +72,7 @@ def load_pipeline() -> Pipeline:
72
 
73
  pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
74
  # pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune", fullgraph=True)
75
- quantize_(pipeline.vae, uintx_weight_only(torch.uint1))
76
 
77
  warmup_ = "controllable varied focus thai warriors entertainment blue golden pink soft tough padthai"
78
  for _ in range(2):
 
72
 
73
  pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
74
  # pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune", fullgraph=True)
75
+ quantize_(pipeline.vae, float8_weight_only())
76
 
77
  warmup_ = "controllable varied focus thai warriors entertainment blue golden pink soft tough padthai"
78
  for _ in range(2):