docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/orgs/docker/projects/51
Creative Commons Zero v1.0 Universal
1.74k stars 261 forks source link

Add support for GPU on Windows to Docker Desktop Kubernetes #654

Open ShuaiShao93 opened 7 months ago

ShuaiShao93 commented 7 months ago

Tell us about your request It looks like Docker Desktop supports GPU on Windows with WSL2, but the Kubernetes in it doesn't

Which service(s) is this request for? Kubernetes in Docker Desktop

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? We want to run a local k8s cluster on Windows workstation, but there is no way to use its GPU

Are you currently working around the issue? No

peter-wangxu commented 6 months ago

Looking forward to.. which benefit the AI workloads running on docker-desktop with kubernetes

luancaarvalho commented 1 month ago

Hello guys !

Do you know if the Kubernetes deployed by the docker desktop continue without support for GPU?

beneiltis commented 1 month ago

Yeah i also wonder why this couldnt be a usecase without WSL2. It would be great to utilze my GPU as easy as i can make use of my Docker Desktop Kubernetes.

ospf2fullstack commented 1 week ago

Yes.. desktop PC's don't support TCC mode, which is what kubernetes is looking for, but in my case, WDDM is enforced and cannot be overwritten while a display is attached... As soon as I run kubectl label node docker-desktop nvidia.com/gpu.present=true --overwrite, it reverts back to false and I believe it's due to the mode being enforced.

   Driver Model
        Current                           : WDDM
        Pending                           : WDDM
trylovetom commented 1 week ago

Is there any update? Otherwise, I’ll have to switch to using Minikube.