Repository

ImpossibleComputing/jacq

Jacq

Open github.com

ImpossibleComputing/jacq

Jacq

A DSL and compiler that converts model and kernel descriptions into standalone CUDA inference runtimes and Python weight exporters.

Visit project

Show me a random project

First shared
Nov 7, 2026
HN activity
31

Show HN@keithbaNov 7, 2026

Show HN: Jacq, a DSL that compiles model and kernel descriptions to CUDA

I was working (with agents) on testing out various attention algorithm ideas I had, and I found that the existing infrastructure/libraries made it more difficult than it should be. So I created Jacq, a DSL and compiler. A jacq file describes a model’s configuration, weights, layers, and pipeline. Jacq turns it into a standalone CUDA inference runtime and a Python weight exporter. Kernel descriptions can also generate CUDA harnesses. The easiest way to try it is the TinyLlama example in the README. Building, validating, visualizing, and generating CUDA only require Rust. Of course, running inference does require an NVIDIA GPU, CUDA, Python dependencies, and weights. Jacq doesn't support other GPU vendors (AMD, etc) or Metal, yet (PR's welcome!) There's also an experimental vLLM patch to compile and patch your jacq file into a vLLM build, as well. Feedback very welcome!

Community

Hacker News discussion

Loading the thread…