jokerbit commited on
Commit
d3059b8
·
verified ·
1 Parent(s): 22e8fdc
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -45,7 +45,7 @@ def load_pipeline() -> Pipeline:
45
 
46
  pipeline.transformer.to(memory_format=torch.channels_last)
47
  # pipeline.vae.to(memory_format=torch.channels_last)
48
- pipeline.vae = torch.compile(pipeline.vae, backend="cudagraphs")
49
  pipeline.to("cuda")
50
  for _ in range(4):
51
  pipeline("cat", num_inference_steps=4)
 
45
 
46
  pipeline.transformer.to(memory_format=torch.channels_last)
47
  # pipeline.vae.to(memory_format=torch.channels_last)
48
+ pipeline.vae = torch.compile(pipeline.vae)
49
  pipeline.to("cuda")
50
  for _ in range(4):
51
  pipeline("cat", num_inference_steps=4)