Lu

Luminal – Open-source, search-based GPU compiler

Hacker News

Luminal – Open-source, search-based GPU compiler

Hi HN, I’m Joe. My friends Matthew, Jake and I are building Luminal ( https://luminalai.com/ ), a GPU compiler for automatically generating fast GPU kernels for AI models. It uses search-based compilation to achieve high performance. We take high level model code, like you'd have in PyTorch, and generate very fast GPU code. We do that without using LLMs or AI - rather, we pose it as a search problem. Our compiler builds a search space, generates millions of possible kernels, and then searches through it to minimize runtime. You can try out a demo in `demos/matmul` on mac to see how Luminal takes a naive operation, represented in our IR of 12 simple operations, and compiles it to an optimized, tensor-core enabled Metal kernel. Here’s a video showing how: https://youtu.be/P2oNR8zxSAA Our approach differs significantly from traditional ML libraries in that we ahead-of-time compile everything, generate a large search space of logically-equivalent kernels, and search through it to find the fastest kernels. This allows us to leverage the Bitter Lesson to discover complex optimizations like Flash Attention entirely automatically without needing manual heuristics. The best rule is no rule, the best heuristic is no heuristic, just search everything. We’re working on bringing CUDA support up to parity with Metal, adding more flexibility to the search space, adding full-model examples (like Llama), and adding very exotic hardware backends. We aim to radically simplify the ML ecosystem while improving performance and hardware utilization. Please check out our repo: https://github.com/luminal-ai/luminal and I’d love to hear your thoughts!

Share card

Actual performance

153points
60comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, model, models · Missing: agents, macos, agent
92%92% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
89%89% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: llama, ide, io · Missing: https docs, excited, just released
73%73% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoStrong fit for a featured deal · Missing: plus, platform, intuitive
54%54% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: video · Missing: mobile apps, ios, personal
39%39% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

GP
GPU-Based Autorouting for KiCad50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GPU-Based Autorouting for KiCad

Hacker News8
Op
OpenRDMA-An Open Source FPGA-Based 400G RDMA-Like SmartNIC68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OpenRDMA-An Open Source FPGA-Based 400G RDMA-Like SmartNIC

Hacker News2
Ty
Typesense – typo tolerant, delightfully simple, open source search67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Typesense – typo tolerant, delightfully simple, open source search

Hacker News23
Pl
PlaidML, open source deep learning for any GPU74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PlaidML, open source deep learning for any GPU

Hacker News52
Ds
Dstack – an open-source engine for running GPU workloads72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Dstack – an open-source engine for running GPU workloads

Hacker News101
Fi
Firezone, an open-source WireGuard-based alternative to OpenVPN AS75%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Firezone, an open-source WireGuard-based alternative to OpenVPN AS

Hacker News183
Ar
Are they up, an open-source, Go based, alternative to Downdetector74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Are they up, an open-source, Go based, alternative to Downdetector

Hacker News1
Sl
SlideSelection, an Open Source Hooper Selection Implementation47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SlideSelection, an Open Source Hooper Selection Implementation

Hacker News4
Pi
Piki is now open source73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Piki is now open source

Hacker News2
Op
Open Source CNC Beehive With Arduino and Sensors58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open Source CNC Beehive With Arduino and Sensors

Hacker News1