Authorization notice. Llam Ampere is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forAn ML engineer or researcher who runs the same long eval or benchmark prompts many times against Swift 1.5 on Llam Ampere.
The problemEach eval run re-reads the same long prompts, which wastes time on every repeat run.
The outcomeEval prompts load from a prebuilt folder, and at temperature 0 the output matches the uncached run according to the README.
What you need first
- Linux machine with an NVIDIA card (RTX 3090 or 3090 Ti with 24 GB for the main path, or a 12 GB card for the low-memory path)
- CUDA toolkit (the README tested with 12.4), CMake, git and a C++ compiler
- Disk space and network access for the model download: 15.6 GB for the 24 GB path, 9.0 GB for the 12 GB path
- Recommended: OpenSSL development files are not needed if you use the -DLLAMA_BUILD_BORINGSSL=ON build flag, which lets -hf download the model
Steps
- Complete the build in the first use case so
./build-sm86/bin/llama-serverexists in the Llam Ampere folder. - Download a ready-made cache folder from https://huggingface.co/datasets/jakeatx/llamampere-evalcache to a local directory. (inferred, check the README)
- Start the server with the Swift 1.5 command from the 24 GB use case and add
--eval-cache <cache directory>. (inferred, check the README) - Run the same eval prompts twice at temperature 0 and compare the outputs and the timing.
- Check the server log to confirm that the eval prompts loaded from the cache folder.
Prompt for your agent
In the llamAmpere repo at <repo path>, start llama-server with the Swift 1.5 model and `--eval-cache <cache directory>`. Run the eval prompts in <eval file> twice at temperature 0 and report the time of each run and whether the two outputs match. Verify that the second run is faster and that the outputs are identical.
Caveat. The README describes --eval-cache as an opt-in, read-only cache for eval and benchmark prompts, and it does not give the exact command syntax, so check the release notes at docs/llamampere-v0.5.5/RELEASE_NOTES.md before running it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for JakeATX/llamAmpere and "Speed up repeat evals with a prebuilt prompt cache"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer