Signal / AMD and NVIDIA GPUs / AI software reliability
llama.cpp fixes one GPU launch error
This test release patches one GPU calculation, not every long AI job.
- Use this if
A long llama.cpp job reports an ADD_ID launch error.
- No action if
A memory error needs a different check. Leave production unchanged if either test fails.
Asia/Singapore
No claim about all GPU backends, a universal context limit, or production safety.
First published
TechnologyOTR Emerging Data
A long AI job can fail without running out of memory
Two long AI jobs can stop for different reasons. A launch error says the GPU rejected how work was sent to it; a memory error says it could not set aside space.
What the sources show
GitHub published test release b12823 on 28 November at 9:24:25 a.m. SGT (01:24:25 UTC). It changes one calculation called ADD_ID. On the affected setups, the GPU could reject this calculation when one work dimension exceeded 65,535. This was not a general cap on the length of an AI prompt.
The new connection
A long job can fail because one GPU operation is too large to launch, or because it cannot get enough memory. PyTorch issue #177406 documents the second case: the reporter measured 6.3 GB then 12.7 GB of peak video memory across two versions of the same workload and logged an actual allocation failure. This is a diagnostic comparison, not evidence about llama.cpp memory use.
- Keep your setup unchanged
- Compare both builds
- Keep or hold the update
A realistic next move
In a test environment, run a representative, non-sensitive job on your current build and the pre-release. Keep the model, hardware and settings unchanged. Log the build, GPU, backend, error, completion and whether the output is usable. Try a normal short job too.
The author’s backend check is not a measured end-to-end upgrade, latency gain or savings. No OnTheRice retest or production result is claimed.
Primary sources / Open links
| GPU and backend | New check |
|---|---|
| RX 9060 XT / ROCm | Author reports pass |
| RTX 5070 / CUDA | Author reports pass |
- llama.cpp pre-release b12823 · 2026-11-28
- llama.cpp change and author tests · 2026-11-27
- PyTorch issue #177406: memory comparison · 2026-03-13
The connection
Two failures need different checks
The fix merged on 27 November. GitHub published pre-release b12823 on 28 November at 09:24:25 SGT. The contributor reproduced the failure on AMD on 16 November and NVIDIA on 24 November. The successful patched test has no separate run time in the report.
- Observed
The contributor reported passing the new 70,000-token ADD_ID test on an AMD RX 9060 XT with ROCm and an NVIDIA RTX 5070 with CUDA. They reported “invalid configuration argument” on ROCm and “invalid argument” on CUDA before the fix. This is their calculation test, not a full AI reply. It does not show how much memory the failing job had left.
- The connection
Use the exact error to decide whether to test the build or check available memory first.
- How the effect travels
For this operation, llama.cpp previously assigned too much work to one dimension of the GPU launch. The patch spreads that work across repeated steps.
A PyTorch user reported that the same Conv3D workload used 6.3 GB on version 2.8.0 and 12.7 GB on 2.9.1. The user recorded a failed memory allocation. That was a different program, workload and failure, not a test of this patch or a confirmed repair. A separate vLLM fix merged on 21 October; the merge record alone does not prove a customer result. An older OTR llama.cpp study on Adreno showed why we must judge the full usable reply, not merely whether processing starts. The hardware and calculation in the present story differ.
- 13 MarDifferent PyTorch memory failure logged
- 27 Novllama.cpp launch fix merged
- 28 Nov 09:24 SGTTest release b12823 published
- llama.cpp pre-release b12823 · 2026-11-28
- llama.cpp change and author tests · 2026-11-27
- PyTorch issue #177406: memory comparison · 2026-03-13
The decision path
Should you roll out the update?
- 1. Match your setup
Keep model, GPU, backend and settings constant.
- 2. Read the result
Log the error, completion and output validity for each build.
- 3. Decide before rollout
Hold if the problem remains or the ordinary workload regresses.
The contributor tested two hardware setups. The sources do not show adoption, performance or repair rates in any country. The PyTorch report is a comparison across projects, not markets.
View branches
| Parent node | Branch label | Child node |
|---|---|---|
| Compare both builds | Long and short jobs pass | Consider rollout |
| Compare both builds | Either check fails | Keep production unchanged |
- llama.cpp pre-release b12823 · 2026-11-28
- llama.cpp change and author tests · 2026-11-27
- PyTorch issue #177406: memory comparison · 2026-03-13
Evidence & next review
Read the originals
Official GitHub release displays 28 Nov 01:24; its visible clock carries datetime 2026-11-28T01:24:25Z = 09:24:25 SGT. Verified signed commit, not a signature claim for every binary.
28 November 2026, 09:24:25 SGT (01:24:25 UTC).
Source record
Merged on 27 November, date only in inspected view. Author reports the new 70,000-token ADD_ID check passed on RX 9060 XT (ROCm) and RTX 5070 (CUDA). PR shows 30 of 31 checks passed; not complete CI proof.
2026-11-27
Source record
Opened 13 March, date only. A reporter measured peak video memory of 6.3 GB versus 12.7 GB for the same reported workload on two versions and documented an out-of-memory allocation failure. Different software, failure, and workload; not an independent llama.cpp retest.
2026-03-13
Source record
Earlier Adreno/OpenCL case. A code change or quicker start did not prove a useful finished reply. Keep inputs and settings matched and require output quality, while not transferring the hardware result.
First published 22 November 2026, 20:16:18 UTC (23 November, 04:16:18 SGT).
Source record
Merged 21 October; one different source change, not proof of a released build or a customer result.
Merged 21 October 2026 (date only).
Source record
No independent reproduction of b12823, full CI pass, measured production performance or matched cost evidence.
Consequences and economics
First-order consequence
A team can separate a launch error from a memory error.
Second-order consequence
Testing the same job can show whether the update avoids a repeat failure on that setup.
Third-order consequence
If it works, the team may spend less time rerunning that job; no saving was measured.
Fourth-order consequence
A team could use these logs to decide whether it actually needs more GPU capacity.
Fifth-order consequence
Providers could publish comparable tests before asking users to upgrade. No adoption change has been measured.
Observed costs and benefits
Record time and compute cost for each completed, usable result. Do not call a failed run a saving if a retry still uses staff time or compute. No new hardware bill or saving was verified.
Challenge and uncertainty
Disconfirming evidence
If the same launch error remains on the corrected build in a controlled comparison, do not attribute your failure to the patched issue without further checks.
Alternative explanation
Remain on the current build if your tested workload works or the patch is not relevant; diagnose a memory error separately.
What would confirm it
Confirm usable output and a passing representative short job using the same setup; keep the exact build and logs.
What would disprove it
A matching failed job or worse ordinary workload after the update is a reason to hold rollout.
AI powered research