Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pretty print error message when onnx wheel not available (#359)
In the case where a user is using python 3.10 and has requested to build with ``smart build --onnx`` there is no compliant onnx wheel for python 3.10 for the ORT backend installed by default for RAI. This was leading to a SetupError being raised, and eventually exposing itself to the user. This will handle that raised exception and pretty print the error message before exiting with a non-zero exit code. [ committed by @MattToast ] [ reviewed by @al-rigazzi ]
- Loading branch information