Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install CUDA 10.2 #12

Closed
sopsos opened this issue Oct 26, 2020 · 5 comments
Closed

Cannot install CUDA 10.2 #12

sopsos opened this issue Oct 26, 2020 · 5 comments

Comments

@sopsos
Copy link
Contributor

sopsos commented Oct 26, 2020

Steps to reproduce:

  1. Install fresh Ubuntu 18.04
  2. Clone the FastMOT repo
  3. Execute line by line of script https://github.com/GeekAlexis/FastMOT/blob/master/scripts/install_tensorrt.sh
  4. Right after line 27, it definitely installs cuda-10-2. See:
aptitude search cuda
p   boinc-client-nvidia-cuda                                                                  - metapackage for CUDA-savvy BOINC client and manager                                                 
p   caffe-cuda                                                                                - Fast, open framework for Deep Learning (Meta)                                                       
p   caffe-tools-cuda                                                                          - Tools for fast, open framework for Deep Learning (CUDA)                                             
i   cuda                                                                                      - CUDA meta-package                                                                                   
p   cuda-10-0                                                                                 - CUDA 10.0 meta-package                                                                              
p   cuda-10-1                                                                                 - CUDA 10.1 meta-package                                                                              
i A cuda-10-2                                                                                 - CUDA 10.2 meta-package                                                                              
p   cuda-11-0                                                                                 - CUDA 11.0 meta-package                                                                              
p   cuda-11-1                                                                                 - CUDA 11.1 meta-package      

But when running nvidia-smi, it shows:

NVIDIA-SMI 455.32.00    Driver Version: 455.32.00    CUDA Version: 11.1

I have a Tesla T4

@GeekAlexis
Copy link
Owner

What is the output of nvcc -V?

@sopsos
Copy link
Contributor Author

sopsos commented Oct 26, 2020

$ nvcc -V
Command 'nvcc' not found, but can be installed with:
apt install nvidia-cuda-toolkit
Please ask your administrator.

Your installation script does not install nvcc

@sopsos
Copy link
Contributor Author

sopsos commented Oct 26, 2020

$ /usr/local/cuda/bin/nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89

It does install CUDA in /usr/local, though. Not sure which one is your intention to install

@GeekAlexis
Copy link
Owner

GeekAlexis commented Oct 26, 2020 via email

@sopsos
Copy link
Contributor Author

sopsos commented Oct 27, 2020

Thanks. 66eb7a3 fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants