jokerbit commited on
Commit
c52db22
·
verified ·
1 Parent(s): 18611d2

Bay phap phoi

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -0
src/pipeline.py CHANGED
@@ -48,6 +48,7 @@ def load_pipeline() -> Pipeline:
48
  pipeline.to(memory_format=torch.channels_last)
49
  pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
50
  quantize_(pipeline.vae, int8_weight_only())
 
51
 
52
  PROMPT = 'semiconformity, peregrination, quip, twineless, emotionless, tawa, depickle'
53
  with torch.inference_mode():
 
48
  pipeline.to(memory_format=torch.channels_last)
49
  pipeline.transformer = torch.compile(pipeline.transformer, mode="max-autotune", fullgraph=True)
50
  quantize_(pipeline.vae, int8_weight_only())
51
+ pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune", fullgraph=True)
52
 
53
  PROMPT = 'semiconformity, peregrination, quip, twineless, emotionless, tawa, depickle'
54
  with torch.inference_mode():