Onnx fronend test failure by segmentation fault

When I tried to run one of the tests test_forward , it stoped working with segmentation fault.

➜ python tests/python/frontend/onnx/test_forward.py
/home/takato.yamada/tkhome/ghq/gitlab.fixstars.com/GENESIS/DNN/tvm/nnvm/python/nnvm/__init__.py:33: FutureWarning: NNVM is deprecated and will be removed in a future version. Use Relay instead.
  FutureWarning)
zsh: segmentation fault  python tests/python/frontend/onnx/test_forward.py

I’ve checked it out then found the fault happens in a function check_model that ONNX module provides

# tvm/python/tvm/relay/frontend/onnx.py:1496
onnx.checker.check_model(model)

Is there anyone who knows about the solution??

This is probably due to a versioning issue of onnx, make sure youre using version 1.5.0 and the master branch of TVM and give it another shot.

@jwfromm Thank you! I found it properly worked now with onnx==1.5.