Switch to zstd for numpy array serialization (jax.Array serialization is handled by JAX library).

PiperOrigin-RevId: 522616067
This commit is contained in:
Colin Gaffney 2023-04-07 09:35:24 -07:00 committed by jax authors
parent a556074541
commit 38f6338299

View File

@ -70,7 +70,7 @@ def _get_metadata(arr):
local_shape = arr.addressable_data(0).shape
return {
'compressor': {
'id': 'gzip'
'id': 'zstd'
},
'shape': arr.shape,
'chunks': np.array(np.maximum(1, local_shape)),