gemma.cpp/python
Jan Wassenberg 45ad847a41 Replace RowVectorBatch with MatStorageT
KVCache: add ctor required for MatStorageT, remove Create; bf_pre_ffw_rms_out -> pre_ffw_rms_out
optimize_test: larger vocab_size requires more steps
shared.h: Remove unused u128 type
correctly set Activation matrix rows, avoid passing as arg
ops: pass Mat instead of pointers/sizes; vectorize LayerNorm; support any weight type
mat: add OverrideRows, used by SetBatchSize
PiperOrigin-RevId: 757790736
2025-05-12 09:16:12 -07:00
..
BUILD.bazel Huge refactor of weight handling and model loading. 2025-05-06 04:44:21 -07:00
configs.cc Replace RowVectorBatch with MatStorageT 2025-05-12 09:16:12 -07:00
convert_from_safetensors.py Minor: mark command line flags as required 2025-05-12 08:30:44 -07:00
gemma_py.cc Replace RowVectorBatch with MatStorageT 2025-05-12 09:16:12 -07:00
requirements.txt Add python wrappers for configs and inference. 2025-01-28 08:22:03 -08:00
run_example.py Add python wrappers for configs and inference. 2025-01-28 08:22:03 -08:00