colibri container for
Kwaipilot/KAT-Coder-V2.5-Dev,
a coding model that shares the Qwen3.6-35B-A3B architecture (
qwen3_5_moe,
35B total / 3B active, 40 layers, 256 experts top-8, hybrid Gated Attention +
Gated DeltaNet). Experts are quantized to
group-scaled int4 (
expert_gs=64,
one f32 scale per 64 input elements per row, about 22 GB), the higher-accuracy
variant of colibri's int4 format: on the sibling base model the same pipeline
cut first-token logit error by
~44 % vs per-row scaling (see
qwen36-35b-a3b-colibri-i4-gs64).
Self-contained: bundled
tokenizer.json, flat
config.json.
This runs a 35B-class coding MoE interactively on one or two 8 GB GPUs plus
~30–40 GB RAM (see numbers below).
The qwen3.6 engine is not merged upstream yet; pick the branch matching your
setup (all on
github.com/kreuzzelg/colibri):
1git clone -b gs64-gpu https://github.com/kreuzzelg/colibri && cd colibri/c
2# GPU tier (CUDA):
3nvcc -O3 -std=c++17 -arch=native -c backend_cuda.cu -o backend_cuda.o
4gcc -O3 -march=x86-64-v3 -fopenmp -pthread qwen36.c qwen36_tier.c vulkan_gemv.c \
5 backend_cuda.o -o qwen36 -lm -lcudart -lstdc++
6
7SNAP=$(python -c "from huggingface_hub import snapshot_download; \
8print(snapshot_download('Kreuzzelg/kat-coder-v2.5-dev-colibri-i4-gs64'))")
9printf 'Write a Python function that returns the n-th Fibonacci number using memoization.\n' > prompt.txt
10SNAP=$SNAP N_NEW=300 COLI_CUDA=1 HEAT_FILE=heat.bin \
11 OMP_NUM_THREADS=<physical cores> OMP_WAIT_POLICY=ACTIVE OMP_PROC_BIND=close \
12 ./qwen36 256 4 prompt.txt
13# CPU only: build from the gs64-ab branch with `make -C c qwen36` and drop COLI_CUDA.
Verified qualitatively: correct, clean Python (memoization, docstring, type
hints, edge cases) on the Fibonacci prompt; coherent 200-token continuations
under the benchmark prompt.