mirror of https://github.com/google/gemma.cpp.git
Gemma receives a MatMulEnv arg, with comment on lifetime Split threading into topology so the latter can be used in allocator Add AllocClasses() for non-POD (ThreadPool) Support binding pool to NUMA node Update threading_test with latency measurements Also update Highway version. PiperOrigin-RevId: 736904748 |
||
|---|---|---|
| .. | ||
| hello_world | ||
| simplified_gemma | ||
| 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.