See this page: https://www.tensorflow.org/install/pip#windows-wsl2_1
Tensorflow 2.10 was the last version to be supported natively for GPU support on Windows. You must use Windows WSL2 (windows subsystem for linux) and follow the instructions on the page above.