whatisgithub

What is q36?

ambud/q36 — explained in plain English

Analysis updated 2026-05-18

31CudaAudience · researcherComplexity · 5/5Setup · hard

In one sentence

q36 is a hand-tuned CUDA inference engine that runs the Qwen3.6-35B model faster than llama.cpp, but only on RTX 5090 GPUs.

Mindmap

mindmap
  root((q36))
    What it does
      Runs Qwen3.6 35B
      Custom CUDA engine
      Faster than llama.cpp
    Tech stack
      C and CUDA
      RTX 5090 Blackwell
      OpenAI compatible server
    Use cases
      Local LLM inference
      Speed benchmarking
      Accuracy validation
    Audience
      ML researchers
      Local LLM power users
    Setup
      Needs RTX 5090
      CUDA Toolkit 13.1
      Download model separately

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run Qwen3.6-35B locally on an RTX 5090 with faster prefill and decode than llama.cpp.

USE CASE 2

Benchmark and validate LLM inference speed and accuracy on Blackwell GPUs.

USE CASE 3

Serve Qwen3.6 through an OpenAI-compatible API for existing tools to connect to.

What is it built with?

CCUDAQwen3.6

How does it compare?

ambud/q36yassa9/dvlt.custablemarkk/hash256_miner
Stars313120
LanguageCudaCudaCuda
Setup difficultyhardhardmoderate
Complexity5/55/54/5
Audienceresearcherresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires an RTX 5090 or similar Blackwell GPU, a specific CUDA Toolkit version, and manually downloaded model weights.

So what is it?

q36 is a specialized inference engine built to run one specific large language model, Qwen3.6-35B, as fast as possible on one specific graphics card, the NVIDIA RTX 5090. Instead of trying to support many different models and GPUs the way general purpose tools like llama.cpp or vLLM do, q36 is written entirely in C and CUDA and optimized narrowly for this one pairing, on the idea that a purpose built engine can outperform general tools on the cases they were not specifically tuned for. According to benchmarks in the project, q36 processes prompts faster than llama.cpp at every context length tested, and generates new text faster in nearly every case as well, with one exception at very long context depths. It achieves this partly through custom CUDA code for both the attention layers and the recurrent memory layers the model uses, and through techniques like shrinking the memory used to store conversation context and instantly saving and restoring conversation state from system memory in a few milliseconds. It ships with a command line chat interface, a server that speaks the same protocol as OpenAI's API so existing tools can connect to it, a benchmarking tool, and a way to measure how accurate the model's outputs are compared to llama.cpp on a standard test set. Using q36 requires specific hardware, an RTX 5090 or a similar Blackwell generation NVIDIA GPU, plus a specific CUDA toolkit version installed on Linux, and downloading the Qwen3.6 model weights separately from Hugging Face. This is not a general purpose tool for casual users. It is aimed at people already running large language models locally who have the exact hardware it targets and want the fastest possible performance from it. The project has 31 stars on GitHub, and its license is not stated in the material reviewed.

Copy-paste prompts

Prompt 1
Help me build q36 from source and run it against my Qwen3.6-35B GGUF model.
Prompt 2
Explain the --kv-quant and --mtp flags in q36 and when I should use them.
Prompt 3
Show me how to start q36_server as an OpenAI-compatible endpoint on port 8080.

Frequently asked questions

What is q36?

q36 is a hand-tuned CUDA inference engine that runs the Qwen3.6-35B model faster than llama.cpp, but only on RTX 5090 GPUs.

What language is q36 written in?

Mainly Cuda. The stack also includes C, CUDA, Qwen3.6.

How hard is q36 to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is q36 for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.