PulseAugur
EN
LIVE 04:24:49

ComfyUI Bugs on Turing GPUs Detailed: FP16 Overflow, CUDA Alloc Crash

A Reddit user detailed three bugs affecting ComfyUI on Turing architecture GPUs, specifically the Quadro RTX 6000. The primary issue identified was an FP16 overflow in PyTorch's `torch.mm()` function when input values exceed approximately 44, leading to infinite values and black image outputs. This bug, present in PyTorch 2.12.0+cu126, can be mitigated by using `.bfloat16()` instead of `.half()`. Additionally, Turing GPUs may encounter a `cudaMallocAsync != native` crash at startup, which is resolved by setting the `PYTORCH_CUDA_ALLOC_CONF` environment variable. The user also noted that persistent issues could indicate a hardware defect in the GPU's VRAM. AI

IMPACT Addresses specific software bugs impacting AI image generation workflows on certain hardware.

RANK_REASON User-reported debugging of software issues for a specific tool and hardware.

Read on r/StableDiffusion →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

ComfyUI Bugs on Turing GPUs Detailed: FP16 Overflow, CUDA Alloc Crash

COVERAGE [1]

  1. r/StableDiffusion TIER_2 English(EN) · /u/rtsitola ·

    I spent 8 hours debugging why ComfyUI was broken on my Quadro RTX 6000. Found 3 independent bugs. Here's what I learned.

    <!-- SC_OFF --><div class="md"><p>If you're running ComfyUI on a Turing GPU (Quadro RTX 4000/5000/6000/8000) and getting black images or NaN errors, this post is for you.</p> <p>## The Symptoms</p> <p>- ComfyUI output: pure black images (10 KB PNG instead of 1.5 MB)</p> <p>- Cons…