pytorch - 💡(How to fix) Fix onnx ut error [5 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#177952Fetched 2026-04-08 01:02:50
View on GitHub
Comments
5
Participants
3
Timeline
20
Reactions
0
Author
Timeline (top)
commented ×5labeled ×5mentioned ×4subscribed ×4
RAW_BUFFERClick to expand / collapse

🐛 Describe the bug

cd test/onnx python test_pytorch_onnx_onnxruntime_cuda.py -k test_arithmetic_bfp16

onnxruntime.capi.onnxruntime_pybind11_state.NotImplemented: [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for Add(14) node with name '/Add'

Versions

torch 2.7.1 onnx 1.17.0 onnxruntime 1.24.4

cc @justinchuby @titaiwangms

extent analysis

Fix Plan

The fix involves updating the ONNX Runtime to a version that supports the Add node with name '/Add' for BFP16 data type.

Steps to Fix

  • Update onnxruntime to the latest version using pip:

pip install --upgrade onnxruntime

* If the issue persists, try updating `onnx` to the latest version:
  ```bash
pip install --upgrade onnx
  • Modify the test script test_pytorch_onnx_onnxruntime_cuda.py to use a supported data type, such as FP

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

pytorch - 💡(How to fix) Fix onnx ut error [5 comments, 3 participants]