Skip to content

Commit a8c0db3

Browse files
committed
Updating codec pipeline batch size for GPU codecs to enable parallelism
1 parent d548adc commit a8c0db3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/zarr/core/config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ def enable_gpu(self) -> ConfigSet:
6868
"buffer": "zarr.core.buffer.gpu.Buffer",
6969
"ndbuffer": "zarr.core.buffer.gpu.NDBuffer",
7070
"codecs": {"zstd": "zarr.codecs.gpu.NvcompZstdCodec"},
71+
"codec_pipeline": {
72+
"path": "zarr.core.codec_pipeline.BatchedCodecPipeline",
73+
"batch_size": 65536,
74+
},
7175
}
7276
)
7377

0 commit comments

Comments
 (0)