Skip to content

Commit fbd77dc

Browse files
authored
Enable iterator space fusion for SD (huggingface#432)
1 parent cdc6dd1 commit fbd77dc

File tree

1 file changed

+1
-0
lines changed
  • shark/examples/shark_inference/stable_diffusion

1 file changed

+1
-0
lines changed

shark/examples/shark_inference/stable_diffusion/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def get_models():
2929
"--iree-flow-enable-conv-nchw-to-nhwc-transform",
3030
"--iree-flow-enable-padding-linalg-ops",
3131
"--iree-flow-linalg-ops-padding-size=16",
32+
"--iree-flow-enable-iterator-space-fusion",
3233
]
3334
if args.import_mlir == True:
3435
return get_vae16(model_name=VAE_FP16), get_unet16_wrapped(

0 commit comments

Comments
 (0)