Skip to content

Archive: Phase 2 and Phase 3

These are historical records

Everything in this section was written while Phase 2 and Phase 3 were being built, and it is kept for provenance rather than for reference. Several documents describe work as incomplete or in progress, and some contain throughput figures that later measurements corrected. For the current state of a model use Model guides; for current numbers use Performance.

Eight of the fourteen records were written in Chinese and are marked below. The rest are in English. Nothing here has been translated or rewritten — the pages are as they were at the time, so that a claim in them can still be traced.

Record What it covers
FlashMemory + KV_SWAP Phase 2 validation results Runtime scoring and KV_SWAP behaviour at long context, measured 2026-06-14. (Chinese)
CppBackend automatic tensor parallelism The design for letting CppBackend launch TP the way vLLM/SGLang/PyTorch do, instead of requiring a launch script.
cpp_engine batching (Phase 3.1) The design for adding continuous batching to QwenEngine for 2–8 concurrent requests without losing the single-request path. (Chinese)
Phase 3.1 progress report Mid-phase status while the batching framework was being compiled and tested. (Chinese)
Phase 3.1 completion summary The batching framework complete and compiling. (Chinese)
Phase 3.2 implementation plan The multi-slot KV cache layout for max_batch_size 2/4/8. (Chinese)
Phase 3.2 completion summary Multi-slot KV cache implemented and compiling. (Chinese)
Phase 3.3 implementation plan Moving slot_id out of global state into explicit parameters, and wiring the batch API. (partly Chinese)
Phase 3.3 completion summary Slot ID threading and batch API integration complete. (Chinese)
Phase 3.4 completion summary The QwenBatchScheduler implementation.
Phase 3.5 auto-TP results Results for automatic tensor parallelism without manual process management.
Phase 3.5 benchmark guide How to run the benchmark scripts that validate QwenBatchScheduler performance.
Phase 3.5 performance report The performance validation report, left in progress.
Phase 3.5 validation results Measured on c8c3b15: 4× RTX 2080 Ti, TP4, Qwen3.8-27B-FP8, 16-token prompts, 32 new tokens.