跳到正文
DEV Community· FreyaLi·· 55 分鐘前AI 評分50

筆電級 Inkling 2 Mini 用 59 分鐘寫出 33 KB CUDA 程式碼,卻因遺漏父類別初始化而崩潰

A Laptop-Sized Model Wrote 33 KB of CUDA in 59 Minutes, Then Forgot Its Parent

AI 導讀

開發者 @elliotarledge 透過 Claude Code,讓 Inkling 2 Mini 在單張 RTX PRO 6000 GPU 上為 KernelBench-CUDA 編寫 CUDA 核心,三項任務中兩項通過獨立重新評分。第三項耗時 59 分鐘、生成 33 KB 核心程式碼,最終因缺少父類別初始化呼叫而崩潰。模型亦自行找出並修正由 C++ 運算子優先次序造成的 12% 數值誤差。

正文

FreyaLi

Inkling 2 Mini kernel run infographic

A developer known as @elliotarledge ran the regular Inkling 2 Mini through Claude Code on a single RTX PRO 6000 GPU, using it to write CUDA kernels for KernelBench-CUDA. Two of the three tasks passed an isolated regrade. The third spent 59 minutes and 33 KB of kernel code before crashing on a missing parent init call.

The good part is real engineering:

  • Custom inline CUDA for a fused mixture-of-experts layer.
  • A warp-level attention kernel.
  • A 12 percent numerics error caused by C++ operator precedence, found and fixed by the model itself.

The comic part:

  • 59 minutes and 33 KB of generated kernel code, dead on a forgotten superclass initializer.
  • One passing task lost over half an hour waiting on a shared GPU lock, so its backup was never graded.
  • As the original post put it: a laptop-sized model writing GPU kernels is here, and it still trips over the first line of PyTorch.

This is a fair snapshot of agentic coding today: the ceiling is already useful, and the floor is still surprisingly low.

Read the full story: https://www.threerouter.com/blog/518

ai #fun #daily

來源:DEV Community · dev.to