| 1 | # coco — roadmap / known gaps |
| 2 | |
| 3 | coco is experimental and under active development. Tracked work, roughly ordered: |
| 4 | |
| 5 | ## Testing (highest priority — currently thin) |
| 6 | - [ ] **Build a real test suite (target ≥1200 cases).** Today there are only a handful of unit tests. |
| 7 | Must cover: integer/float **overflow** and saturation, numerical edge cases (NaN/Inf, subnormals, |
| 8 | zero-length / degenerate shapes), and **security/robustness** — malformed GGUF/config inputs, |
| 9 | adversarial tensor shapes and dims, bounds on every parsed length. Do not assume hardening until this exists. |
| 10 | |
| 11 | ## Architectures |
| 12 | - [ ] Wire GatedDeltaNet into Qwen3.5 (per-layer linear/full-attention dispatch in DecoderLayer). |
| 13 | - [ ] Qwen3.5 full-attention layers: partial_rotary_factor (NoPE) + attn_output_gate. |
| 14 | - [ ] Verify MLA vs candle reference on DeepSeek-V2-Lite; implement the fused Metal MLA kernel. |
| 15 | - [ ] Tier-A dense archs (Llama / Mistral / Gemma) + sliding-window mask. |
| 16 | |
| 17 | ## Quantization / kernels |
| 18 | - [ ] Integrate the true-3-bit (3.125 bpw) path into the CLI default. |
| 19 | - [ ] Outlier-split support in QWeight::from_tq for the fast path. |
| 20 | - [ ] Tiled prefill kernel (candle O(seq^2) prefill dominates at long context). |
| 21 | |
| 22 | ## Persistence / interop |
| 23 | - [ ] On-disk .coco artifact (avoid re-quantizing every load); optional GGUF export. |
| 24 | |
| 25 | ## Fidelity |
| 26 | - [ ] Downstream-task (accuracy) ablation of quantization loss, not just relFro + greedy coherence. |