After I updated pytorch, it doesn’t support my GPU anymore(3.5 compute compatibility) so I uninstalled and have been trying to install from source from this 1.

python setup.py install

Using this code, my system freezes when the build starts.
Do I need to adjust build options? I do not know what to change.
Will I be facing any issue if I install previous version of pytorch which was compatible for my gpu?
Any help appreciated. Thanks
system information:
OS: Ubuntu 18.04
RAM: 8GB
CPU: Intel® Core™ i5-5200U CPU @ 2.20GHz
GPU: GeForce 920M 2GB
NVIDIA driver: 440.33.01
cuda: 10.2