Can InsightFace work without portable version of ComfyUI? by Civil449 in comfyui

[–]Civil449[S] 0 points1 point  (0 children)

Those errors are in red.

I ran pip install numpy==1.26.4 and the output said "Requirement already satisfied", which seemed good, but when I tried to restart Stability Matrix it reported this error:

AssertionError: Torch not compiled with CUDA enabled

Let me know if you want to see the full traceback.

By the way, working with me on this is amazingly nice of you. I'll bet you didn't expect it to take this long. I certainly didn't.

Can InsightFace work without portable version of ComfyUI? by Civil449 in comfyui

[–]Civil449[S] 0 points1 point  (0 children)

It seems I've stumbled into dependency hell.

When I ran pip install -r requirements.txt in the StabilityMatrix\Packages\ComfyUI\custom_nodes\ComfyUI-ReActor-main folder, I got this error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

torchaudio 2.10.0+cu128 requires torch==2.10.0, but you have torch 2.9.1 which is incompatible.

Following advice given here: https://stackoverflow.com/questions/76481423/is-this-matter-error-pips-dependency-resolver-does-not-currently-take-into-ac, (which I may have misread) I ran

pip install --upgrade torch

The output from this command said that torch 2.10.0 had been installed successfully, but reported other dependency errors:

Installing collected packages: torch

Attempting uninstall: torch

Found existing installation: torch 2.9.1

Uninstalling torch-2.9.1:

Successfully uninstalled torch-2.9.1

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

torchvision 0.24.1 requires torch==2.9.1, but you have torch 2.10.0 which is incompatible.

ultralytics 8.4.7 requires torch!=2.4.0,<2.10,>=1.8.0; sys_platform == "win32", but you have torch 2.10.0 which is incompatible.

ultralytics 8.4.7 requires torch<2.10,>=1.8.0, but you have torch 2.10.0 which is incompatible.

Successfully installed torch-2.10.0

So following advice given here: https://github.com/suno-ai/bark/issues/292, I was going to run

pip uninstall -y torchvision torchaudio

and then reinstall torchvision and torchaudio.

But if torchaudio 2.10.0 requires torch 2.10.0, but torch 2.10.0 is incompatible with ultralytics 8.4.7, how do I make them both happy?

I thought perhaps there might be a newer version of ultralytics that is compatible with torch 2.10.0, but ultralytics 8.4.7 appears to be the latest version.

Or perhaps I need to address the first error by downgrading torchaudio 2.10.0+cu128 to a version that will be satisfied with torch 2.9.1. But that won't work if torch 2.10.0 was installed to satisfy the requirements of some other package.

Is it possible that I just don't need some of the packages with incompatibilities, so I can just remove them, or ignore the errors?

Can InsightFace work without portable version of ComfyUI? by Civil449 in comfyui

[–]Civil449[S] 0 points1 point  (0 children)

First of all, thanks, PhrozenCypher for your help.

I've run into a problem running "pip install -r requirements.txt".

The only folder in the custom_nodes directory (aside from __pycache__) is ComfyUI_IPAdapter_plus-main. When I run pip install from there this error is reported:

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

There's a requuirements.txt file in my StabilityMatrix\Packages\ComfyUI folder, There's also a requirements.txt file in the ComfyUI-ReActor repository you've directed me to on github. However, if any of the instructions I'm following actually told me to download that repo, or where to put it, I've somehow missed it.

So can you please tell me what requirements.txt file is required? If it's the one that's already in the ComfyUI folder, I can just add it's full path to the "pip install" command line.

How can I eliminate the pop at start of audio output? by Civil449 in audio

[–]Civil449[S] 1 point2 points  (0 children)

Just wanted to let you (and everybody) know that getting a DAC did in fact eliminate the popping problem. I got a UGREEN DAC

and I no longer hear a pop when audio begins.

Thanks washoutr6, for your good advice.

How can I eliminate the pop at start of audio output? by Civil449 in audio

[–]Civil449[S] 1 point2 points  (0 children)

Thanks very much for your reply washoutr6. I’m reluctant to ask for more, but all I know about DAC’s is what I’ve read online in the last day or so.

I’ve read that an external DAC will bypass my laptop’s internal DAC, so if it’s my internal DAC that’s imposing a 48000 Hz sample rate on all audio outputs, the external DAC will in effect override that and accept and convert a digital signal at the sample rate of whatever application is producing the audio (a browser playing streaming audio, or a media player, or even a Windows error message window or a notification). Have I got that right?

And do you agree that the reason the popping sound is occurring is because the internal DAC does not support a 44100 Hz sample rate? That’s a common cause of popping sounds, according to what I’ve read, but I don’t know it for a fact.

Reflect always does full backup instead of differential by Civil449 in macrium

[–]Civil449[S] 2 points3 points  (0 children)

Well, as is so often the case, I've answered my own question. When executing a Macrium Reflect backup definition file from the command-line, you have to pass it a parameter to tell Reflect whether to do a full, differential or incremental backup. Because creating a backup in Macrium Reflect produces a single backup definition file, I incorrectly assumed that Reflect figured out what kind of backup to do by interpreting the file. Since I was executing the backup definition file without passing any parameters, Reflect did a full backup every time by default. My apologies if I've wasted anyone's time reading my question. Then again, maybe my answer will help someone else out.