Skip to content

Commit

Permalink
Fix iree-compile command line call (#18583)
Browse files Browse the repository at this point in the history
Providing a module (by file path) requires passing it via `--module=`.
Function need to be specified via `--function=`.

skip-ci: doc update only.
  • Loading branch information
marbre authored Sep 23, 2024
1 parent 070ec4a commit bddda85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/website/docs/guides/ml-frameworks/onnx.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ graph LR
-o model_cpu.vmfb
iree-run-module \
model_cpu.vmfb \
--module=model_cpu.vmfb \
--device=local-task \
--entry_function=... \
--function=... \
--input=... \
...
```
Expand Down

0 comments on commit bddda85

Please sign in to comment.