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/09/08 10:39:28 UTC

[GitHub] [tvm] leandron opened a new issue, #12736: [Bug] USE_LIBTORCH is disabled in all builds

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

   On my journey in enabling Integration tests in AArch64, I stumbled upon `ctypes.tests.python.contrib.test_libtorch_ops.test_backend`, which crashes running integration tests on machines with torch installed.
   
   The reason for that, is because TVM was not compiled with `USE_LIBTORCH ON`, and therefore the relevant sources won't be compiled into the output TVM libs. I am opening this as a tracking issue to enable USE_LIBTORCH, so that corresponding test(s) don't get stale.
   
   This is also related to #12529, in which we probably want to enable Integration tests in CI_GPU.
   
   In my view we need to:
   
   - [ ] Document USE_LIBTORCH in our example `config.cmake`
   - [ ] Activate USE_LIBTORCH in the build config script (the [AArch64](https://github.com/apache/tvm/blob/cd99ca64cb2416219215745c1d478b86776378ed/tests/scripts/task_config_build_arm.sh) seems the best positioned as of now)
   


-- 
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] cchung100m commented on issue #12736: [Bug] USE_LIBTORCH is disabled in all builds

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

   Hi @leandron 
   
   Do we finish the fix now? I think we can close this issue if the answer is yes.


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