trivialfis commented on issue #4953:
URL: https://github.com/apache/incubator-tvm/issues/4953#issuecomment-618348796


   @hcho3 I found the cause:
   
   The dmlc error is thrown from `libtvm.so` instead of `libxgboost.so`, which 
can not be caught by XGBoost.  I believe there's some mixed up in the built 
binary.
   
   ```
   #0  0x00007fffc821853f in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1
   #1  0x00007fffc821a098 in _Unwind_Backtrace () from 
/lib/x86_64-linux-gnu/libgcc_s.so.1
   #2  0x00007ffff7b15168 in __GI___backtrace (array=<optimized out>, 
size=<optimized out>) at ../sysdeps/x86_64/backtrace.c:111
   #3  0x00007fffc8b324fd in dmlc::StackTrace[abi:cxx11](unsigned long, 
unsigned long) () from /home/fis/Workspace/XGBoost/incubator-tvm/build/libtvm.so
   #4  0x00007fffc8b32dbc in dmlc::LogMessageFatal::~LogMessageFatal() () from 
/home/fis/Workspace/XGBoost/incubator-tvm/build/libtvm.so
   #5  0x00007fffb971b4c5 in dh::ThrowOnCudaError 
(code=cudaErrorInsufficientDriver, file=0x7fffb9a82278 
"/workspace/src/common/common.cu", line=14) at 
/workspace/src/c_api/../data/../common/common.h:41
   #6  0x00007fffb972ac75 in xgboost::common::AllVisibleGPUs () at 
/workspace/src/common/common.cu:14
   ```


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