Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add user-configurable backtrace limit
A spin off of apache#9872, this adds an env variable `TVM_BACKTRACE_LIMIT` which can be set to an integer to limit the frames printed out on errors. This can make it easier to run interactive TVM scripts with errors since the stack traces are often long (70+ frames). ```bash export TVM_BACKTRACE_LIMIT=5 python some_code_with_an_error.py ``` cc @tkonolige
- Loading branch information