FrozenGene opened a new pull request #4340: [CodeGen] Add build config option 
disable_assert to control whether to generate assert
URL: https://github.com/apache/incubator-tvm/pull/4340
 
 
   Currently, we will generate assert stmt, which will make us see many assert 
stmt in LLVM IR. It will Interference our focus. 
   
   The usage is simple:
   ```python
   with tvm.build_config(disable_assert=True):
       tvm.build(...)
   ```
   We will generate assert stmt by default as previous.
   
   Related discuss:
   https://discuss.tvm.ai/t/disable-assert-in-runtime/2152/4
   
   @tqchen 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to