Architecture Links

A comprehensive guide to all architecture documentation in C-Kernel-Engine.

Runbooks

v8 Qwen3-VL Runbook

Scoped operator runbook for the validated v8 multimodal inference path: Qwen3-VL decoder + matching mmproj.

cks-v8-run ck_run_v8.py Qwen3-VL
Open v8 Runbook

v8 Vision Encoder Architecture

Design page for how the v8 vision encoder is derived from GGUF + template + lowering, then stitched into the decoder bridge.

qwen3_vl_vision.json build_ir_v8.py encoder → bridge → decoder
Open Vision Encoder Page

v7 Inference + Training Runbook

Copy/paste workflow for HF GGUF inference plus true_bpe training and train->infer handoff.

ck_run_v7.py run train_data_pipeline_v7.py ck_chat.py
Open v7 Runbook

v7 Profiling Runbook

Repeatable performance workflow for v7 training kernels with perf, VTune, flamegraphs, and Advisor.

perf vtune advisor
Open v7 Profiling

v7 SVG Dataset Runbook

Operator workflow to generate Stage A pretraining and Stage B midtraining SVG corpora from docs/site/assets/*.svg, then hand off to v7 training.

build_svg_corpus_from_assets_v7.py prepare_ascii_dataset_v7.py curriculum-stage stage_a|stage_b
Open SVG Dataset Runbook

Core

Quantization

Optimization

Infrastructure

Temp / Work in Progress

Draft Documentation
These pages are work-in-progress and may be moved or updated.

Quantization Math Deep Dive

Explains Q5_0/Q8_0 block formats, dequantization math, and AVX-512 vectorization strategy.

Read More

GEMM Memory Layout

Covers quantized block storage, cache blocking strategies, and KV cache layouts.

Read More

Quick Navigation

By Task

Task Documentation
Understanding the system System Overview, Concepts, v7 Backprop IR, v7 CE Parity, v7 Grad-Accum Windows, v7 Runbook
Implementing new kernels Kernel Reference, Codegen
Quantization work Quant Fundamentals, Bit Visuals, GGUF Parsing
Performance optimization GEMM Layout, v7 Train Layout+Dispatch, Threadpool Playbook, SIMD
Debugging & profiling Profiling, v7 Profiling Runbook, Testing, v7 CE Parity Deep Dive, v7 Runtime Stitch Graph, v7 Runbook
Operator train + compute workflow v7 SVG Dataset Runbook, v7 Inference + Training Runbook, v7 Profiling Runbook
Image
100% | |
Scroll to zoom | Drag to pan | W/H to fit | 0 to reset | ESC to close