vfdff commented on issue #17558:
URL: https://github.com/apache/tvm/issues/17558#issuecomment-2559807535

   I try to build the tvm base on source on gpu machine (83), 
   (venv3) 
root@d00469708debug6-7c75445547-frh8j:/usr1/project/zhongyunde/source/tvm/cmake#
 git diff .
   ```
   diff --git a/cmake/config.cmake b/cmake/config.cmake
   index 791751a..a2e293a 100644
   --- a/cmake/config.cmake
   +++ b/cmake/config.cmake
   @@ -46,7 +46,7 @@
    # - ON: enable CUDA with cmake's auto search
    # - OFF: disable CUDA
    # - /path/to/cuda: use specific path to cuda toolkit
   -set(USE_CUDA OFF)
   +set(USE_CUDA ON)
    
    # Whether to enable NCCL support:
    # - ON: enable NCCL with cmake's auto search
   @@ -158,7 +158,8 @@ set(USE_PROFILER ON)
    # - OFF: disable llvm, note this will disable CPU codegen
    #        which is needed for most cases
    # - /path/to/llvm-config: enable specific LLVM when multiple llvm-dev is 
available.
   -set(USE_LLVM OFF)
   +set(USE_LLVM "/usr/bin/llvm-config --link-static")
   +set(HIDE_PRIVATE_SYMBOLS ON)
    
    # Whether use MLIR to help analyze, requires USE_LLVM is enabled
    # Possible values: ON/OFF
   @@ -307,7 +308,7 @@ set(USE_CLML_GRAPH_EXECUTOR OFF)
    set(USE_ANTLR OFF)
    
    # Whether use Relay debug mode
   -set(USE_RELAY_DEBUG OFF)
   +set(USE_RELAY_DEBUG ON)
   ```
   
   and It is surprised that finally there is only libtvm_runtime.so and no 
libtvm.so under the build ?
   https://github.com/apache/tvm/issues/17562
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to