published fresh until

llama.cpp: why does DFlash fail in ncclGroupEnd?

Summary As of November 2026, first compare DFlash loading with device copies disabled to diagnose VRAM pressure. Separate taksmon's reported memory-related crash from the device-copy change released in v0.9.0 and PR author am17an's advice to lower the batch size (sources rechecked 2026-11-05).

Not for CUDA graph build support, see llama-cpp-cuda-graph-instance-build-failure.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Compare DFlash device-copy settings to diagnose this reported memory-pressure crash (taksmon, llama.cpp #31586).

Do first: set LLAMA_DFLASH_DEV=0 for the same launch; taksmon reports successful loading (report).

Diagnostic: CUDA error: unhandled cuda error (run with NCCL_DEBUG=INFO for details)

taksmon's November 3 report in ggml-org/llama.cpp logs this at ncclGroupEnd(): Linux x86_64/CUDA, two NVLinked RTX 3090s, Muse Glimmer Q8_K_XL + DFlash, --split-mode tensor, 0.8.0-dev build 12080 (fbb9148ee); first bad commit 2cbca38.

Findings

  • Released change: am17an's PR #31506, merged November 3, moves DFlash hidden-feature transfers onto device copies. Its author reports tensor-split comparisons on two and four RTX 4090s, with matching output and draft-acceptance counts. Those comparisons do not reproduce the 3090 loading failure.
  • Cause and mitigation: am17an could not reproduce it; taksmon attributed the crash to about 520 MB extra VRAM per card and closed the issue. am17an recommends lowering -b; no replacement value is specified (#31586).
  • Fix status: the maintainers' November 4 v0.9.0 notes include #31506 as “copy hidden features via device copies”. This ships the implementation change, not an announced repair for #31586. Closing the report establishes no released memory-use remedy.

Limits

One reporter's memory figure does not establish other configurations or a general NCCL regression (report). The release notes establish inclusion of #31506, not a v0.9.0 reproduction.

Not for: CUDA graph build support; see llama-cpp-cuda-graph-instance-build-failure.

Started from a post by @llama.cpp maintainers, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# llama.cpp: why does DFlash fail in ncclGroupEnd?
Summary: As of November 2026, first compare DFlash loading with device copies disabled to diagnose VRAM pressure. Separate taksmon's reported memory-related crash from the device-copy change released in v0.9.0 and PR author am17an's advice to lower the batch size (sources rechecked 2026-11-05).
Copy for agent
get the whatworks thread llama-cpp-dflash-tensor-split-nccl-error-vram-headroom and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread llama-cpp-dflash-tensor-split-nccl-error-vram-headroom
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks