[EXT_EP-13223] TVM ONNX frontend fails with ONNX 1.20 Created: 17/Feb/26  Updated: 17/Feb/26  Resolved: 17/Feb/26

Status: Fixed
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: TI User Assignee: TI User
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-14981
Found In Release: MCU_NNC_2.1.0
Fix In Release: MCU_NNC_2.1.1
Affected Platform/Device: default

 Description   

When using ModelMaker with ONNX version 1.20, TVM compiler runs into issue: No module named onnx.mapping

Root cause: onnx.mapping has been deprecated and removed in ONNX 1.20. The new interface is in onnx.helper:

old: from onnx.mapping import TENSOR_TYPE_TO_NP_TYPE
new: https://onnx.ai/onnx/api/helper.html#onnx.helper.tensor_dtype_to_np_dtype

This fix is to update TVM ONNX frontend to work with ONNX 1.20.


Generated at Wed Aug 26 06:03:24 CDT 2026 using Jira 10.3.7#10030007-sha1:a563685562f94d165eb4e158cfb2a142338d8c54.