1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Singularityの--nvオプションのWarningについて

1
Posted at

WARNING内容

SingularityでGPUオプション(--nv)を使用すると以下の警告が出ました.

$ singularity shell --nv chainer_box/
WARNING: Skipping mount /var/run/nvidia-persistenced/socket [files]: /var/run/nvidia-persistenced/socket doesn't exist in container

nvidia関係のツールが足りなさそう...

対応手順

こちらのサイトを参考に対応しました.
NVIDIA Container Toolkit を使って Docker コンテナで GPU を使う

上記のサイトの「NVIDIA Container Toolkit をインストールする」の項目が今回の対応手順になります.コンテナでGPUを利用するときにこれを入れないといけないらしい.

$ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
$ curl -s -L https://nvidia.github.io/nvidia-docker/$(. /etc/os-release;echo $ID$VERSION_ID)/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
$ sudo apt update
$ sudo apt -y install nvidia-container-toolkit
$ sudo reboot

参考文献

NVIDIA Container Toolkit を使って Docker コンテナで GPU を使う

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?