Docker ドキュメント 全文検索
Results of 1 - 1 of about 1 for tf (0.000 sec.)
- Compose で GPU アクセスの有効化 9414
- Compose で GPU アクセスの有効化 目次 Docker ホストに GPU デバイスが入っており、かつ、 Docker デーモンで適切な設定がある場合、 Compose サービスで GPU デバイス予約を定義できます。このために、 必要条件 のインストールがまだであれば、終えておく必
...PU すべてを使います。 services : test : image : tensorflow/tensorflow:latest-gpu command : python -c "import tensorflow as tf;tf.test.gpu_device_name()" deploy : resources : reservations : devices : - capabilities : [ gpu ] $ docker-compose up Crea...ult" with the default driver Creating gpu_test_1 ... done Attaching to gpu_test_1 test_1 | I tensorflow/stream_executor/platform/default/dso_loader.cc:48 ] Successfully opened dynamic library libcudart.so.10.1 マシン上に複数の GPU を取り付けている場...クセスできるようにする: services : test : image : tensorflow/tensorflow:latest-gpu command : python -c "import tensorflow as tf;tf.test.gpu_device_name()" deploy : resources : reservations : devices : - driver : nvidia device_ids : [ '0' , '3' ] capa... - https://man.mtool.work/docker/24.0/compose/gpu-support.html
PREV
1
NEXT