jokerbit commited on
Commit
a14fad3
·
verified ·
1 Parent(s): 73afaec

COmpile is no longer the choice for this model

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -52,7 +52,7 @@ def load_pipeline() -> Pipeline:
52
  pipeline.transformer.to(memory_format=torch.channels_last)
53
  # pipeline.vae.to(memory_format=torch.channels_last)
54
  quantize_(pipeline.vae, int8_weight_only())
55
- pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune")
56
  pipeline.to("cuda")
57
 
58
  for _ in range(2):
 
52
  pipeline.transformer.to(memory_format=torch.channels_last)
53
  # pipeline.vae.to(memory_format=torch.channels_last)
54
  quantize_(pipeline.vae, int8_weight_only())
55
+ # pipeline.vae = torch.compile(pipeline.vae, mode="max-autotune")
56
  pipeline.to("cuda")
57
 
58
  for _ in range(2):