cgbur / llama2.zig
Inference Llama 2 in one file of pure Zig
Why this job: works in the areas we cover, but does not say which job it does

What it does
This is the Zig version of llama2.c by Andrej Karpathy. It runs inference for the llama2 model architecture recently published by Meta.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 3 months ago
- Stars
- 224
- On GitHub
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- None yet
- No releases
- Built with
- Zig
- 100% of the code
Is it looked after?
- Contributors
- 0
- Last 90 days
- Issues
- 80% closed
- 1 still open
- Pull requests
- 5 merged
- 1 waiting
- Releases
- None
- Never published
- No contributing guide
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| InternLM / lmdeploy | 8,135 | 3 days ago | Apache-2.0 | No downloads |
| gluonfield / enchanted | 6,016 | 4 months ago | Apache-2.0 | No downloads |
More: languages, topics and project record
Languages
- Zig 100%
Topics
- llama
- llama2
- llm
- llm-inference
- simd
- zig
- ziglang
Project record
- JobOther AI tools
- StatusListed
- Commits113
- Forks20
- Watching5
- Stars in 28 days0
- CreatedJul 30, 2023
- First seen by usNov 7, 2026
- CheckedNov 7, 2026
