microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.41k stars 2.89k forks source link

RUNTIME_EXCEPTION : Non-zero status code returned while running Mul node. Name:'Mul_5' #12595

Closed SineStriker closed 2 years ago

SineStriker commented 2 years ago

Describe the bug A clear and concise description of what the bug is. To avoid repetition please make sure this is not one of the known issues mentioned on the respective release page.

System information

To Reproduce

Expected behavior A clear and concise description of what you expected to happen. No Error.

Screenshots If applicable, add screenshots to help explain your problem.

2022-08-16 00:07:27.3322084 [E:onnxruntime:, sequential_executor.cc:368 onnxruntime::SequentialExecutor::Execute] Non-zero status code returned while running Mul node. Name:'Mul_5' Status Message: D:\a\_work\1\s\onnxruntime\core/providers/cpu/math/element_wise_ops.h:503 onnxruntime::BroadcastIterator::Init axis == 1 || axis == largest was false. Attempting to broadcast an axis by a dimension other than 1. 967 by 968

Traceback (most recent call last):
  File "C:\Users\truef\Documents\GitHub\DiffSinger\onnx_test_hifigan_pe.py", line 99, in <module>
    out = infer_ins.infer_once(c)
  File "C:\Users\truef\Documents\GitHub\DiffSinger\inference\svs\base_svs_infer.py", line 235, in infer_once
    output = self.forward_model(inp)
  File "C:\Users\truef\Documents\GitHub\DiffSinger\onnx_test_hifigan_pe.py", line 68, in forward_model
    f0 = self.pe2.run(None,
  File "C:\CodeEnv\miniconda3\envs\dfs\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 200, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Mul node. Name:'Mul_5' Status Message: D:\a\_work\1\s\onnxruntime\core/providers/cpu/math/element_wise_ops.h:503 onnxruntime::BroadcastIterator::Init axis == 1 || axis == largest was false. Attempting to broadcast an axis by a dimension other than 1. 967 by 968

Additional context Add any other context about the problem here. If the issue is about a particular model, please share the model details as well to facilitate debugging.

f-izzat commented 1 year ago

How did you solve this? @SineStriker