DeepSeek open sources super-fast GPU kernels

Post Thumbnail

Chinese company DeepSeek, which has made a breakthrough in the field of artificial intelligence, has begun an unprecedented week of open source releases, launching the first of five promised tools – FlashMLA. This project represents optimized GPU kernels that the company uses in its production systems.

FlashMLA implements multi latent attention (MLA) technology, a revolutionary method that significantly reduces memory consumption in transformers by efficiently compressing key and value matrices. Although the method itself has already proven its effectiveness in DeepSeek models, until today, optimized implementations for it practically did not exist.

The key technical characteristics of FlashMLA are impressive:
– Support for bfloat16 format, providing an optimal balance between computation speed and accuracy
– KV page cache with block size 64
– Record performance: up to 3000 GB/s in memory-bound configuration
– 580 teraflops in compute-bound configuration on H800 SXM5 GPU using CUDA 12.6

The tool is fully compatible with the entire line of NVIDIA Hopper graphics processors, including H100, H800, and other models. FlashMLA is particularly effective when processing variable-length sequences, making it an ideal solution for modern natural language processing tasks.

DeepSeek plans to continue publishing its internal developments: from February 24 to 28, the company promises to release four more repositories from its internal ecosystem to open access. This decision could significantly impact the development of the entire AI industry by providing developers with access to advanced optimizations previously available only within the company.

The project code is already available on GitHub (github.com/deepseek-ai/FlashMLA), allowing developers from around the world to begin integrating these optimizations into their projects, potentially significantly improving the performance of their AI systems.

Почитать из последнего
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.