[KongchangAI]
ProductHF Xet / Xet存储

Xet

Xet is Hugging Face's storage layer technology that implements file-level incremental uploads based on Content-Defined Chunking (CDC). It is built into the Hugging Face CLI and Hub, and reduces bandwidth consumption from redundant data transfers by ensuring that only modified chunks are uploaded.

Timeline (last 90 days)

Oct 7

Xet is Hugging Face's storage layer technology, which can be understood as Git applied to file chunks rather than entire files.

Unverified50%
Oct 7

Xet is already built into the Hugging Face CLI and Hugging Face Hub, requiring no additional installation.

Unverified50%
Oct 7

Xet splits each file into chunks of approximately 64KB, with split points determined by the content itself.

Unverified50%
Oct 7

Before uploading, the Xet client queries the Hub for the fingerprints of existing chunks, and chunks that already exist are not transmitted.

Unverified50%
Oct 7

Parquet's default write method disrupts Xet's deduplication logic, because its columnar encoding, Row Group boundaries, and Footer are rewritten each time, causing the byte layout to change dramatically.

Unverified50%
Oct 7

For a 100MB Parquet file with 3,000 rows added near the beginning, nearly the entire file must be re-uploaded with default settings, whereas enabling content-defined chunking requires uploading only approximately 6 chunks.

Unverified50%
Oct 7

Re-sorting a file to accelerate queries causes every chunk to change, resulting in a full-file upload; the correct approach is to sort first, then write, and only append afterward.

Unverified50%
Oct 7

Switching compression algorithms, changing page settings, or default parameter changes after a library upgrade will cause Xet to treat the same data as a new file, and the first upload after an upgrade will be a full upload.

Unverified50%
Oct 7

The demonstration uses approximately 1.5 million rows of New York City taxi trip CSV data totaling 191MB; the first upload transfers the complete file, and after appending 100 rows only the newly added portion is uploaded.

Unverified50%

All Facts (9)

Unverified

Xet is Hugging Face's storage layer technology, which can be understood as Git applied to file chunks rather than entire files.

50%
Unverified

Xet is already built into the Hugging Face CLI and Hugging Face Hub, requiring no additional installation.

50%
Unverified

Xet splits each file into chunks of approximately 64KB, with split points determined by the content itself.

50%
Unverified

Before uploading, the Xet client queries the Hub for the fingerprints of existing chunks, and chunks that already exist are not transmitted.

50%
Unverified

Parquet's default write method disrupts Xet's deduplication logic, because its columnar encoding, Row Group boundaries, and Footer are rewritten each time, causing the byte layout to change dramatically.

50%
Unverified

For a 100MB Parquet file with 3,000 rows added near the beginning, nearly the entire file must be re-uploaded with default settings, whereas enabling content-defined chunking requires uploading only approximately 6 chunks.

50%
Unverified

Re-sorting a file to accelerate queries causes every chunk to change, resulting in a full-file upload; the correct approach is to sort first, then write, and only append afterward.

50%
Unverified

Switching compression algorithms, changing page settings, or default parameter changes after a library upgrade will cause Xet to treat the same data as a new file, and the first upload after an upgrade will be a full upload.

50%
Unverified

The demonstration uses approximately 1.5 million rows of New York City taxi trip CSV data totaling 191MB; the first upload transfers the complete file, and after appending 100 rows only the newly added portion is uploaded.

50%

Source Articles