gemma.cpp/compression/python
Ray Smith 85958f5fd3 Added MatPtr/MatPtrT/MatStorageT/MatStorage as a dynamically-sized replacement for CompressedArray.
Definition of array size is moved to the constructor.
Allocation is separate and parallelized.
All users of weights_raw.h migrated to CompressedWeights and weights_raw.h deleted.
Replaced all previous ForEachTensor functions with a single unified function.

PiperOrigin-RevId: 684451604
2024-10-10 08:22:30 -07:00
..
pytree Add Python code for converting Griffin Orbax weights. Refs #301 2024-07-29 12:53:30 -07:00
BUILD Add Py bindings for weight compression 2024-07-05 01:06:00 -07:00
compression.clif Adds insert_float() to SbsWriter() to store a float array directly. 2024-09-12 13:27:24 -07:00
compression_clif_aux.cc Added MatPtr/MatPtrT/MatStorageT/MatStorage as a dynamically-sized replacement for CompressedArray. 2024-10-10 08:22:30 -07:00
compression_clif_aux.h Adds insert_float() to SbsWriter() to store a float array directly. 2024-09-12 13:27:24 -07:00
compression_test.py Adds insert_float() to SbsWriter() to store a float array directly. 2024-09-12 13:27:24 -07:00