driazati opened a new pull request #10025:
URL: https://github.com/apache/tvm/pull/10025


   A spin off of #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
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to