I can find GPU on my Windows 11, but cannot run it in Jupyter Notebook

I’ve succeeded to find the GPU:0


but I’m not getting this in the Jupyter Notebook:


What’s going wrong here and how can I fix it ?

TensorFlow stopped support for GPUs under Native Windows with version 2.10. I’d recommend running your TensorFlow environment in a Docker container or through WSL. You can see Install TensorFlow 2 for instructions on how to do these.

Personally, I set up a container for myself using Docker for Windows and built around the tensorflow/tensorflow:latest-gpu-jupyter image that I start and stop when I need to do TensorFlow work locally. Because the docker image was built on top of Ubuntu Linux, it gets around the GPU support cutoff, and running from a container keeps the environment separate from other development environments.