bossandboss/edgesync-llm — explained in plain English
Analysis updated 2026-05-18
Speed up local AI generation when many prompts share the same system instructions or document prefix.
Run batch requests against a local language model with faster response times for repeated context.
Reduce wait time for first token on Android or desktop when using the same prompt beginning repeatedly.
| bossandboss/edgesync-llm | advayc/wrapped | aegrail/aegrail-engine | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | Go | Go | Go |
| Setup difficulty | hard | easy | hard |
| Complexity | 4/5 | 2/5 | 5/5 |
| Audience | developer | general | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires building against llama.cpp and running local language model inference on ARM64 or x86-64 hardware.
EdgeSync-LLM is a project that speeds up local language model inference when multiple prompts share a common beginning. When you send a large language model a prompt that starts with the same text every time, like a set of instructions or a document, the model normally computes that shared part from scratch for every request. EdgeSync saves the intermediate work the model did after reading that shared text, and restores it for the next request that starts the same way. The model then only has to process the new ending part. The author measured a 9.9 times improvement in time to first token on an Android phone, and 7.5 times on an x86 desktop, on cases where the saved work could be reused. The output text was verified to be identical to running without this trick on every test case. The project links against standard llama.cpp without any modifications or patches, using a public interface to save and restore the model state. The README is notable for its honesty about what works and what does not. It marks several features as unvalidated, including matching similar rather than identical prefixes, compacting fragments, and a persistent store. It explicitly flags one design approach as unsound: reusing fragments across similar but not identical prefixes. It also notes the Android test used only one sample per request, so those numbers have a wide confidence interval. An earlier version tried to directly copy the model internal data, which reported an 8.8 times speedup but was actually broken. It silently dropped the shared text context. The output looked fast but was generating as if the shared text was never there. The author caught this because they run a control test that generates from just the ending text alone. If the saved work is being ignored, the output matches this control. It did, so they threw out that approach and used the public state interface instead, which saves both the data and the bookkeeping metadata. The project is written in Go and measured on ARM64 and x86-64 hardware. The full README is longer than what was shown.
A tool that speeds up local AI text generation by reusing the work the model already did on repeated prompt beginnings, so it only processes the new ending.
Mainly Go. The stack also includes Go, llama.cpp, ARM64.
The explanation does not mention a license, so the terms of use are unknown.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.