Skip to content

Instantly share code, notes, and snippets.

@marciopuga
Last active July 15, 2019 00:36
Show Gist options
  • Save marciopuga/633ac2b39214bd6faff2ce0b6a0693a9 to your computer and use it in GitHub Desktop.
Save marciopuga/633ac2b39214bd6faff2ce0b6a0693a9 to your computer and use it in GitHub Desktop.
Test if Tensorflow inside a docker container can see nvidia-driver installed in the host
docker run --runtime=nvidia -it --rm tensorflow/tensorflow:latest-gpu-py3 nvidia-smi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment