Skip to content

Extend ONNX runtime operator support - #8

Merged
Toni-SM merged 2 commits into
NVIDIA:developfrom
nvtw:dev/tw/extend_onnx_runtime
Sep 3, 2026
Merged

Toni-SM merged 2 commits into
NVIDIA:developfrom
nvtw:dev/tw/extend_onnx_runtime

Conversation

@nvtw

@nvtw nvtw commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This MR extends the lightweight ONNX policy runtime with Add, Sub, Mul, Div, BatchNormalization, Relu, Tanh, Sqrt, and ReduceMean. It also uses Warp-NN's tiled GEMM for inference while preserving the differentiable GEMM path.

Common Gemm/BatchNormalization/Relu and RMS-normalization sequences are fused for efficient, graph-capturable execution. Fusion is limited to supported operator variants and static scale parameters, while dynamic scaling remains on the regular operator path.

Tests cover numerical correctness, fused and unfused execution, dynamic RMS scaling, unsupported variants, and deterministic CUDA graph replay. All 9 focused CUDA tests and pre-commit hooks pass.

@nvtw
nvtw marked this pull request as draft August 24, 2026 11:30
@nvtw
nvtw force-pushed the dev/tw/extend_onnx_runtime branch from 9ff9ee9 to fbaf25c Compare August 24, 2026 11:47
@nvtw
nvtw marked this pull request as ready for review August 24, 2026 11:53
@Toni-SM
Toni-SM merged commit d9334ff into NVIDIA:develop Sep 3, 2026
4 checks passed
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.

2 participants