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

Fix iree-compile command line call #18583

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

marbre
Copy link
Member

@marbre marbre commented Sep 23, 2024

Providing a module (by file path) requires passing it via --module=.
Function need to be specified via --function=.

skip-ci: doc update only.

@@ -106,7 +106,7 @@ graph LR
-o model_cpu.vmfb

iree-run-module \
model_cpu.vmfb \
--module=model_cpu.vmfb \
--device=local-task \
--entry_function=... \
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be --function=

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, fixed this as well. Thanks!

Providing a module (by file path) requires passing it via `--module=`.
Function need to be specified via `--function=`.

skip-ci: doc update only.
@marbre marbre merged commit bddda85 into iree-org:main Sep 23, 2024
24 checks passed
@marbre marbre deleted the docs.guides.onnx branch September 23, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants