Repository navigation
New Learning Path: Measure whether LLM decode is memory-bound on an Arm CPU - #3848
Merged
jasonrandrews merged 7 commits intoOct 12, 2026
Conversation
…CPUs New cross-platform Learning Path llm-decode-roofline. It uses llama-roofline and llama-bench on a Raspberry Pi 5 (Cortex-A76) to measure the memory bandwidth ceiling, compare llama.cpp decode against it, and choose decode and prefill thread counts. All outputs come from one capture on the board (llama.cpp 836d571, llama-roofline 0.2.0). Also adds the author to assets/contributors.csv and four words to .wordlist.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace "oversubscription" in the diagnose.md table with plain wording, and add "doi" and "manunicholasjacob" (from further_reading URLs) to .wordlist.txt. The upstream pyspelling config now passes on the path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve the assets/contributors.csv conflict by keeping both new rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: manunicholasjacob <manunicholasjacob@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Learning Path: Measure whether LLM decode is memory-bound on an Arm CPU (
content/learning-paths/cross-platform/llm-decode-roofline/).It shows how to measure the memory-read ceiling of an Arm board, run llama.cpp across model sizes and thread counts, and use llama-roofline to check whether decode is limited by memory bandwidth, then pick the thread count for decode and prefill.
What is in the PR
_index.md,_next-steps.mdand 5 pages: how decode uses memory, setup, measure bandwidth, diagnose, threads and size.cross-platform, shared with embedded, laptops and servers. Advanced, 45 minutes.assets/contributors.csvand 6 words in.wordlist.txt.How it was tested
836d571built in Release with GCC 12.2.0, llama-roofline 0.2.0 from PyPI, official Qwen2.5 GGUF files (0.5B Q4_0, 0.5B Q8_0, 1.5B Q4_0) with sizes and sha256 checked.get_throttled0x0 at four points); all sweep rows within 3% CV.Local checks run before opening: full
hugo0.130.0 extended site build (no warnings or errors), htmltest internal links, pyspelling with the repo config,tools/verify_index_fields.py,tools/style_check.py, and a profanity scan. All pass.Disclosures: I maintain llama-roofline (MIT). AI assistance was used for drafting and running the checks; I ran the measurements and reviewed every page.
Before submitting a pull request for a new Learning Path, please review Create a Learning Path
Please do not include any confidential information in your contribution. This includes confidential microarchitecture details and unannounced product information.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the Creative Commons Attribution 4.0 International License.