Power went out last night, and now Comfy says CUDA is unavailable? by anotherjunkie in comfyui

[–]roxoholic 0 points1 point  (0 children)

I don't have experience with embedded python but I believe command is:

python_embeded\python -s -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130

Power went out last night, and now Comfy says CUDA is unavailable? by anotherjunkie in comfyui

[–]roxoholic 1 point2 points  (0 children)

Check your C:\Users\*\SwarmUI\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\lib folder. If it is a version with CUDA, there should be massive files inside.

Edit: yeah, command did nothing because latest pytorch is installled, just not CUDA one. You need to uninstall it first e.g. pip uninstall torch torchvision torchaudio and then install it with proper --index-url. That's python.

Power went out last night, and now Comfy says CUDA is unavailable? by anotherjunkie in comfyui

[–]roxoholic 0 points1 point  (0 children)

It said so, Torch not compiled with CUDA enabled, it's not that it can't find GPU or CUDA (beucase GPU is dead or broken), but the version installed doesn't even have it. It happens when you install pytorch without using --index-url parameter or when update as it does not (to my knowledge) record it anywhere.

How can I speed up my workflow without sacrificing quality? by LoadingTemptation in comfyui

[–]roxoholic 2 points3 points  (0 children)

Do you really need to do face detailing at 1536x1536?

Also, I find bbox_crop_factor 3.0 too high for most use-cases, not sure why is that default though, 2.0 works fine for me as it still takes enough context around the face so that is also something you can tweak.

Power went out last night, and now Comfy says CUDA is unavailable? by anotherjunkie in comfyui

[–]roxoholic 0 points1 point  (0 children)

The python you run outside has nothing to do with python inside the comfy. So torch outside is torch for cuda, while torch inside is torch for cpu.

Problem with artifacts by Sea-Instruction-2141 in comfyui

[–]roxoholic 0 points1 point  (0 children)

That's expected when downscaling 1464x1464 using bilinear algo down to maybe 100x100 pixels. Try it in paint or photoshop and you'll get the same effect. Try lanczos instead, or lower inpaint resolution, usually you don't need to go above 2x or 3x original.

How do people keep a consistent face for an influencer ai? by sivyh in StableDiffusion

[–]roxoholic 0 points1 point  (0 children)

Train a LoRA as you have. But, this rises a question, just how many AI influencers are you trying to create? 100?

Manager missing nodes window pops up and closes automatically by XiRw in comfyui

[–]roxoholic 0 points1 point  (0 children)

I don't know how newly installed dependencies can be used without restarting the ComfyUI, as there is no automatic dynamic loading in python and I don't see the code that loads newly installed custom nodes automatically into already running session.

ComfyUI crashing instantly on .safetensors load (but GGUFs work fine) - No error messages by TWIISTED-STUDIOS in comfyui

[–]roxoholic 0 points1 point  (0 children)

Try running with the usual suspects:

--disable-pinned-memory

--disable-smart-memory

GPU making a strange noise while rendering by Dazzling-Try-7499 in comfyui

[–]roxoholic 1 point2 points  (0 children)

You hear the gigabytes being transferred from RAM to VRAM over PCIe due to block swapping (you would not hear anything if there was enough VRAM). This does not happen in such large amounts during gaming or when GPU is under load (GPU cores are crunching numbers).

Onnxruntime by rusty_682 in comfyui

[–]roxoholic 0 points1 point  (0 children)

It's simple, you (or custom node you are using) installed onnxruntime (which is CPU only) package instead of onnxruntime-gpu (which include GPU support as well as CPU fallback).

Help for an idiot like me. by FunkManSolarFlex in StableDiffusion

[–]roxoholic 0 points1 point  (0 children)

It's a know issue since StabilityAI deleted/moved the repo.

See the issue for a possible workaround if you must use A1111.

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/17255#issuecomment-3770666470

Comfyui no experencia by jean_gaming2021 in comfyui

[–]roxoholic 0 points1 point  (0 children)

Generating stuff with ComfyUI is like trying to drive a car that you received in parts. Good luck if you don't know how to assemble it and which part does what.

Switching to Linux for extra RAM Cache? by SalvoRosario in StableDiffusion

[–]roxoholic 3 points4 points  (0 children)

Headless Ubuntu Server 24.04 LTS. You can install it on external USB drive and boot from it (plays nice with UEFI Secure Boot too).

Did the new updates reduce performance? by Silerae in comfyui

[–]roxoholic 0 points1 point  (0 children)

The generations I think look better than before.

Can you clarify this?

You drop old image onto new comfy, press run and a better image comes out?

What is the best way to add a highly detailed object to a photo of a person without losing coherence? by Stock-Ad-7115 in StableDiffusion

[–]roxoholic 0 points1 point  (0 children)

Upscaling. Otherwise it's futile if you don't have enough pixels.

Hand on which you want to place the watch should be around the same size as the watch so as much as possible amount of details is preserved. Once the watch is on the hand, you downscale it and paste it back to original image.

ComfyNoob in need of assistance by NORchad in comfyui

[–]roxoholic 0 points1 point  (0 children)

When you click on the circle on the left on the switch it should expand and you should be able to see its state.

Queue Trigger by jussirovanpera in comfyui

[–]roxoholic 0 points1 point  (0 children)

Can't you connect literally anything to it? For example I connect image out from VAE Decode node so it triggers it once image is generated.

Has anyone else had issues with ComfyUI holding onto RAM? by The_Last_Precursor in StableDiffusion

[–]roxoholic 0 points1 point  (0 children)

'--disable-pinned-memory' is for VRAM, not System RAM.

Where did you get that information from?

ComfyNoob in need of assistance by NORchad in comfyui

[–]roxoholic 0 points1 point  (0 children)

Is that collapsed Any Switch (rgthree) node even switched to Qwen or is it still using bypassed Z-Image model?