Overwrite file while reading in MergeAppendedSlices
Overwrite file while reading in MergeAppendedSlices

This is an attempt to lower the memory usage of MergeAppendedSlices by writing out a new checkpoint file during the process of loading the slices from the appended checkpoint format.

Benchmarking showed some memory reduction during merging when using this approach
(800MB -> 700MB).

PiperOrigin-RevId: 445203951

google/federated-compute,google/federated-compute,google/federated-compute,google/federated-compute