Skip to content

Conversation

jsulz
Copy link
Collaborator

@jsulz jsulz commented Jul 7, 2025

Updating the chunk and shard cache default size to use powers of 10 instead of powers of 2. See huggingface/huggingface_hub#3190 (comment) for background.

Note: This is my first real PR to the repo! I didn't do anything outside of:

  1. Change the constants to these new values
  2. Verify the existing docs
  3. Run cargo test and check to make sure there were no failing tests.

If there were other steps I should've taken to validate the change, let me know!

Sidenote: Noticed while working on this that I need to update the existing huggingface_hub docs as https://linear.app/xet/issue/XET-602/document-hf-xet-shard-cache-size-limit grew out of date with the default shard cache size.

@jsulz jsulz requested review from hoytak and assafvayner July 7, 2025 21:47
@jsulz jsulz merged commit 8fbe968 into main Jul 8, 2025
5 checks passed
@jsulz jsulz deleted the jsulz/update-default-cache-size branch July 8, 2025 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants