Day 6/42 — Phase 1: ONNX one-on-one fundamentals
Objective
Distinguish ONNX functions from custom operators and assess their portability to NVIDIA TensorRT and TensorRT-RTX.
Concept
An ONNX function provides a reusable graph body composed of other operators. A custom operator introduces a domain/operator contract that TensorRT must recognize through parser support or a plugin. A custom op carrying a standard-ONNX function body may be expanded before TensorRT parsing; a custom op without an expandable body creates a deployment dependency.
Tasks (30–60 minutes)
Deliverable
Add a comment to this issue containing:
- the three-row comparison
- a recommendation of about 100 words for choosing ONNX functions versus custom operators in Mobius
No Mobius source-code change is required for this lesson.
Verification
Your answer must correctly state that:
ir.Function bodies can express an operator using standard graph operations
- unknown custom operators may require TensorRT parser support or plugins
- expanding a function body can improve portability at the cost of losing a fused representation
onnx-standard proactively removes custom-domain dependencies
Completion criteria
The comparison clearly separates graph representation from runtime support and gives a defensible TensorRT deployment recommendation.
Robotics relevance
Minimizing parser and plugin dependencies makes edge-robot deployments easier to validate, migrate, and recover under strict latency constraints.
Day 6/42 — Phase 1: ONNX one-on-one fundamentals
Objective
Distinguish ONNX functions from custom operators and assess their portability to NVIDIA TensorRT and TensorRT-RTX.
Concept
An ONNX function provides a reusable graph body composed of other operators. A custom operator introduces a domain/operator contract that TensorRT must recognize through parser support or a plugin. A custom op carrying a standard-ONNX function body may be expanded before TensorRT parsing; a custom op without an expandable body creates a deployment dependency.
Tasks (30–60 minutes)
ruiren/tensorRT-mobius.docs/execution_providers.md.EpCapabilitiesand_register_builtins()insrc/mobius/_execution_providers.py, focusing onsupports_skip_layer_normand thetrt-rtxentry.ir.Functionfallbackonnx-standardproactively removes custom-domain dependencies.Deliverable
Add a comment to this issue containing:
No Mobius source-code change is required for this lesson.
Verification
Your answer must correctly state that:
ir.Functionbodies can express an operator using standard graph operationsonnx-standardproactively removes custom-domain dependenciesCompletion criteria
The comparison clearly separates graph representation from runtime support and gives a defensible TensorRT deployment recommendation.
Robotics relevance
Minimizing parser and plugin dependencies makes edge-robot deployments easier to validate, migrate, and recover under strict latency constraints.