Are you using the base environment?
Usually, it is recommended to create different environments for different projects, to avoid conflicts between packages.
So you could create a new environment and install immediately pytorch, then all the other packages.
Nevertheless, I don’t think the problem is caused by pytorch in this case. NCLL is an NVIDIA library, so maybe you could try to uninstall and install CUDA again.
My suggestion is:
create a new environment first, install immediately pytorch, then all the other packages you need for your project, and see if it works. Otherwise, try to install also cuda again.
Check this CONDA CHEAT SHEET 1 to see how to create a new env and activate it.