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
UBTech will send Walker S2 robots to serve on China's border for $37 million

Chinese company UBTech won a contract for $37 million. And will send humanoid robots Walker S2 to serve on China's border with Vietnam. South China Morning Post reports that the robots will interact with tourists and staff, perform logistics operations, inspect cargo and patrol the area. And characteristically — they can independently change their battery.

Anthropic accidentally revealed an internal document about Claude's "soul"

Anthropic accidentally revealed the "soul" of artificial intelligence to a user. And this is not a metaphor. This is a quite specific internal document.

Jensen Huang ordered Nvidia employees to use AI everywhere

Jensen Huang announced total mobilization under the banner of artificial intelligence inside Nvidia. And this is no longer a recommendation. This is a requirement.

AI chatbots generate content that exacerbates eating disorders

A joint study by Stanford University and the Center for Democracy and Technology showed a disturbing picture. Chatbots with artificial intelligence pose a serious risk to people with eating disorders. Scientists warn that neural networks hand out harmful advice about diets. They suggest ways to hide the disorder and generate "inspiring weight loss content" that worsens the problem.

OpenAGI released the Lux model that overtakes Google and OpenAI

Startup OpenAGI released the Lux model for computer control and claims this is a breakthrough. According to benchmarks, the model overtakes analogues from Google, OpenAI and Anthropic by a whole generation. Moreover, it works faster. About 1 second per step instead of 3 seconds for competitors. And 10 times cheaper in cost per processing 1 token.