Fixes to enable android and windows builds + general improvements to builds
Bazel builds
CI automation
Allow either HF or Kaggle (vs Kaggle only) for artifact downloads
Many small fixes and quality-of-life improvements from initial 0.1.0 release
What's Changed
Dev -> Main sync by @austinvhuang in https://github.com/google/gemma.cpp/pull/24
Update build.yml by @eltociear in https://github.com/google/gemma.cpp/pull/22
Fix typos by @shirayu in https://github.com/google/gemma.cpp/pull/32
Allow building on Windows using clang-cl toolchain by @dcoles in https://github.com/google/gemma.cpp/pull/6
Do not pass explicitly -O2 flag to compiler in Release build by @traversaro in https://github.com/google/gemma.cpp/pull/3
Fix build. by @dan-zheng in https://github.com/google/gemma.cpp/pull/35
reset conversation by @kishida in https://github.com/google/gemma.cpp/pull/34
Rename BUILD to BUILD.bazel. by @dan-zheng in https://github.com/google/gemma.cpp/pull/36
Add --eot_line option by @shirayu in https://github.com/google/gemma.cpp/pull/33
v0.1.1 - gemma.cpp Release Notes | AnnounceHQ
clean up formatting after 129e66ada2b4e461bdf28b88b70cd2465cb213e4 by @austinvhuang in https://github.com/google/gemma.cpp/pull/58
Warning fixes: unused member, cast, unused function by @copybara-service in https://github.com/google/gemma.cpp/pull/61
CLI args + README improvements + cleanup by @austinvhuang in https://github.com/google/gemma.cpp/pull/66
Fix for Android's 32-bit off_t. Fixes #62 by @copybara-service in https://github.com/google/gemma.cpp/pull/63
Add DEVELOPERS notes on using gemma as a library by @austinvhuang in https://github.com/google/gemma.cpp/pull/71
Add clang-tidy, fix narrowing issues, fix constness by @enum-class in https://github.com/google/gemma.cpp/pull/65
Support Bazel builds. Fixes #16 by @copybara-service in https://github.com/google/gemma.cpp/pull/75
Add instructions to download from Hugging Face Hub by @osanseviero in https://github.com/google/gemma.cpp/pull/74
Separate KV cache from GemmaImpl by @ufownl in https://github.com/google/gemma.cpp/pull/81
Avoid fadvise on older Android. Fixes #84 by @copybara-service in https://github.com/google/gemma.cpp/pull/85
use hwy/simd for RMSNorm(f, bf, f) calculation by @enum-class in https://github.com/google/gemma.cpp/pull/78
Use highway simd for SquaredL2 calculation by @enum-class in https://github.com/google/gemma.cpp/pull/77
Detect and print build type. Refs #88 by @copybara-service in https://github.com/google/gemma.cpp/pull/92
libgemma API refactor - decouple from interactive repl demo specifics, add hello world example using libgemma by @austinvhuang in https://github.com/google/gemma.cpp/pull/82
Additional cleanup after libgemma refactor https://github.com/google/gemma.cpp/pull/82 by @austinvhuang in https://github.com/google/gemma.cpp/pull/87
Use bf16-rounded sqrt for scaling embeddings to match Gemma by @copybara-service in https://github.com/google/gemma.cpp/pull/93
Remove unused ascii banner string by @copybara-service in https://github.com/google/gemma.cpp/pull/96
Allow changing k parameter of SampleTopK as a compiler flag by @ufownl in https://github.com/google/gemma.cpp/pull/97
Add missing log that point to a failed Generation by @zeerd in https://github.com/google/gemma.cpp/pull/98
New Contributors
@austinvhuang made their first contribution in https://github.com/google/gemma.cpp/pull/24
@eltociear made their first contribution in https://github.com/google/gemma.cpp/pull/22
@shirayu made their first contribution in https://github.com/google/gemma.cpp/pull/32
@dcoles made their first contribution in https://github.com/google/gemma.cpp/pull/6
@traversaro made their first contribution in https://github.com/google/gemma.cpp/pull/3
@dan-zheng made their first contribution in https://github.com/google/gemma.cpp/pull/35
@kishida made their first contribution in https://github.com/google/gemma.cpp/pull/34
@copybara-service made their first contribution in https://github.com/google/gemma.cpp/pull/61
@enum-class made their first contribution in https://github.com/google/gemma.cpp/pull/65
@osanseviero made their first contribution in https://github.com/google/gemma.cpp/pull/74
@ufownl made their first contribution in https://github.com/google/gemma.cpp/pull/81
@zeerd made their first contribution in https://github.com/google/gemma.cpp/pull/98
Full Changelog: https://github.com/google/gemma.cpp/compare/v0.1.0...v0.1.1