Hugging Face engineer reimplements Xet dedup storage in ~1000 lines of Python
lhoestq · x · 2026-11-27
Hugging Face engineer Quentin Lhoest released nano-xet, an open-source project rewriting the core ideas behind Xet — HF's content-defined-chunking dedup storage layer for large files — in about 1000 lines of Python on top of fsspec.
- Files written to nxet:// are split into content-defined chunks, hashed, deduplicated, packed into xorb objects, and indexed via small JSON files in .nxet/ on any fsspec filesystem
- Uses gear-hash content-defined chunking
- Explicitly a teaching/demo tool, not production: no compression, encryption, CAS server, or concurrent writers
- Kept simple and pure Python for easy reading, debugging, and tweaking
More from Infra
- Thanksgiving GPU deals: H100 at $3.79/hr and RTX 6000 at $0.69/hr on rental platform — StephanSturges · 2026-11-27
- A 10MB classifier routes web-scale PDFs to OCR pipelines for 18 cents per 21K pages — vanstriendaniel · 2026-11-27
- Vercel tops 4M Black Friday deployments, dashboard breaks down AI traffic — cramforce · 2026-11-27
- llama.cpp UI regression: Can't view previous replies while regenerating — Not-Apple · 2026-11-27
- Running a Decision Model on a $35 Rockchip NPU Box at Full fp32 Accuracy — No_Contract_8296 · 2026-11-27
- VO2 neurons that leak and fire: Nature Nanotherapy paper wires spiking neuron straight into racetrack memory — bravo_abad · 2026-11-27