You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/08/05 18:27:08 UTC

[GitHub] [tvm] mikeseven opened a new issue, #12326: [Bug] import tvm before pytorch leads to core dump at the end

mikeseven opened a new issue, #12326:
URL: https://github.com/apache/tvm/issues/12326

   ### Expected behavior
   
   order of import should not matter
   
   ### Actual behavior
   
   ```python
   import tvm
   import torch
   ```
   
   At the end, the application quits with
   ```python
   free(): invalid pointer
   Aborted (core dumped)
   ```
   
   However, importing tvm **after** all other imports works
   ```python
   import torch
   import tvm
   ```
   To reproduce, there is no need to even do anything with tvm in the code!
   
   ### Environment
   
   TVM main branch, same error with latest tags too
   - same error built with or without cuda
   - same error built with `llvm-config --link-static` or without
   
   Ubuntu 20.04, x86 
   tested with clean conda environment with pytorch 1.11 and 1.12 + cudatoolkit
   


-- 
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: commits-unsubscribe@tvm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi commented on issue #12326: [Bug] import tvm before pytorch leads to core dump at the end

Posted by GitBox <gi...@apache.org>.
masahi commented on issue #12326:
URL: https://github.com/apache/tvm/issues/12326#issuecomment-1207278403

   This was discussed in https://github.com/apache/tvm/issues/9362 and mitigation documented in https://github.com/apache/tvm/pull/9433.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] zky001 commented on issue #12326: [Bug] import tvm before pytorch leads to core dump at the end

Posted by "zky001 (via GitHub)" <gi...@apache.org>.
zky001 commented on issue #12326:
URL: https://github.com/apache/tvm/issues/12326#issuecomment-1480870537

   yes I meet same bugs and haven't found true reason


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi closed issue #12326: [Bug] import tvm before pytorch leads to core dump at the end

Posted by GitBox <gi...@apache.org>.
masahi closed issue #12326: [Bug] import tvm before pytorch leads to core dump at the end
URL: https://github.com/apache/tvm/issues/12326


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] mikeseven commented on issue #12326: [Bug] import tvm before pytorch leads to core dump at the end

Posted by GitBox <gi...@apache.org>.
mikeseven commented on issue #12326:
URL: https://github.com/apache/tvm/issues/12326#issuecomment-1209944910

   yes I used this mitigation but it didn't work.
   I sync'd today and rebuild and it now works.... 


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org