DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

WSL 2 GPU Support for Docker Desktop on NVIDIA GPUs

3 years ago www.docker.com
WSL 2 GPU Support for Docker Desktop on NVIDIA GPUs

Summary: This is a summary of an article originally published by the source. Read the full original article here →

It’s been a year since https://www.docker.com/blog/wsl-2-gpu-support-is-here/ on Docker Desktop. At that time, it was necessary to take part in the Windows Insider program, use Beta CUDA drivers, and use a Docker Desktop tech preview build.

Last, the GPU support has been merged in Docker Desktop (in fact since version 3.1).

-t cudafractal $ docker run --gpus=all -ti --rm -v ${PWD}:/tmp/ cudafractal./fractal -n 15 -c test.coeff -m -15 -M 15 -l -15 -L 15

The tensorflow:latest-gpu image can take advantage of the GPU in Docker Desktop.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com