← All IntelIntel / repo
llama.cpp v0.4.0
- Source
- github.com
- Publisher
- GGML
- Author
- github-actions[bot]Top Viber
- Date
Context
The model-running library llama.cpp adds a way to reduce memory occupied by certain large lookup tables. Version 0.4.0 includes on-demand tensor reading: eligible numerical tables can be read from the model file as needed instead of being loaded fully into RAM.
The implementation discussion explains the trade-off. Only tensors explicitly marked as eligible, such as per-layer tables, use it. In the PR's Gemma 4 E4B test, peak memory fell from 7.37 GB to 6.16 GB while generation slowed by roughly 8 to 11 percent, and the author says the cost is larger for small models because reads are slow relative to generation. It is a targeted memory-saving option, with speed depending on the model and loading configuration.
Terms in this piece · Glossary
- embedding — A list of numbers representing a piece of text's meaning, so that similar meanings end up numerically close and can be searched.
- Server — Software that receives requests, processes them and returns responses; the computer running it is its host.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
Read the source github.com
Tools in this story
More from github-actions[bot]
Recommended reads





