{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/8785","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/8785/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/8785/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/8785/events","html_url":"https://github.com/pytorch/pytorch/issues/8785","id":334807470,"node_id":"MDU6SXNzdWUzMzQ4MDc0NzA=","number":8785,"title":"[caffe2]Insufficient cuda driver. Cannot use cuda","user":{"login":"danache","id":10570729,"node_id":"MDQ6VXNlcjEwNTcwNzI5","avatar_url":"https://avatars2.githubusercontent.com/u/10570729?v=4","gravatar_id":"","url":"https://api.github.com/users/danache","html_url":"https://github.com/danache","followers_url":"https://api.github.com/users/danache/followers","following_url":"https://api.github.com/users/danache/following{/other_user}","gists_url":"https://api.github.com/users/danache/gists{/gist_id}","starred_url":"https://api.github.com/users/danache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danache/subscriptions","organizations_url":"https://api.github.com/users/danache/orgs","repos_url":"https://api.github.com/users/danache/repos","events_url":"https://api.github.com/users/danache/events{/privacy}","received_events_url":"https://api.github.com/users/danache/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pjh5","id":6456020,"node_id":"MDQ6VXNlcjY0NTYwMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/6456020?v=4","gravatar_id":"","url":"https://api.github.com/users/pjh5","html_url":"https://github.com/pjh5","followers_url":"https://api.github.com/users/pjh5/followers","following_url":"https://api.github.com/users/pjh5/following{/other_user}","gists_url":"https://api.github.com/users/pjh5/gists{/gist_id}","starred_url":"https://api.github.com/users/pjh5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjh5/subscriptions","organizations_url":"https://api.github.com/users/pjh5/orgs","repos_url":"https://api.github.com/users/pjh5/repos","events_url":"https://api.github.com/users/pjh5/events{/privacy}","received_events_url":"https://api.github.com/users/pjh5/received_events","type":"User","site_admin":false},"assignees":[{"login":"pjh5","id":6456020,"node_id":"MDQ6VXNlcjY0NTYwMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/6456020?v=4","gravatar_id":"","url":"https://api.github.com/users/pjh5","html_url":"https://github.com/pjh5","followers_url":"https://api.github.com/users/pjh5/followers","following_url":"https://api.github.com/users/pjh5/following{/other_user}","gists_url":"https://api.github.com/users/pjh5/gists{/gist_id}","starred_url":"https://api.github.com/users/pjh5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjh5/subscriptions","organizations_url":"https://api.github.com/users/pjh5/orgs","repos_url":"https://api.github.com/users/pjh5/repos","events_url":"https://api.github.com/users/pjh5/events{/privacy}","received_events_url":"https://api.github.com/users/pjh5/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-06-22T09:22:45Z","updated_at":"2018-06-23T07:49:56Z","closed_at":null,"author_association":"NONE","body":"If you have a question or would like help and support, please ask at our\r\n[forums](https://discuss.pytorch.org/).\r\n\r\n## Issue description\r\n\r\nI build caffe2 with python 3.5, cuda 9, cudnn 7 with Driver Version: 390.30: \r\n\r\nbut when I try to run this line\r\n\r\n`python caffe2/python/operator_test/relu_op_test.py`\r\nthe out message shows that \r\n\r\n0622 16:52:53.349123 55004 common_gpu.cc:46] Insufficient cuda driver. Cannot use cuda.\r\n\r\ncould someone tells me that how can I run caffe2 with cuda?\r\n"},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/399648783","html_url":"https://github.com/pytorch/pytorch/issues/8785#issuecomment-399648783","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/8785","id":399648783,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTY0ODc4Mw==","user":{"login":"danache","id":10570729,"node_id":"MDQ6VXNlcjEwNTcwNzI5","avatar_url":"https://avatars2.githubusercontent.com/u/10570729?v=4","gravatar_id":"","url":"https://api.github.com/users/danache","html_url":"https://github.com/danache","followers_url":"https://api.github.com/users/danache/followers","following_url":"https://api.github.com/users/danache/following{/other_user}","gists_url":"https://api.github.com/users/danache/gists{/gist_id}","starred_url":"https://api.github.com/users/danache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danache/subscriptions","organizations_url":"https://api.github.com/users/danache/orgs","repos_url":"https://api.github.com/users/danache/repos","events_url":"https://api.github.com/users/danache/events{/privacy}","received_events_url":"https://api.github.com/users/danache/received_events","type":"User","site_admin":false},"created_at":"2018-06-23T07:49:56Z","updated_at":"2018-06-23T07:49:56Z","author_association":"NONE","body":"the nvidia-smi result is :\r\nSat Jun 23 15:45:21 2018\r\n+-----------------------------------------------------------------------------+\r\n| NVIDIA-SMI 390.30                 Driver Version: 390.30                    |\r\n|-------------------------------+----------------------+----------------------+\r\n| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |\r\n| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |\r\n|===============================+======================+======================|\r\n|   0  GeForce GTX 108...  Off  | 00000000:00:10.0 Off |                  N/A |\r\n| 29%   23C    P8    15W / 250W |     10MiB / 11178MiB |      0%      Default |\r\n+-------------------------------+----------------------+----------------------+\r\n\r\n+-----------------------------------------------------------------------------+\r\n| Processes:                                                       GPU Memory |\r\n|  GPU       PID   Type   Process name                             Usage      |\r\n|=============================================================================|\r\n|  No running processes found                                                 |\r\n+-----------------------------------------------------------------------------+\r\n\r\nand I compile the caffe2 with the command:\r\ncmake -DCUDA_TOOLKIT_ROOT_DIR=/unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/ ..\r\nand the LD_LIBRARY_PATH is : \r\n/unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/:/unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64:/usr/local/lib:/usr/local/nvidia/lib64\r\n\r\nand the message when I run cmake:\r\n******** Summary ********\r\n-- General:\r\n--   CMake version         : 3.5.1\r\n--   CMake command         : /usr/bin/cmake\r\n--   Git version           : v0.1.11-8987-g7fa81d6-dirty\r\n--   System                : Linux\r\n--   C++ compiler          : /usr/bin/c++\r\n--   C++ compiler version  : 5.4.0\r\n--   BLAS                  : Eigen\r\n--   CXX flags             :  -fvisibility-inlines-hidden -DONNX_NAMESPACE=onnx_c2 -O2 -fPIC -Wno-narrowing -Wno-invalid-partial-specialization -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wn\r\no-typedef-redefinition -Wno-unknown-warning-option -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-private-field -Wno-unused-result -Wno-incons\r\nistent-missing-override -Wno-aligned-allocation-unavailable -Wno-error=deprecated-declarations\r\n--   Build type            : Release\r\n--   Compile definitions   :\r\n--   CMAKE_PREFIX_PATH     :\r\n--   CMAKE_INSTALL_PREFIX  : /usr/local\r\n--\r\n--   BUILD_CAFFE2          : ON\r\n--   BUILD_ATEN            : OFF\r\n--   BUILD_BINARY          : ON\r\n--   BUILD_CUSTOM_PROTOBUF : ON\r\n--     Link local protobuf : ON\r\n--   BUILD_DOCS            : OFF\r\n--   BUILD_PYTHON          : ON\r\n--     Python version      : 3.5.2\r\n--     Python includes     : /usr/include/python3.5m\r\n--   BUILD_SHARED_LIBS     : ON\r\n--   BUILD_TEST            : OFF\r\n--   USE_ASAN              : OFF\r\n--   USE_ATEN              : OFF\r\n--   USE_CUDA              : ON\r\n--     CUDA static link    : OFF\r\n--     USE_CUDNN           : ON                                                                                                                                                                        [5758/5940]\r\n--     CUDA version        : 9.0\r\n--     cuDNN version       : 7.0.5\r\n--     CUDA root directory : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/\r\n--     CUDA library        : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64/stubs/libcuda.so\r\n--     cudart library      : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64/libcudart_static.a;-pthread;dl;/usr/lib/x86_64-linux-gnu/librt.so\r\n--     cublas library      : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64/libcublas.so;/unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64/libcublas_device.a\r\n--     cufft library       : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64/libcufft.so\r\n--     curand library      : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64/libcurand.so\r\n--     cuDNN library       : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64/libcudnn.so\r\n--     nvrtc               : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/lib64/libnvrtc.so\r\n--     CUDA include path   : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/include\r\n--     NVCC executable     : /unsullied/sharefs/xiaotianzi/save/cuda-9.0/cuda/bin/nvcc\r\n--     CUDA host compiler  : /usr/bin/cc\r\n--     USE_TENSORRT        : OFF\r\n--   USE_ROCM              : OFF\r\n--   USE_EIGEN_FOR_BLAS    : ON\r\n--   USE_FFMPEG            : OFF\r\n--   USE_GFLAGS            : ON\r\n--   USE_GLOG              : ON\r\n--   USE_GLOO              : ON\r\n--     USE_GLOO_IBVERBS    : OFF\r\n--   USE_LEVELDB           : ON\r\n--     LevelDB version     : 1.18\r\n--     Snappy version      : 1.1.3\r\n--   USE_LITE_PROTO        : OFF\r\n--   USE_LMDB              : ON\r\n--     LMDB version        : 0.9.17\r\n--   USE_METAL             : OFF\r\n--   USE_MKL               :\r\n--   USE_MOBILE_OPENGL     : OFF\r\n--   USE_MPI               : ON\r\n--   USE_NCCL              : ON\r\n--     USE_SYSTEM_NCCL     : OFF\r\n--   USE_NERVANA_GPU       : OFF\r\n--   USE_NNPACK            : ON\r\n--   USE_OBSERVERS         : ON\r\n--   USE_OPENCL            : OFF\r\n--   USE_OPENCV            : ON\r\n--     OpenCV version      : 2.4.9.1\r\n--   USE_OPENMP            : OFF\r\n--   USE_PROF              : OFF\r\n--   USE_REDIS             : OFF\r\n--   USE_ROCKSDB           : OFF\r\n--   USE_ZMQ               : OFF\r\n--   Public Dependencies  : Threads::Threads;gflags;glog::glog\r\n--   Private Dependencies : nnpack;cpuinfo;/usr/lib/x86_64-linux-gnu/liblmdb.so;/usr/lib/x86_64-linux-gnu/libleveldb.so;/usr/lib/x86_64-linux-gnu/libsnappy.so;/usr/lib/x86_64-linux-gnu/libnuma.so;opencv_core;op\r\nencv_highgui;opencv_imgproc;/usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so;gloo;gcc_s;gcc;dl\r\n-- Configuring done\r\n-- Generating done\r\n\r\n-- Build files have been written to: /home/xiaotianzi/save2/pytorch/build"}}
{"actor":{"display_login":"danache"}}