Post Thumbnail

Hugging Face speeds up data processing by 3x

The Xet team at Hugging Face introduced a new approach to optimizing data upload and download on the Hub platform, which allows for 2-3 times faster file processing. The technology is based on an improved Content-Defined Chunking (CDC) method, which revolutionizes the way information is stored and transmitted.

The scale of the problem is impressive: the Hub platform stores nearly 45 petabytes of data distributed across 2 million repositories of models, datasets, and spaces. With a standard approach to splitting files into 64 KB chunks, uploading a 200 GB repository would require creating 3 million storage records. At the platform scale, this could lead to 690 billion chunks.

The Hugging Face team identified serious problems that arise when simply striving for maximum data deduplication through chunk size reduction. Millions of separate requests during each upload and download create critical load on network infrastructure. There’s also excessive load on databases and storage systems, leading to significant increases in metadata management costs in services like DynamoDB and S3.

To solve these problems, the company developed and open-sourced xet-core and hf_xet tools, written in Rust and integrated with huggingface_hub. The new approach focuses not only on data deduplication but also on optimizing network transfer, storage, and overall development experience.

The team’s main goal is to ensure fast experimentation and effective collaboration for teams working on models and datasets.

Autor: AIvengo
For 5 years I have been working with machine learning and artificial intelligence. And this field never ceases to amaze, inspire and interest me.

Latest News

NEO robot from 1X works autonomously without internet on onboard GPU

The humanoid robot NEO from 1X Technologies demonstrated cool capabilities that finally bring us closer to humanity's long-standing dream of full-fledged household assistants.

Wave of Instagram blocks: AI mistakenly bans thousands of accounts

Instagram users are facing a real wave of mysterious blocks that has been continuing for several weeks. The scale of the problem is staggering. Thousands of accounts have been blocked without visible violations of platform rules.

Police dispersed 2,000 people from AI startup Cluely's party

Police dispersed what founder and director of AI startup Cluely Roy Li called "the most legendary party that never happened".

First Robot Olympics will be held in ancient Olympia

Greece is preparing to host the world's first International Olympiad of Anthropomorphic Robots. An event that can without exaggeration be called an important moment in the evolution of robotics.

OpenAI found "personality switches" in AI neural networks

OpenAI researchers peered into the digital subconscious of neural networks and discovered something amazing there. Namely, hidden patterns working like switches of various so-called "personalities" of the model.