[v0.23.2] Patch: Support `max_shard_size` as string in `split_state_dict_into_shards_factory`
split_state_dict_into_shards_factory now accepts string values as max_shard_size (ex: "5MB"), in addition to integer values. Related PR: https://github.com/huggingface/huggingface_hub/pull/2286.
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.23.1...v0.23.2
Fetched April 7, 2026