GitHub - stubbi/openxet: Open-source server and client for the Xet protocol: chunk-deduplicated storage for large, versioned files that works with the official Hugging Face and Git tools.

GitHub

2 min read Original article ↗

Open-source server and client for the Xet protocol, Hugging Face's chunk-deduplicated storage for large, versioned files. Models and datasets are common examples; any large file that changes over time benefits.

The goal: the official tools (hf, huggingface_hub, hf_xet, git-xet, git-lfs) work against your own infrastructure unmodified. Data stays in your bucket, identity stays in your login system, and only changed chunks move. A hosted version will be available at openxet.com.

Status: the storage server and the Hub API work. openxet serve is a Xet CAS that stock hf_xet (1.7.0 and newer) uploads to and downloads from directly, with global dedup, verified uploads, scoped tokens and signed, range-bound download URLs. On top of it, stock hf and huggingface_hub (2.2.0 and newer) create repositories, upload, download and list them, and git clone and git push work over HTTPS on the same history, with large files through Git LFS and git-xet. Reconstruction answers a 100k-term file within 50 ms at p99 on an idle node, gated in CI. It runs on local disk with a SQLite index; S3, GCS, Azure and Postgres come next, in M3. There is no release yet.

Try it

CI runs both quickstarts as written on every change.

Documentation

Project

License

Apache-2.0