Gpu support in tensorflow issue

i am trying to install tensorflow with gpu support in my laptop with nvidia rtx 4070 but gpu support is not working. i tried to install on native window, wsl2 but not succeeded and now i have also tried on ubuntu but still unsuccessful. guidence is required.