gemma.cpp/compression
Charles Zhao 50ee1a3e92 Write SBS progressively.
(1) Directly write to file in BlobWriter::Add and destruct the MatOwner to release the rams.

(2) Write a fake header to indicate this is V2, and write correct header and directory at the end of the file.

(3) Tested on loading sbs written the old way, and new way, both worked.

PiperOrigin-RevId: 789306837
2025-07-31 06:05:38 -07:00
..
python Write SBS progressively. 2025-07-31 06:05:38 -07:00
BUILD.bazel linkstatic in most tests/binaries, remove fully_static_link 2025-06-19 01:45:53 -07:00
analyze.h Minor: rename compression/shared -> types.h 2025-05-13 06:53:21 -07:00
compress-inl.h 1.02x batch decode speedup: BF16 KV cache 2025-06-17 23:21:59 -07:00
compress.cc Minor cleanup, on-demand NUQ buffer allocation 2025-04-16 10:49:43 -07:00
compress.h Minor: rename compression/shared -> types.h 2025-05-13 06:53:21 -07:00
compress_test.cc Speed up builds by skipping rarely used targets 2025-06-17 05:44:20 -07:00
distortion.h Refactor/cleanup, remove even_odd 2024-09-04 09:25:13 -07:00
distortion_test.cc Minor: rename compression/shared -> types.h 2025-05-13 06:53:21 -07:00
nuq-inl.h Minor: rename compression/shared -> types.h 2025-05-13 06:53:21 -07:00
nuq_test.cc Speed up builds by skipping rarely used targets 2025-06-17 05:44:20 -07:00
sfp-inl.h Minor: rename compression/shared -> types.h 2025-05-13 06:53:21 -07:00
sfp_test.cc Speed up builds by skipping rarely used targets 2025-06-17 05:44:20 -07:00
test_util-inl.h De-singleton ThreadingContext so callers can pass in their own 2025-07-22 02:08:46 -07:00
types.h Speed up builds by skipping rarely used targets 2025-06-17 05:44:20 -07:00