Noob over his head. Please help

This is way beyond me, I won’t bore you with details but I only tried to install PyTorch because it’s required for an addon to a miniconda program & might improve that program. This is my first time with miniconda and I’m trying to run it on a windows machine. PyTorch might be needed for the actual program itself, I’m not 100% clear on that.

The program on Github gave me this link

I used the “conda install pytorch” for Cuda 12.1 in Windows and I verified that’s the version of Cuda I have, but because I’m a noob I tried using the CMD command prompt to install it directly into my Cuda folder. If someone can tell me if this is going to cause problems I’d appreciate it. And also if I can just go into the Cuda folder and delete it or if it’s more complicated.

Anyway, that’s not really the main issue. When the program wouldn’t work I went to https://pytorch.org/ and installed it from the windows command console but the program (liveportrait) still wont run, and some simple game animations are now running slow on my computer. I chose the wrong Options.

So my first real question is, can I just keep trying different options till I get it right?
Simplified, if I try to reinstall will it overwrite my last install through the windows prompt, or do I have to uninstall first?

Also, if anyone is familiar with LivePortrait and can tell me if PyTorch is a requirement of LivePortrait or just a requirement of X-Pose or any of the other LivePortrait addons available through Comfyui, that would also be a big help. If LivePortrait or it’s other addons don’t need PyTorch then all I have to do is figure out how to uninstall PyTorch and I’ll be out of your hair :smiley:

Sorry for the Noob question, but any help would be appreciated.

For anyone reading this, I think I made some progress… maybe… possibly… I don’t know. lol

When I try installing the Conda version, it says “All requested packages already installed.”

When I try installing the PIP version it gives a list of requirements and for each it tells me “Requirement already satisfied”

So I think I have both installed, I just need to figure out which one to uninstall. Hopefully that will fix it. When I try to run LivePortrait I get this error message.
File “C:\Users\Paul\miniconda3\envs\liveportrait\lib\site-packages\torch\cuda_init_.py”, line 305, in _lazy_init
raise AssertionError(“Torch not compiled with CUDA enabled”)
AssertionError: Torch not compiled with CUDA enabled

I’m running windows, I have mini conda installed as well as with python
I did paths for both in the environment window. (If I’m leaving something out, please let me know)

When I’m in the control panel in the Live Portrait folder (by typing cmd) and I type in “conda activate liveportrait”, it works. So I guess mini conda is working.

After I activate liveportrait with that command then type in “python app.py” to launch it, I get the error message I mentioned earlier “AssertionError: Torch not compiled with CUDA enabled”

When I type “print(torch.version)” I get “Unable to initialize device PRN”

When I type “print torch.cuda.is_available” I get the same “Unable to initialize device PRN” message

When I type “print python program.py” I get the same “Unable to initialize device PRN” message

So I’m guessing all this means that I have to uninstall one of the PyTorch installs. Can someone please tell me which one I have to uninstall please?

Nevermind, I just figured out how to uninstall everything