UC Berkeley's K-search: Auto-Translating CUDA Kernel Optimizations to Apple's MLX
berkeley_ai · x · 2026-07-30
As the AI hardware ecosystem fragments, transferring mature kernel optimizations (like NVIDIA's CUDA) to new chips (like Apple Silicon) typically requires extensive manual rewrites.
To solve this, UC Berkeley and IBM Research introduced K-search, an evolutionary kernel search framework. It automatically translates decades of CUDA optimization knowledge into native strategies for Apple's MLX framework. Benchmarks show their translated attention code achieves 0.97x the speed of Apple's native implementation. The project is open-source.
More from Infra
- DeepSeek's Claimed 83.4% Ascend 950DT Margin Debunked: Losing ¥36.6/Hour at 60% Utilization — teortaxesTex · 2026-12-02
- One number = +27%: raising MLX's 20-op CUDA graph cap on DGX Spark boosts Qwen3 to 430 tok/s — AIFlow_ML · 2026-12-02
- Polymarket: Jensen Huang admits under oath Nvidia AI chips were diverted to China — Polymarket · 2026-12-02
- China pours billions into optical chips for AI data centers despite US curbs threat — pstAsiatech · 2026-12-02
- 2.5-bit quantization runs a 35B MoE with 1M context in ~13.4 GiB on a 16GB MacBook — MatMuloi9128 · 2026-12-02
- Air New Zealand to roll out free Starlink-powered inflight Wi-Fi starting 2027 — elonmusk · 2026-12-02