Last active
May 7, 2023 15:02
-
-
Save imneonizer/e0013a8b8b0a124ea2c355dd66d9ceec to your computer and use it in GitHub Desktop.
Nvidia GPU test using docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
services: | |
app: | |
image: nvidia/cuda:11.6.2-base-ubuntu20.04 | |
command: nvidia-smi | |
deploy: | |
resources: | |
reservations: | |
devices: | |
- capabilities: [ gpu ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment