Hi, all, I found there are some failed test cases about frontend when I put new version in my own enviroment. like below:
ONNX: RuntimeError
My onnx runtime version is: 1.15.1
tests/python/relax/test_frontend_onnx.py::test_mean_variance_norm
> sess.initialize_session(providers, provider_options, disabled_optimizers)
E onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: /onnxruntime_src/onnxruntime/core
/providers/cpu/tensor/mean_variance_normalization.h:116 onnxruntime::MeanVarianceNormalization_1<T>::MeanVarianceNormalization_1(const onnxruntime::OpKernelInfo&) [with T = float] M
eanVarianceNormalization CPU EP only supports NHW and NCHW reduction for axes attribute.
Torch: AttributeError: ‘Graph’ object has no attribute ‘find_nodes’
My version: 2.2.1
I found Graph
of my version’s doc has no method find_nodes
. And I found that this problem can be bypassed by using graph.nodes to traverse one by one, but it cannot be bypassed in other areas, such as the newly added data structures in the new version.
Thus, I wanna know whether have a clear version number, such as torch, onnx, etc.