Hi, have you tried to uninstall pytorch before pip install or build from source?
pip uninstall torch -y
pip uninstall torch -y
pip uninstall torch -y
pip uninstall torch -y
pip uninstall torch -y
conda uninstall pytorch -y
conda uninstall pytorch -y
conda uninstall pytorch -y
conda uninstall pytorch -y
conda uninstall pytorch -y

Also, if you build from source, it’s also nice to have python setup.py clean a few times before python setup.py install as well.