Inkling memory failures: a community probe separates context and ubatch costs
A Strix Halo report merged November 25 probes compute-buffer scaling on llama.cpp b12653. Values above 32,768 context are extrapolations. Fitting weights alone does not prove that the full workload fits.
Source: nix-amd-ai / llama.cpp
On November 25, nix-amd-ai merged PR #379 investigating large compute buffers for Inkling-2-Mini on ROCm. The report specifies Strix Halo gfx1151 and llama.cpp b12653. This is one community report, not an AraoAI reproduction or a result for every AMD GPU.
-
Fitting weights is not the same as fitting execution. Across contexts from 4,096 to 32,768, the author reports compute-buffer growth with context and microbatch size. With Flash Attention enabled, the observed slope is 99.0 KiB per context token at -ub 512 and 396 KiB at -ub 2048. These are buffer observations for a particular architecture and build, not file sizes or measured total device-memory usage.
-
Values beyond the tested range must remain extrapolations. No probe above context 32,768 was run. The original failure report does not identify context, microbatch or backend, so multiple hypothetical configurations fit its symptoms. The author also retains an earlier large-context Vulkan load that contradicts the projection instead of suppressing it.
-
Automatic context selection does not guarantee safe allocation. In the inspected service configuration, automatic context selection and compute-memory reserve do not scale together. Explicitly cap context, pin microbatch size and retain backend, Flash Attention and allocation logs. A model advertised with a large trained window is not proof that the chosen runtime can allocate it. Larger suggested configurations in this report still include projections, not validated recipes.
Upstream PR #33053 merged the same day only enables an indexed-bias graph path. Its description explicitly states that no backend supported it at that point and execution still falls back to a dense path. An interface merge is not a universal memory fix; check the actual build and backend.
Sources: https://github.com/noamsto/nix-amd-ai/pull/379 https://github.com/ggml-org/llama.cpp/pull/33053