mirror of https://github.com/google/gemma.cpp.git
Improved threading.h, fix thread counts for single package/cluster systems Temporarily forces to a single socket. Prefill 29.28 tps, decode 6.92. Also fix benchmarks.cc build, update tensor allocator to Allocator PiperOrigin-RevId: 687307167 |
||
|---|---|---|
| .. | ||
| hello_world | ||
| README.md | ||
README.md
Examples
In this directory are some simple examples illustrating usage of gemma.cpp as
a library beyond the interactive gemma app implemented in run.cc.
hello_world/- minimal/template project for usinggemma.cppas a library. It sets up the model state and generates text for a single hard coded prompt.