A recent update to the llama.cpp project, tagged b12227, addresses an issue where specific model activations could lead to NaN (Not a Number) outputs. The problem arose from the `blk.N.ffn.act.scales` tensor in the mpt graph, which, with a particular seed, caused activations to overflow when processed by Metal stages. This overflow resulted in NaN logits and failed checks, which has now been corrected by ensuring the magnitude of `ffn.act` is kept away from zero. AI
IMPACT Ensures stability and correctness for models running on the llama.cpp framework.
RANK_REASON This is a code commit for an open-source project, not a new model release or significant research.
Read on llama.cpp — Releases →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →