Ask Your Question
4

What does it mean when CUDA version is not available and torch.cuda.is_available returns False while using GPU in a Docker container?

asked 2023-01-05 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-09-24 21:00:00 +0000

scrum gravatar image

This means that there is no CUDA library installed in the Docker container, which is required for GPU acceleration. As a result, the torch.cuda.is_available function returns False, indicating that PyTorch is unable to detect the presence of a GPU. To use a GPU, you need to install the CUDA library in the Docker container.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-01-05 11:00:00 +0000

Seen: 8 times

Last updated: Sep 24 '22