Error with Older GT710 with cuda capability 3.5 and pytorch

image
C:\Users\Kharanshu.Naghera\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\cuda_init_.py:132: UserWarning:
Found GPU0 NVIDIA GeForce GT 710 which is of cuda capability 3.5.
PyTorch no longer supports this GPU because it is too old.
The minimum cuda capability supported by this library is 3.7.

warnings.warn(old_gpu_warn % (d, name, major, minor, min_arch // 10, min_arch % 10))
[2022-11-21 16:15:41,672] [INFO] Set up nlp object from config
[2022-11-21 16:15:41,687] [INFO] Pipeline: [‘transformer’, ‘ner’]
[2022-11-21 16:15:41,694] [INFO] Created vocabulary
[2022-11-21 16:15:41,696] [INFO] Finished initializing nlp object
Traceback (most recent call last):
File “C:\Users\Kharanshu.Naghera\AppData\Local\Programs\Python\Python37\lib\site-packages\cupy\cuda\compiler.py”, line 66, in _run_cc
universal_newlines=True)
File “C:\Users\Kharanshu.Naghera\AppData\Local\Programs\Python\Python37\lib\subprocess.py”, line 411, in check_output
**kwargs).stdout
File “C:\Users\Kharanshu.Naghera\AppData\Local\Programs\Python\Python37\lib\subprocess.py”, line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[‘C:\Program’, ‘Files\NVIDIA’, ‘GPU’, ‘Computing’, ‘Toolkit\CUDA\v11.8\bin\nvcc.EXE’, ‘-gencode=arch=compute_35,code=sm_35’, ‘–ptx’, ‘-DFIRST_PASS=1’, ‘–std=c++11’, ‘-IC:\Users\Kharanshu.Naghera\AppData\Local\Programs\Python\Python37\lib\site-packages\cupy\_core\include’, ‘-IC:\Users\Kharanshu.Naghera\AppData\Local\Programs\Python\Python37\lib\site-packages\cupy\_core\include\cupy\_cuda\cuda-11’, ‘-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include’, ‘-ftz=true’, ‘C:\Users\KHARAN~1.NAG\AppData\Local\Temp\tmpujlij1rh\preprocess.cu’]’ returned non-zero exit status 1.

The error message:

Found GPU0 NVIDIA GeForce GT 710 which is of cuda capability 3.5.
PyTorch no longer supports this GPU because it is too old.
The minimum cuda capability supported by this library is 3.7.

explains that your GPU is too old and not supported anymore.
You might try to build PyTorch from source for your compute capability 3.5.

thx for reply, i tried buildng it from scratch didn’t work i think i’ll execute everything on cpu