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

nvidia docker doesn't have nvcc installed? #161

Closed
YuxinxinChen opened this issue Nov 22, 2023 · 3 comments
Closed

nvidia docker doesn't have nvcc installed? #161

YuxinxinChen opened this issue Nov 22, 2023 · 3 comments

Comments

@YuxinxinChen
Copy link

Hi I am using nvidia docker but found there is no nvcc installed inside the container. Here is what I did:

docker pull nvcr.io/nvidia/cuda:12.0.1-base-ubuntu22.04
$ docker run -it --rm nvcr.io/nvidia/cuda:12.0.1-base-ubuntu22.04 /bin/bash
root@ccc9afff5b92:/# nvcc --version
bash: nvcc: command not found

I am doing this on a slurm login node which has no GPU, but the login node has cuda installed though with different version. But I suppose the benefit of a docker container is to allow us use different cuda version easily.

Could you tell me where I did wrong?

Thanks!

@elezar
Copy link
Member

elezar commented Nov 23, 2023

For nvcc you need the nvcr.io/nvidia/cuda:12.0.1-devel-ubuntu22.04 container.

@elezar elezar transferred this issue from NVIDIA/nvidia-docker Nov 27, 2023
@YuxinxinChen
Copy link
Author

Thanks!

@iphysresearch
Copy link

iphysresearch commented May 6, 2024

FROM nvidia/cuda12.3.2-cudnn9-devel-ubuntu22.04 works for me!

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

3 participants