The error is only raised after 1.18. I tried 1.17.3, and it works fine.
onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Non-zero status code returned while running Loop node. Name:'/Loop' Status Message: Non-zero status code returned while running ScatterND node. Name:'/ScatterND_10' Status Message: invalid indice found, indice = 8
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
Describe the issue
The error is only raised after 1.18. I tried 1.17.3, and it works fine.
onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Non-zero status code returned while running Loop node. Name:'/Loop' Status Message: Non-zero status code returned while running ScatterND node. Name:'/ScatterND_10' Status Message: invalid indice found, indice = 8
To reproduce
(1) With the uploaded ONNX file test_index_put_loop.zip
(2) From PyTorch
Urgency
Ths is spotted in PyTorch converter test case.
Platform
Linux
OS Version
VERSION="2.0.20240301" MARINER
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
798cea2350a196a67ff7e0621ea125c7f2035f7c
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response