Environment & Hardware Specs
-
GPU: AMD Radeon RX 9070 XT (XFX, 16GB VRAM)
-
Interface: PCIe 4.0 x16 (Resizable BAR / SAM Enabled)
-
CPU: AMD Ryzen 9 5900X
-
OS: Windows 11 (23H2/24H2)
-
PyTorch Version: 2.12.0+rocm7.14.0 (Native AMD ROCm backend)
-
ComfyUI Version: 0.33.0
The Core Issue: Severe VRAM Pagination & GPU Usage Oscillations (0% to 100%)
When trying to run the Krea-2 model (based on the Qwen-VL architecture with a huge 30,720-feature text conditioning stack) using native workflows, the GPU experiences a heavy bottleneck. The Windows Task Manager displays a “sawtooth” graph pattern (rapidly shifting from 0% to 100% usage every second) while Dedicated VRAM peaks hard at 15.2 GB - 15.5 GB / 16.0 GB.
The GPU core remains completely cool (fans don’t even spin up), indicating that the hardware is mostly idle, waiting for the system to swap memory blocks between System RAM and VRAM via the PCIe bus.
Test Logs & Iterations
Test 1: Native Checkpoint (FP16/FP8 hybrid) at 1024x1024
-
CLI Args: --use-pytorch-cross-attention --highvram
-
KSampler: 8 Steps, CFG 1.0, Euler / Normal
-
Behavior: Heavy fatiamento/VRAM offloading. The CLI throws continuous Unloaded partially logs for every step, moving ~2.7 GB blocks back and forth.
-
Execution Time: 193.48 seconds
Test 2: Lower Resolution Attempt (896x896)
-
CLI Args: --use-pytorch-cross-attention --highvram --disable-smart-memory --preview-method none
-
Behavior: By reducing the tensor matrix resolution, the PCIe bottleneck drastically decreased. The GPU usage graph showed flat, wide peaks at 100%, proving that keeping the latent space smaller helps the AMD Windows driver stream data faster.
-
Execution Time: 127.81 seconds
Test 3: Quantized GGUF Model (8GB) with ComfyUI-GGUF_KREA-2 Fork
-
Model: krea2TurboGGUF_turboGGUFConversion.gguf
-
Behavior: Native ComfyUI-GGUF (by city96) fails with ValueError: Unexpected architecture type in GGUF file: ‘krea2’. Cloning the specialized fork RealRebelAI/ComfyUI-GGUF_KREA-2 successfully patched the UNET loader to bypass the validation error.
-
The Final Bottleneck (WanVAE): Even though the 8GB GGUF model freed up VRAM space, loading the VAE (WanVAE) caused a second offloading layer:
[INFO] Unloaded partially: 2554.68 MB freed, 2238.13 MB remains loaded -
Final Execution Time (Best Windows Run): 164.88 seconds / 181.45 seconds (depending on the VAE flush).
Engineering Conclusions & Community Takeaways
-
The Text Encoder Burden: The text encoder device option in native nodes is locked to CPU or default. The 30,720 features required by the Qwen3-VL token stack are being processed strictly on the Host CPU, bottlenecking the RDNA 4 scheduling on Windows.
-
Windows VRAM Allocation Tax: Windows natively hogs up to 1.5GB - 2GB of VRAM for Desktop/Browser composition. On a 16GB card, this forces ComfyUI to operate within a tight ~14GB margin, which is instantly choked when allocating the Krea-2 UNET space alongside the high-overhead WanVAE matrix decoding operations.
-
The [WARNING] False Positive: The warning Skip module comfyui-rocm due to the lack of NODE_CLASS_MAPPINGS is safely ignorable. It occurs when applying low-level backend variables (such as forcing torch.backends.cuda.matmul.allow_tf32 = True) inside custom nodes without registering graphical front-end UI components.
-
Linux Dual-Boot Recommendation: To fully exploit the physical AI Matrix Accelerators of RDNA 4 chips without system-enforced memory paging or PCIe scheduling latency, migrating to Linux (Ubuntu 24.04 LTS / ROCm nativo no Kernel) is highly recommended for developers running heavy Diffusion Vision-Language Models.