Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: Package Request: nvidia-docker
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11084@inbox.vuxu.org>
@ 2022-05-01 19:36 ` nuxion
  2022-05-01 19:53 ` nuxion
  2022-06-20 17:52 ` [ISSUE] [CLOSED] " classabbyamp
  2 siblings, 0 replies; 3+ messages in thread
From: nuxion @ 2022-05-01 19:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]

New comment by nuxion on void-packages repository

https://github.com/void-linux/void-packages/issues/11084#issuecomment-1114317975

Comment:
Hi! I tried this branch to install `nvidia-docker` package. It was succesfully installed but when I run the basic test command:
`docker run --gpus all nvidia/cuda:12.0-base nvidia-smi` 
it's fail with:
```
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
ERRO[0000] error waiting for container: context canceled
```
I don't have any problem running nvidia-smi outside docker context:
```
nvidia-smi
Sun May  1 16:29:02 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.60.02    Driver Version: 510.60.02    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:03:00.0  On |                  N/A |
|  0%   49C    P0    32W / 120W |    290MiB /  6144MiB |      4%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       989      G   /usr/libexec/Xorg                 157MiB |
|    0   N/A  N/A      4028      G   firefox                           120MiB |
|    0   N/A  N/A      4759      G   alacritty                           8MiB |
```
I tested different versions of nvidia/cuda image (9, 10 and 11) , none of them worked. Any idea or sugestion? Thanks in advance for making this package available.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Package Request: nvidia-docker
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11084@inbox.vuxu.org>
  2022-05-01 19:36 ` Package Request: nvidia-docker nuxion
@ 2022-05-01 19:53 ` nuxion
  2022-06-20 17:52 ` [ISSUE] [CLOSED] " classabbyamp
  2 siblings, 0 replies; 3+ messages in thread
From: nuxion @ 2022-05-01 19:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]

New comment by nuxion on void-packages repository

https://github.com/void-linux/void-packages/issues/11084#issuecomment-1114317975

Comment:
Hi! I tried this branch to install `nvidia-docker` package. It was succesfully installed but when I run the basic test command:
`docker run --gpus all nvidia/cuda:12.0-base nvidia-smi` 
it's fail with:
```
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
ERRO[0000] error waiting for container: context canceled
```
I don't have any problem running nvidia-smi outside docker context:
```
nvidia-smi
Sun May  1 16:29:02 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.60.02    Driver Version: 510.60.02    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:03:00.0  On |                  N/A |
|  0%   49C    P0    32W / 120W |    290MiB /  6144MiB |      4%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       989      G   /usr/libexec/Xorg                 157MiB |
|    0   N/A  N/A      4028      G   firefox                           120MiB |
|    0   N/A  N/A      4759      G   alacritty                           8MiB |
```
I tested different versions of nvidia/cuda image (9, 10 and 11) , none of them worked. Any idea or sugestion? Thanks in advance for making this package available.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] Package Request: nvidia-docker
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11084@inbox.vuxu.org>
  2022-05-01 19:36 ` Package Request: nvidia-docker nuxion
  2022-05-01 19:53 ` nuxion
@ 2022-06-20 17:52 ` classabbyamp
  2 siblings, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-06-20 17:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

Closed issue by voidlinux4life on void-packages repository

https://github.com/void-linux/void-packages/issues/11084

Description:
https://github.com/NVIDIA/nvidia-docker

NVIDIA designed NVIDIA-Docker in 2016 to enable portability in Docker images that leverage NVIDIA GPUs. It allowed driver agnostic CUDA images and provided a Docker command line wrapper that mounted the user mode components of the driver and the GPU device files into the container at launch.

https://devblogs.nvidia.com/gpu-containers-runtime/

The list of prerequisites for running nvidia-docker 2.0 is described below.
For information on how to install Docker for your Linux distribution, please refer to the Docker documentation.
- GNU/Linux x86_64 with kernel version > 3.10
- Docker >= 1.12
- NVIDIA GPU with Architecture > Fermi (2.1)
- NVIDIA drivers ~= 361.93 (untested on older versions)

https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-20 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11084@inbox.vuxu.org>
2022-05-01 19:36 ` Package Request: nvidia-docker nuxion
2022-05-01 19:53 ` nuxion
2022-06-20 17:52 ` [ISSUE] [CLOSED] " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).