Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify error message for missing module dependencies. #20036

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ScottTodd
Copy link
Member

For pipelines like https://github.com/iree-org/iree/blob/main/experimental/benchmarks/sdxl/sdxl_pipeline_bench_f16.mlir, the order that each .vmfb module is passed to tooling matters.

Running for example

iree-run-module \
  --module=sdxl_full_pipeline_fp16_rocm.vmfb \
  --module=sdxl_clip_vmfbs/model.rocm_gfx942.vmfb \
  --module=sdxl_unet_fp16_vmfbs/model.rocm_gfx942.vmfb \
  --module=sdxl_vae_vmfbs/model.rocm_gfx942.vmfb \
  ...

instead of

iree-run-module \
- --module=sdxl_full_pipeline_fp16_rocm.vmfb \
  --module=sdxl_clip_vmfbs/model.rocm_gfx942.vmfb \
  --module=sdxl_unet_fp16_vmfbs/model.rocm_gfx942.vmfb \
  --module=sdxl_vae_vmfbs/model.rocm_gfx942.vmfb \
+ --module=sdxl_full_pipeline_fp16_rocm.vmfb \
  ...

will hit this error message.

@ScottTodd ScottTodd requested a review from geomin12 February 19, 2025 23:20
@ScottTodd ScottTodd requested a review from benvanik as a code owner February 19, 2025 23:20
@ScottTodd ScottTodd added runtime/tools IREE's runtime tooling (iree-run-module, iree-benchmark-module, etc) runtime/vm IREE bytecode VM interpreter labels Feb 19, 2025
Copy link

@geomin12 geomin12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful! that helps clarify it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runtime/tools IREE's runtime tooling (iree-run-module, iree-benchmark-module, etc) runtime/vm IREE bytecode VM interpreter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants