Jacq compiler generates CUDA inference runtimes from model and kernel descriptions
state: expiredheat: lowuncertainty: mediumrelevance: mediumcuda-compilation local-inference model-kernelsImpossibleComputing
What is this?
Jacq is an Apache-2.0 DSL and compiler from ImpossibleComputing for describing models and GPU kernels in readable `.jac` files. Its compiler can generate standalone CUDA inference runtimes, Python weight exporters and kernel harnesses. The project was announced in a Show HN post; its README documents CPU-only validation and code generation, while actual CUDA inference requires an NVIDIA GPU, CUDA, dependencies and model weights. The README also reports scoped tests, including a verified vLLM serving run, but these are project-reported results rather than independent evaluations.
Why it matters
Jacq could make it easier for researchers and enthusiasts to prototype model and attention-kernel changes without building all the surrounding inference machinery themselves. Its generated CUDA and optional vLLM integration offer a path from description to local experiments, but the current hardware and supported-model boundaries limit who can use it and how broadly its results generalize.
Current assessment
New: ImpossibleComputing has released Jacq as an open-source DSL/compiler for model and kernel descriptions. The supplied project documentation says Rust alone is enough to validate, visualize and generate CUDA source, a runtime and a weight exporter; running inference requires an NVIDIA GPU, CUDA, Python dependencies and weights. The README describes an opt-in integration for a pinned vLLM checkout and reports a November 3, 2026 serving check that matched stock fp16 output across seven completion requests for two int4-KIVI cache writers on one 14B model, plus limited standalone model-family checks. These are first-party, scoped claims, not evidence of broad compatibility or performance gains. Jacq does not yet support AMD GPUs or Metal, according to the announcement, and the web results provide no meaningful independent corroboration. Its significance is chiefly lowering the engineering friction of custom CUDA inference experiments; broader accessibility, speedups and production readiness remain unestablished.
Measured heat
now 0 pts/hpeak 0 pts/hcomments 0/hpeers p17momentum: steady1 platformsage 336h
points/hour across evidence ยท reading as of 2026-11-22 05:23:12.085150+11:00 ยท deterministic, not a model opinion
How the heat travelled
Evidence (1) โ โญ canonical anchor
| source | object | author | score | comments |
| ๐ง hn โญ | Show HN: Jacq, a DSL that compiles model and kernel descriptions to CUDARetrieved article excerptOpen article ยท Retrieved 2026-11-07T18:23:58.816373+00:00 # Jacq Inference
Jacq turns readable `.jac` model and kernel descriptions into CUDA. Write a
model specification, inspect what the compiler understands, and generate a
standalone inference runtime and weight exporter. Kernel specifications can
generate standalone CUDA harnesses or supported callable library kernels.
**New here?** A `.jac` file is text, not a model checkpoint. Follow the
[four-lesson tutorial](https://github.com/ImpossibleComputing/jacq/blob/main/docs/tutorial/README.md) for a CPU-only first success
and a path to GPU inference. If you already know the basics, use the
[five-minute quick start](https://github.com/ImpossibleComputing/jacq/blob/main/docs/QUICK_START.md), [format guide](https://github.com/ImpossibleComputing/jacq/blob/main/docs/JAC_FORMAT.md),
or [runnable examples](https://github.com/ImpossibleComputing/jacq/blob/main/examples/README.md).
## First run (Rust only)
From the repository root:
```
cargo build -p jac-cli
./target/debug/jacq --validate examples/tinyllama.jac
./target/debug/jacq --viz examples/tinyllama.jac
./target/debug/jacq --emit-model examples/tinyllama.jac
ls generated/tinyllama/
```
To install the `jacq` command on your PATH, run `cargo install --path crates/jac-cli`.
If you installed this checkout when the command was `jac`, Cargo leaves that
old executable alongside `jacq`. Remove it with `cargo uninstall --bin jac jac-cli`.
You should see `tinyllama_inference.cu` and `tinyllama_export.py`. These
commands need no GPU or model download. The `.jac` file names the Hugging Face
weight source; `--emit-model` generates the exporter but does not run it.
To compile CUDA, export weights, and generate tokens on an NVIDIA GPU, follow
the [next step in Quick start](https://github.com/ImpossibleComputing/jacq/blob/main/docs/QUICK_START.md).
## What is in this repository
- `examples/` โ complete `.jac` model and kernel files with commands to run.
- `docs/tutorial/` โ worked lessons from source text through serving evidence.
- `crates/` โ parser, model IR, CUDA code generation, and the `jacq` CLI.
- `specs/models/` and `specs/kernels/` โ further model and kernel definitions.
- `integrations/vllm_kivi/` โ an opt-in paged int4-KIVI integration for a
pinned vLLM source checkout, with a versioned callable CUDA interface.
- `tests/` โ Python tests for the vLLM integration and ABI checks.
The standalone `--run` path builds a generated CUDA runtime and exports
weights for local inference. The [vLLM setup guide](https://github.com/ImpossibleComputing/jacq/blob/main/docs/VLLM_SETUP.md) covers
the separate source integration for serving experiments. See
[ABI](https://github.com/ImpossibleComputing/jacq/blob/main/docs/ABI.md) for its launch contract and
[GPU validation](https://github.com/ImpossibleComputing/jacq/blob/main/docs/GPU_VALIDATION.md) for a reproducible serving check.
## Verification
The compiler and integration checks run on a CPU-only machine with
`cargo test --workspace` and `python3 -m unittest discover -s tests -v`.
An RTX 4090 direct-launch smoke of the emitted paged KIVI kernel passed four
synthetic cases. A [verified vLLM serving run](https://github.com/ImpossibleComputing/jacq/blob/main/docs/VERIFIED_SERVING.md) on
November 3, 2026 matched stock fp16 output across seven completion requests
for both int4-KIVI cache writers on one 14B model. See
[the model-family checks](https://github.com/ImpossibleComputing/jacq/blob/main/validation/model-families-2026-11-03/README.md) for
scoped standalone TinyLlama, Qwen2.5, and Mistral results and
[the startup compatibility follow-up](https://github.com/ImpossibleComputing/jacq/blob/main/validation/model-families-2026-11-04/README.md)
for early rejection of unsupported KIVI models. See
[GPU validation](https://github.com/ImpossibleComputing/jacq/blob/main/docs/GPU_VALIDATION.md) for the repeatable procedure and
[current boundaries](https://github.com/ImpossibleComputing/jacq/blob/main/docs/LIMITATIONS.md) for the supported lane.
Jacq is Apache-2.0; see [LICENSE](https://github.com/ImpossibleComputing/jacq/blob/main/LICENSE) and [NOTICE](https://github.com/ImpossibleComputing/jacq/blob/main/NOTICE). Contributions
and local test commands are in [CONTRIBUTING.md](https://github.com/ImpossibleComputing/jacq/blob/main/CONTRIBUTING.md). | keithba | 3 | 1 |
Interpretation history
2026-11-07T18:24:28Z
audience grounding: medium โ Jacq could make it easier for researchers and enthusiasts to prototype model and attention-kernel changes without building all the surrounding inference machinery themselves. Its generated CUDA and optional vLLM integration offer a path from description to local experiments, but the current hardware and supported-model boundaries limit who can use it and how broadly its results generalize.
Decision trace
- 11-22 06:20expireexpired deterministically: single-evidence seed quiet 14 days (lifecycle)
- 11-10 22:22review_screenjev screen: no material development (noul=0.19)
- 11-08 05:26attention_candidatecreate
- 11-08 05:24groundJacq could make it easier for researchers and enthusiasts to prototype model and attention-kernel changes without building all the surrounding inference machinery themselves. Its generated CUDA and op
- 11-08 05:24createThe repository documents a usable compiler, tutorials, and bounded validation results, a concrete developer tool release despite limited observed uptake.