michalpiszczek opened a new pull request #7738:
URL: https://github.com/apache/tvm/pull/7738


   This block in `measure_methods.py` intended to capture CUDA errors caused by 
invalid kernels generated during AutoTuning:
   
   ```Python
       except TVMError as exc:
           msg = str(exc)
           if "Stack trace returned" in msg:
               msg = msg[: msg.index("Stack trace returned")]
           if "CUDA Source" in msg:
               msg = msg[: msg.index("CUDA Source")]
           costs = (RuntimeError(msg[:1024]),)
           errno = MeasureErrorNo.RUNTIME_DEVICE
   ```
   
   but when using `LocalRunner` the cuda errors come through here wrapped in 
`RPCError` not `TVMError`.


-- 
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]


Reply via email to