From bddda8520ed163124a88ddd64a038309990a4280 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Mon, 23 Sep 2024 18:19:15 +0200 Subject: [PATCH] Fix iree-compile command line call (#18583) Providing a module (by file path) requires passing it via `--module=`. Function need to be specified via `--function=`. skip-ci: doc update only. --- docs/website/docs/guides/ml-frameworks/onnx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/website/docs/guides/ml-frameworks/onnx.md b/docs/website/docs/guides/ml-frameworks/onnx.md index c43fe0fade75..9fd02a3f5de9 100644 --- a/docs/website/docs/guides/ml-frameworks/onnx.md +++ b/docs/website/docs/guides/ml-frameworks/onnx.md @@ -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=... \ ... ```