Skip to content

Instantly share code, notes, and snippets.

@julie-is-late
Created January 15, 2020 20:25
Show Gist options
  • Save julie-is-late/5cf3705ec06c39256766077101c344fb to your computer and use it in GitHub Desktop.
Save julie-is-late/5cf3705ec06c39256766077101c344fb to your computer and use it in GitHub Desktop.
~ jshap@seme
> docker run --rm --gpus all -it nvidia/cuda:10.2-base
Unable to find image 'nvidia/cuda:10.2-base' locally
10.2-base: Pulling from nvidia/cuda
7ddbc47eeb70: Pull complete
c1bbdc448b72: Pull complete
8c3b70e39044: Pull complete
45d437916d57: Pull complete
d8f1569ddae6: Pull complete
902fc5ce8229: Pull complete
ae1bb79c5cfc: Pull complete
Digest: sha256:15fc2f88d247eaa8781f6d3d01613250771ac9394e4543257f2bba5610b96974
Status: Downloaded newer image for nvidia/cuda:10.2-base
root@ec1c179a5772:/# nvidia-smi
Wed Jan 15 20:25:29 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.44 Driver Version: 440.44 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 TITAN Xp Off | 00000000:09:00.0 Off | N/A |
| 23% 31C P8 17W / 250W | 2MiB / 12188MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
root@ec1c179a5772:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment