-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve tvmc error message from lazy-loading frontend imports
When installing TVM from the python package, the Frontend frameworks dependencies such as TensorFlow, PyTorch, ONNX, etc, are not installed by default. In case a user tries to run tvmc using a model whose framework was not installed, it will be presented with a very raw Python exception in the output. The aim of this commit is to implement a better error messages for errors related to lazy-loading frontend frameworks in tvmc. Change-Id: Ida52fac4116af392ee436390e14ea02c7090cef0
- Loading branch information
1 parent
d9aae9c
commit 8c23001
Showing
2 changed files
with
117 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters