Torch doesnt recognize gpu

i need torch to use my gpu but no matter what i do it doesnt recognize it with torch.cuda.is_available() i get false
I tried reinstalling pytorch with:
conda uninstall pytorch torchvision torchaudio cudatoolkit
conda install pytorch torchvision torchaudio cudatoolkit=11.2 -c pytorch -c conda-forge
I don’t know what to do anymore

May be a dumb question, but are you sure you have a GPU that is supported?

Where did you get this command from?
I don’t think the PyTorch binaries were build with 11.2, so you should stick to the supported install commands from our website.