Lunderberg commented on PR #16335:
URL: https://github.com/apache/tvm/pull/16335#issuecomment-1893930445

   It looks like cmake's GPU detection isn't perfect (tested with cmake 
`3.26.4` and `3.27.7`), and this can cause the following error to occur when 
trying to determine the cuda architectures to use.
   
   ```
   CMake Error in CMakeLists.txt:                                    
     CUDA_ARCHITECTURES is set to "native", but no GPU was detected. 
   ```
   
   I don't have a good long-term solution for this issue, but a current 
workaround is to explicitly call `set(CMAKE_CUDA_ARCHITECTURES 75)` in your 
`config.cmake`.
   


-- 
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-unsubscr...@tvm.apache.org

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

Reply via email to