Skip to content

Make auto sharding configurable by memory size #3568

Description

@ilan-gold

Discussion started here around auto settings for sharding: https://ossci.zulipchat.com/#narrow/channel/423692-Zarr/topic/Sharding.20performance.20issues/near/553649122

At the moment, the default is twice the number of chunks along each axis i.e., 2 chunks per shard for one axis, 4 for 2 etc.

The proposal would be to add something like zarr.config.max_auto_shard_size that is used when someone passes in shards="auto".

In additional, we could have min sizes as well potentially, see the arguments to _guess_chunks which has both

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions