Skip to content

Commit

Permalink
fix optimize_stable_video_diffusion_pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzeyi committed Feb 22, 2024
1 parent 7e36d62 commit e0728bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/optimize_stable_video_diffusion_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def quantize_unet(m):
model.unet = torch.compile(model.unet, mode=mode)
if hasattr(model, 'controlnet'):
model.controlnet = torch.compile(model.controlnet, mode=mode)
# model.vae = torch.compile(model.vae, mode=mode)
model.vae = torch.compile(model.vae, mode=mode)
else:
raise ValueError(f'Unknown compiler: {args.compiler}')

Expand Down

0 comments on commit e0728bc

Please sign in to comment.