Skip to content

Add nanollama.c — a dependency-free LLM inference engine in C - #1896

Open
Agarwalrishu13 wants to merge 1 commit into
fffaraz:masterfrom
Agarwalrishu13:add-nanollama
Open

Agarwalrishu13 wants to merge 1 commit into
fffaraz:masterfrom
Agarwalrishu13:add-nanollama

Conversation

@Agarwalrishu13

Copy link
Copy Markdown

Adding nanollama.c to the Artificial Intelligence section (alphabetically under N, after MXNet).

It's a complete LLM inference engine in ~1,400 lines of dependency-free C: transformer forward pass with KV cache, BPE tokenizer, temperature/top-k/top-p sampling, a hand-rolled thread pool (no OpenMP), and grouped int8 quantization. MIT-licensed, CI builds and smoke-tests text generation on Linux, macOS, and Windows.

Happy to adjust the description or placement per your format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant