Fable 5 Crafts First CUDA 'Megakernel' from Scratch, Achieves 18.7x Speedup in 2.5 Hours

marsbitОпубликовано 2026-07-07Обновлено 2026-07-07

Введение

AI model Fable 5 (a safety-limited version of Anthropic's Claude Mythos) has achieved a breakthrough in GPU kernel optimization. In the rigorous KernelBench-Mega benchmark—which requires fusing an entire model's compute block into a single kernel—Fable 5 autonomously wrote a highly optimized CUDA "megakernel." This kernel executes a complete Kimi-Linear W4A16 hybrid decoding task within a single GPU kernel launch, using 14 grid barriers to sequence operations. The result was a performance increase of 18.7x over the baseline on an RTX PRO 6000 GPU, significantly outpacing competitors like Claude Opus 4.8 (14.4x) and GPT-5.5 (4.34x). Notably, its performance advantage widened with longer context lengths. The model spent the majority of its 2.5-hour, 550k-token session analyzing benchmarks and theoretical limits before coding, leading to an exceptionally efficient final design. Anthropic co-founder Jack Clark described this as the beginning of a "recursive self-improvement (RSI) loop," where AI's ability to optimize its own underlying computational infrastructure could rapidly accelerate its own development cycle. This advance highlights AI's growing capability in complex, low-level engineering tasks that were previously a human stronghold.

[Insights] AI can now write CUDA code from scratch to fully utilize GPUs! Fable 5 soars with 18.7x speedup, leaving GPT-5.5 trailing by over 4 times. Anthropic co-founder declares: The RSI self-evolution has begun.

AI has written the fastest kernel in history!

In the latest round of the GPU operator benchmark KernelBench-Mega, Fable 5 stands out as a clear leader.

On the RTX PRO 6000, it wrote CUDA code entirely "from scratch," achieving a staggering 18.7x speedup.

In comparison, even the powerful Claude Opus 4.8 only managed 14.4x, while GPT-5.5 achieved merely 4.34x.

Fable 5 leads by a margin of over 4 times, establishing a commanding lead.

The final word on this came from Anthropic co-founder Jack Clark.

His assessment is succinct: this marks the beginning of the "Recursive Self-Improvement (RSI) cycle."

Fable 5 Surges 18.7x, Crushes GPT-5.5

AI has written the world's fastest low-level code, not only outperforming humans in speed but also achieving peak "purity" in the code itself.

It's important to note that KernelBench-Mega is no ordinary benchmark.

It no longer tests minor tweaks to single, isolated operators. Instead, it forces an entire model's computational block into a single kernel, performing deep operator fusion—

The hardcore challenge this time is 02_kimi_linear_decode, a mixed decoding task for Kimi-Linear W4A16 (4-bit weights, bf16 activations).

The rules are extremely strict: each model gets only one autonomous session and is pushed to the limit within a 3-hour real-time constraint.

The result sheet delivered by Fable 5 seems to slam the physical limits right into the faces of its competitors:

Fable 5: 18.71x

Opus 4.8: 14.4x

GPT-5.5: 4.34x

Sonnet 5: 4.0x

Even more counter-intuitively, its performance *increases* with longer context length!

At 2K context, it led by 17.8x. At 8K, it expanded to 18.9x. When stretched to 16K, it soared directly to 19.5x.

It's important to understand that as context length increases, the KV Cache inevitably swells, and the attention computation per token surges dramatically.

This is typically the critical area where decoding kernel performance "bleeds out."

But Fable 5, with extreme hardcore tactics, forcibly crammed all calculations into a single "kernel launch," greatly amortizing the fixed barrier synchronization overhead.

Simultaneously, its int4 computational efficiency clung tightly to the hardware's memory bandwidth limit.

The result is that while others hit bottlenecks, its lead over the baseline not only didn't shrink but actually widened under increasing pressure.

The First True "Megakernel" in History

However, what truly sends shivers down the spines of industry insiders isn't just this speed.

What Fable 5 wrote is the first true "megakernel" in the history of KernelBench-Mega.

A "megakernel" refers to compressing the entire inference pipeline into a single kernel to run in one go, with no intermediate stops or context switches.

This is one of the most notoriously difficult styles of GPU programming.

Even human engineers find it daunting, and no model had ever truly achieved it on the leaderboard before.

So, what makes it so "pure"?

Using torch.profiler reveals a startling detail:

When decoding each token, Fable 5's kernel initiates cooperation "exactly once."

int4 dequantization, convolution, SiLU, KDA gated delta state, MLA hidden state attention absorption, MoE routing with top-8 experts, various RMSNorm, even KV cache writes—

All crammed into this single launch, completed in stages via 14 grid barriers.

All other high-scoring models have to split the problem into 4-14 separate kernel launches to barely finish the run.

Once, versus fourteen times.

This difference isn't theoretical. Each kernel launch forces the GPU to pause, hand over control; the idle time in between is wasted potential.

While others split the work dozens of times, Fable 5 bundles all tasks into a single execution. What's saved is pure performance.

2.5 Hours, 550k Tokens Written in One Go

Fable 5's process of writing the kernel didn't start with frantic coding.

During the entire session, it spent 64% of the time in silence—quietly timing the baseline, micro-benchmarking grid barriers, deriving a "roofline" upper limit of about 29 bytes per token.

Address: https://huggingface.co/datasets/Infatoshi/kernelbench-mega-traces/blob/main/20260701_172615_claude_claude-fable-5_02_kimi_linear_decode.jsonl

After this groundwork, it wrote the entire kernel in one go. The first benchmark run directly hit 14.4x.

Then, in the final hour, it deleted barriers, squeezed int4 dequantization to near "free," pushing itself all the way to 18.7x.

It attempted one negative optimization mid-way, reverted immediately after testing, with no self-justification, only data mattered.

The entire process: 2.5 hours, approximately 550k tokens.

Here, the most easily overlooked point is—

Fable 5 is merely the "safety-aligned version" of Anthropic's internal model, Claude Mythos.

The "AI Self-Evolution" Cycle Begins

Precisely because of this, Anthropic co-founder Jack Clark, in the latest issue of Import AI, directly issued a weighty judgment—

This marks the formal commencement of the "Recursive Self-Improvement" (RSI) cycle.

For the subtitle of this issue, he left only one sentence: Is this the start of a new world?

His logic is straightforward: the ability to autonomously develop and optimize kernels is one of the most foundational input tasks for AI R&D.

The better AI becomes at writing kernels, the faster training and inference become; the faster they are, the stronger the next generation becomes; the stronger it is, the more powerfully it writes kernels—

Once this flywheel starts spinning, it no longer requires much human pushing.

Fable 5 isn't just leading in "building itself"; it's starting to take on human jobs.

Recently, on the Remote Labor Index, AI's completion rate has climbed from 2.5% at launch in October 2025 to July 2026.

In less than eight months, the cutting-edge level has more than quadrupled.

Clark indicates that the rate at which AI is expanding its own economic boundaries is now comprehensively surpassing the speed at which humans can reconstruct their "comparative advantage."

Half Sprint, Half Awe

Interestingly, in the very same issue of Import AI, Jack Clark concludes with a piece of science fiction—

A world in 2050 where "universal computers" have been banned by humanity due to their extreme danger.

In the post-"Great Collapse" world, only analog computers, clumsily built from water pipes, containers, and brass gears, remain in operation—

To predict the weather, you have to encode mountain ranges into fixed impedance structures within the hardware;

To simulate floods, you have to weave electronic circuits into the actual terrain of riverbeds.

The person who wrote "The RSI cycle has begun" immediately turns to imagine a world where universal computation is locked in a cage.

This probably captures the most genuine "sense of rift" of this moment: half sprint, half awe.

A little over a year ago, when KernelBench was first released, the then strongest model, OpenAI o1, only managed 4% on the hardest task.

Today, AI is already writing its own drivers.

Humanity spent decades squeezing GPU limits to where they are today. Fable 5 did it in just 2.5 hours.

The countdown may have quietly begun.

References:

https://x.com/elliotarledge/status/2072814573753975266?s=20

https://www.reddit.com/r/singularity/comments/1uowkp0/fable_5_sits_at_the_top_of_kernelbench_jack_clark/

https://importai.substack.com/p/import-ai-464-fables-writes-gpu-kernels

This article is from the WeChat public account "AI Era Insights"; author: ASI Apocalypse; editor: Peach

Трендовые криптовалюты

Связанные с этим вопросы

QWhat is the Fable 5 model's performance advantage over GPT-5.5 in the KernelBench-Mega test, according to the article?

AIn the KernelBench-Mega GPU operator benchmark test, Fable 5 achieved a speedup of 18.7x over the baseline. This is over four times faster than GPT-5.5, which achieved a speedup of 4.34x.

QWhat is a 'megakernel' as described in the context of Fable 5's achievement?

AA 'megakernel' or 'super kernel' refers to a single GPU kernel that compresses the entire inference process (including operations like int4 dequantization, convolution, SiLU, KDA gating, MLA latent attention, MoE routing, RMSNorm, and KV cache writing) to run in one launch with staged execution via grid barriers, instead of splitting the task into multiple separate kernel launches. This minimizes the synchronization and overhead costs associated with multiple kernel launches.

QWhat did Anthropic co-founder Jack Clark suggest is beginning with Fable 5's ability to write high-performance GPU kernels?

AJack Clark suggested that Fable 5's capability marks the beginning of a 'Recursive Self-Improvement (RSI) loop.' This is a cycle where AI's ability to develop and optimize its own low-level code leads to faster training and inference, which in turn creates more powerful AI models, which then become even better at writing efficient code, potentially creating a self-sustaining acceleration loop with less human intervention.

QHow long did it take Fable 5 to write its high-performance CUDA kernel, and how many tokens were involved in the process?

AThe process took approximately 2.5 hours and involved about 550,000 tokens. The model spent a significant portion of this time (64%) on profiling and micro-benchmarking before writing the final code.

QAccording to the article, what is a notable counterpoint or 'sense of tearing' mentioned regarding the rapid AI advancement symbolized by Fable 5?

AThe article highlights a 'sense of tearing' or contradiction: on one hand, there is rapid technological狂奔 (like AI writing its own drivers), and on the other, a sense of敬畏 (awe or caution). This is exemplified by Jack Clark himself, who announced the start of the RSI loop, also writing speculative fiction about a future where 'general-purpose computers' are banned due to their perceived danger, replaced by analog, physical computing systems.

Похожее

Заработав 7,2 миллиона долларов за неделю: как именно pump.fun получает прибыль?

За неделю с 29 июня по 5 июля протокол pump.fun получил доход в размере 7,2 миллиона долларов. Половина чистого дохода направляется на выкуп и сжигание токенов PUMP, за отчетный период было сожжено токенов на 3,7 миллиона долларов, что составляет 41,8% от объема предложения в обращении. Доход формируется за счет основных сервисов платформы: Bonding Curve (объем сделок 553 миллиона долларов), PumpSwap (объем 16,5 миллиарда долларов) и Terminal. Годовой доход может составить около 3 миллиардов долларов, что демонстрирует переход платформы к устойчивой модели с положительным денежным потоком. Ключевым моментом является экономическая модель токена PUMP. Выкуп и сжигание 50% чистого дохода напрямую связывают финансовые результаты платформы со стоимостью токена, создавая цикл положительной обратной связи. Платформа расширяет функционал, превращаясь из запускающей площадки для мем-токенов в полноценную экосистему. Оптимизирована скорость обмена, упрощен процесс пополнения счета через KYC, улучшены инструменты для разработчиков в Terminal. Запуск функции GO и системы вознаграждений для сообщества способствует созданию контента и повышает активность пользователей. Таким образом, pump.fun эволюционирует от зависимости от мем-трендов к зрелой бизнес-модели с диверсифицированными источниками дохода, ценностным предложением для держателей токенов и растущей экосистемой услуг.

marsbit31 мин. назад

Заработав 7,2 миллиона долларов за неделю: как именно pump.fun получает прибыль?

marsbit31 мин. назад

Tiger Research: Три стратегии для финансовых учреждений, чтобы успевать за волной токенизации

Отчет Tiger Research анализирует стратегии для финансовых учреждений в условиях роста рынка токенизации реальных активов (RWA), который достиг $250-360 млрд к началу 2026 года. Основная проблема — отсутствие четких регуляторных рамок во многих юрисдикциях. Институтам предлагается три подхода: ожидать местного законодательства (рискуя упустить возможности), использовать регуляторные песочницы (для ограниченных экспериментов) или выходить на зарубежные рынки с устоявшимся регулированием для накопления опыта. Для выхода на рынок необходимо проработать шесть ключевых аспектов: выбор юрисдикции, получение лицензий, определение класса активов, круг целевых инвесторов, механизмы расчетов и операционные требования. Выделяются два основных пути: прямой вход в регулируемую юрисдикцию (например, Гонконг, Сингапур, США) с использованием лицензированных платформ или "нативный" ончейн-подход через такие платформы, как Ondo Global или Plume Nest, которые минимизируют необходимость в локальном юридическом присутствии. Отчет подчеркивает, что токенизация — не волшебство, а перенос традиционных инструментов на новую инфраструктуру, требующий высокой точности. Юридическая экспертиза остается самым затратным этапом. Ключевой вывод: не стоит ждать полного регулирования. Финансовым институтам необходимо действовать сейчас, выбирать подходящую стратегию и накапливать практический опыт, поскольку рынок не будет ждать.

Foresight News54 мин. назад

Tiger Research: Три стратегии для финансовых учреждений, чтобы успевать за волной токенизации

Foresight News54 мин. назад

‘Поощрять демократию’ ценой безопасности? Внутри эксплойта Bonk на $20 млн

Мемкоин-проект BonkDAO стал жертвой взлома, в результате которого было похищено 20 миллионов долларов. Инцидент произошел из-за вредоносного предложения по управлению (governance proposal). Злоумышленник, приобретя достаточно токенов BONK, создал предложение, которое с минимальным порогом одобрения в 1% позволило вывести средства из казны проекта. Аналитики безопасности раскритиковали слабые настройки управления BonkDAO, указав на отсутствие необходимых мер защиты, таких как период блокировки или требование множественных подтверждений для транзакций казны. Исследователь Тейлор Монахан отметила, что данный случай демонстрирует проблему приоритета «демократизации» через DAO в ущерб безопасности. После новости о взломе цена токена BONK упала на 10%. Несмотря на это, данные on-chain-аналитики показывают, что крупные держатели (киты) продолжают накопление токена с середины июня, что может поддержать цену. Однако если рыночные условия ухудшатся, мемкоин может обновить годовой минимум. Проект сотрудничает с правоохранительными органами и биржами для расследования инцидента.

ambcrypto1 ч. назад

‘Поощрять демократию’ ценой безопасности? Внутри эксплойта Bonk на $20 млн

ambcrypto1 ч. назад

Zoomex X Space: Итоги встречи с Дэвидом Джеймсом и Панелью трейдеров Чемпионата мира

Zoomex провел третий эпизод X Space в рамках своей благотворительной инициативы «World Cup Impact Pledge», собрав на одной виртуальной сцене голкипера сборной Англии Дэвида Джеймса и панель трейдеров. Обсуждались плей-офф, психология пенальти, философия вратарского искусства и шансы Англии на победу, в которую Джеймс верит безоговорочно. Ключевой темой стала параллель между подготовкой вратаря и трейдера. Джеймс объяснил, что давление возникает не от частых ударов, а от необходимости сделать ключевой сейв после долгого бездействия, когда концентрация должна быть на пике. Подобно трейдеру, который не боится следующего движения рынка благодаря своей стратегии, подготовленный вратарь не боится удара — он к нему готов. Особое внимание уделили пенальти. Джеймс описал два режима: чистую подготовку (анализ данных, привычек бьющего) и чистый инстинкт, который может подвести. Он подчеркнул, что ритуалы и мысленные репетиции — это всегда результат практики, а не спонтанность. Эта идея напрямую соотносится с трейдингом, где глубокий анализ данных оттачивает интуицию для прогнозирования рынков. Джеймс также затронул эволюцию вратарской позиции, отметив, что изменения в правилах (например, ввод мяча в игру от ворот) превратили качественный первый пас из опции в обязательное требование, в то время как физические аспекты игры остались прежними. В завершение Джеймс подтвердил свой прогноз на победу Англии, выбранную им благотворительной организацией стала UEFA Foundation, в пользу которой Zoomex выделит 1000 USDT, а в случае верного прогноза — дополнительно 5000 USDT.

TheNewsCrypto2 ч. назад

Zoomex X Space: Итоги встречи с Дэвидом Джеймсом и Панелью трейдеров Чемпионата мира

TheNewsCrypto2 ч. назад

Глубокое изучение списка партнеров Open USD: посмотрите, кто вошел, и вы поймете, куда направляются деньги

**Open USD: Анализ альянса партнеров и направления финансовых потоков** Стабильная монета Open USD дебютировала с беспрецедентной коалицией из более чем 150 партнеров, включая BlackRock, Visa, Mastercard, Stripe, Coinbase, крупные банки (BNY Mellon, Bank of America), технологических гигантов (Google, IBM), торговые платформы (Shopify) и криптокомпании (Ripple, Aave, MetaMask). Этот список раскрывает, кто видит в стейблкоинах будущее критической финансовой инфраструктуры и стремится не остаться в стороне. **Мотивы ключевых игроков:** * **Управляющие активами (BlackRock):** Стремятся управлять огромными резервами стейблкоина, получая комиссию. * **Торговцы и банки (Shopify, банки):** Для торговцев — снижение комиссий за прием платежей и доход с остатков. Для банков — защитная стратегия: вместо того чтобы терять депозиты, они присоединяются к альянсу, чтобы сохранить роль в расчетах и получить долю дохода от резервов. * **Технологические компании (Google, IBM):** Видят в открыто управляемом стейблкоине идеальный инструмент для программируемых платежей между машинами в будущем. * **Криптосектор:** Получает доступ к мейнстрим-партнерам и ликвидности, обеспечивая новой монете реальную полезность с первого дня. **Парадокс и проблема:** В альянс вступили прямые конкуренты (Visa/Mastercard, Coinbase/Ripple). Их объединяет страх остаться вне новой инфраструктуры, даже если она угрожает их текущему бизнесу (как в случае с карточными сетями). Однако общее управление может замедлить принятие решений. **Вывод:** Список партнеров Open USD показывает сдвиг парадигмы: стейблкоин больше не продукт одной компании (как у Circle или Tether), а общая инфраструктура, которой индустрия предпочитает коллективно владеть. Главная угроза для существующих игроков — не технология, а то, что их потенциальные клиенты объединились, чтобы создать альтернативу.

Foresight News2 ч. назад

Глубокое изучение списка партнеров Open USD: посмотрите, кто вошел, и вы поймете, куда направляются деньги

Foresight News2 ч. назад

Торговля

Спот

Популярные статьи

Неделя обучения по популярным токенам (2): 2026 может стать годом приложений реального времени, сектор AI продолжает оставаться в тренде

2025 год — год институциональных инвесторов, в будущем он будет доминировать в приложениях реального времени.

1.9k просмотров всегоОпубликовано 2025.12.16Обновлено 2025.12.16

Неделя обучения по популярным токенам (2): 2026 может стать годом приложений реального времени, сектор AI продолжает оставаться в тренде

Обсуждения

Добро пожаловать в Сообщество HTX. Здесь вы сможете быть в курсе последних новостей о развитии платформы и получить доступ к профессиональной аналитической информации о рынке. Мнения пользователей о цене на AI (AI) представлены ниже.

活动图片