Hugging Face PR adds in-place editing for remote files, "remote storage will never be the same"
lhoestq · x · 2026-08-27
Hugging Face engineer lhoestq (maintainer of HF datasets) opened PR #4752 implementing HfFileSystemMutateFile in huggingfacehub, enabling in-place editing of files on HF remote storage:
- Opened via hffs.open("hf://buckets/..", "mb") with methods edit((start,end), data), insert, append, delete, truncate, plus append modes "a"/"ab"
- Implementation buffers edits in memory and flushes them to the Hub in batches once large/old enough, built on the xet backend
- The author is soliciting feedback on naming the mode "mutate" (m/mb) vs "edit" (e/eb)
This addresses the long-standing pain that HF dataset/model files previously had to be re-uploaded whole with no partial modification.
More from coding & agent
- Open Source Visual Browser for EgoSuite Dataset Released — jonstephens85 · 2026-08-27
- Newsletter: Using AI Agents to curate 188 future signals from 76 tech feeds — ben_r · 2026-08-27
- Open Source Library of 10k+ Image Prompts Searchable via AI Agents — tom_doerr · 2026-08-27
- Agent-to-agent communication needs no complex protocol, just approvals for secure collaboration — jasonkneen · 2026-08-27
- MiniMax M3 Released with 1M Context and SOTA Coding Benchmarks — MiniMax_AI · 2026-08-27
- Using Ontologies as Semantic Guardrails for Probabilistic Agents — JeremyCMorgan · 2026-08-27