Skip to content
Prev Previous commit
Next Next commit
update doc
  • Loading branch information
thevishalagarwal committed Sep 3, 2025
commit 702e92876d33064a4e40b0d407d1ffd08301f071
14 changes: 14 additions & 0 deletions docs/execution-providers/TensorRTRTX-ExecutionProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,20 @@ For a practical example of usage, please refer to:
* EP context [unit tests](https://github.com/microsoft/onnxruntime/blob/main/onnxruntime/test/providers/nv_tensorrt_rtx/nv_ep_context_test.cc)


There are two other ways to quick generate an EP context model

1. **ONNX Runtime Perf Test**

```sh
onnxruntime_perf_test.exe -e nvtensorrtrtx -I -r 1 "/path/to/model.onnx" --compile_ep_context --compile_model_path "/path/to/model_ctx.onnx"
```
Copy link
Collaborator

Choose a reason for hiding this comment

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

I do not see the flag --compile_ep_context.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I think you might be seeing an older commit


2. **Python Script**

```sh
python tools/python/compile_ep_context_model.py -i "path/to/model.onnx" -o "/path/to/model_ctx.onnx"
```

#### NVIDIA recommended settings

* disable ORT graph optimization
Expand Down
Loading