I track inference correctness issues across quantized models, CUDA attention, and kernel edge cases. These newer investigations connect a DeepSeek v4 PRO inference-graph correction with a long-context bug, test coverage, and the resilience of language models to inference errors.
I reported that DwarfStar was updated ASAP with a critical fix for DeepSeek v4 PRO.
I attributed the DeepSeek v4 PRO issue to an error in the inference graph.
Before the fix, DeepSeek v4 PRO was running with 2/3 of the routed experts.
I reacted to the corrected result with “Now we are talking!” and specified that this was with thinking disabled.
I wanted to understand if this bug passes the long context test, or if for an error I didn't ran it before merging and only ran the faster tests.
I said this needs to be avoided the next time.
I believe I'll start to take a file where a set of tasks will be asked to PR submitters with speed enhancements.
I said I don't understand how the long context test passes with the bug; for rows > 31, MoE output for those positions is stale or garbage.
I observed that LLMs are somewhat resilient to inference errors, and said I'm not sure if this is good or bad at this point.
I track inference correctness issues across quantized models, CUDA attention, and kernel edge cases, including fixes, tests, and investigations whose causes are still uncertain.
I fixed two subtle inference errors in 2bit Flash, though the changes were still not pushed.
I removed the broken tests after checking them.
I replaced the broken tests with a verified one.
I described the result for a 2bit quantized model as “seriously incredible.”
When using DwarfStar with CUDA, I advise: update to latest main branch.
The latest main branch contains a correctness fix for attention.
After the attention fix, the long context test passes.
In a thread, I raised the possibility: “Or we have a bug 😀”.
I suggested that the problem might be N/edge tiles.
I asked GPT to rewrite the offending kernel.
I asked for only full populated tiles to run this way.
I also mentioned the reminder to the legacy path.
I was waiting to see what happened; the thread did not report whether this kernel change resolved the problem.
I found that the prefill speedup was a bug: it skipped work during MoEs computation.
The bug passed all the tests.
I believe the speedup was faster because it skipped work, rather than because of a valid optimization.
I can investigate whether fixing the bug can recover some speedup, but I don't think so.