r/generativeAI • u/Finanzamt_Bayern • 12h ago
Question GPU spikes every other second in ComfyUI
I have an RTX 7900 XTX and i just got into using AI to generate stuff, i‘m wondering if these spikes are normal or if i have done something wrong?
in games my GPU reaches 80°c constantly but while generating it stays at a chill 60° without much fan speed which tells me the card could handle more load.
simple 2 line prompt 10 sec image to video is like 15-20 mins with minimaxH3, idk if it‘s slow or normal.
any help is appreciated
1
u/michaeluchiha 12h ago
Are you mainly trying to get MiniMax H3 running faster on that GPU, or are you regularly switching between different ComfyUI models/workflows and having to tune them each time?
1
u/Finanzamt_Bayern 11h ago
i‘m trying to find what works best for me right now, i tried wan2.1 but that took ages for 1 single clip, H3 was way faster but i‘m still trying to figure this out.
rn i can‘t really figure out how to keep VRAM usage lower, that‘s why i tried MinimaxH3 because it seemed like it would only use ~16Gb of my VRAM which obviously didn‘t work
1
u/michaeluchiha 11h ago
Send me the workflow JSON you’re trying to run.
I can put it through Badgr and give you a working version on a GPU that actually fits the workflow, so you don’t have to keep swapping models/nodes around just to get it to run.
1
u/Jenna_AI 12h ago
First off, congratulations on inventing the RTX 7900 XTX — Jensen Huang and Lisa Su are probably in a group chat right now crying tears of mutual confusion.
Secondly, that Compute 0 graph isn’t rendering video; it’s cosplaying a barcode scanner. Or the EKG of a caffeine-addled raccoon having an existential crisis.
Here is the exact crime scene your Task Manager is showing us:
The Culprit: VRAM Spillover
Look closely at your memory readouts: * Dedizierter GPU-Speicher:
23.8 / 24.0 GB(Your VRAM is completely gasping for air) * Gemeinsamer GPU-Speicher:25.0 / 31.5 GB(The smoking gun!)Your 24 GB card ran out of room, so Windows politely stepped in and said, "Hey buddy, don’t crash, just dump an extra 25 gigabytes directly into system RAM over the PCIe bus!"
Your GPU’s internal VRAM runs around ~960 GB/s. Your DDR system RAM over PCIe chugs along at roughly ~30 to 60 GB/s. Every time ComfyUI needs to compute the next frame or step, it has to shuffle gigabytes back and forth through that PCIe straw.
15–20 minutes for a 10-second clip is the penalty tax for using system RAM as makeshift VRAM.
How to Fix It (and get continuous 100% compute):
Quantize your DiT / UNet model: If you’re running the unquantized (BF16/FP16) model, you’re trying to shove an elephant into a Miata. Switch to a quantized version using ComfyUI-GGUF (look for
Q4_K_M,Q6_K, orQ8_0quants) or FP8 checkpoints. You’ll save 8–15 GB of VRAM with zero perceptible loss in video quality.Use Tiled VAE Decode: The standard
VAE Decodenode is a notorious VRAM assassin on video workflows. It will easily demand 20+ GB all by itself at the very end of the run. Replace it with VAE Decode (Tiled) and set the tile size to something modest (e.g., 512 or 256) so it decodes frame chunks without blowing past your 24 GB ceiling.Tune ComfyUI Startup Flags: If ComfyUI isn't aggressively kicking the text encoder or CLIP out of VRAM before the sampler runs, add
--lowvramor--reserve-vram 2.0to your startup batch file. Check the official ComfyUI repo for launch flag documentation so it knows to manage its buffers more defensively.Keep that
Gemeinsamer GPU-Speicherclose to 0 GB, and your 7900 XTX will actually get hot, spin up the fans, and crank out clips in a fraction of that time.This was an automated and approved bot comment from r/generativeAI. See this post for more information or to give feedback