i am trying to use pretrained model ESRGAN, i've clone the repo from github and downloaded weights from Gdrive but when i am trying to run my script it gives me and error
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
How can I invoke my M2 Gpu for deep learning Projects