Commit Graph

6 Commits

Author SHA1 Message Date
Claude
d221383fc0 doc(prd): complete base engine migration checklist 2026-08-08 10:48:43 +00:00
Claude
c077f7fd40 doc(prd): add block_reduce + exception mapping records 2026-08-08 08:02:37 +00:00
Claude
4698cd5687 doc(prd): CCCL tuning_batched_topk → sampling strategy mapping 2026-08-08 07:54:46 +00:00
Claude
53d816b154 doc(prd): CCCL agent_rle + adjacent_difference → streaming mapping
agent_rle.cuh (1072 lines) complete design: BlockDiscontinuity for
segment detection + streaming_context for cross-tile state + ScatterDirect
for compact output. Maps to reasoning/content segment detection in
streaming SSE responses.

adjacent_difference maps to streaming delta_text computation.
2026-08-08 07:53:40 +00:00
Claude
87cc24b819 doc(prd): CCCL tuning_select_if.cuh complete design → serving_chat.py mapping
tuning_select_if.cuh (2729 lines) complete design analysis:
- 3-level dispatch: compute_capability → sm_tuning → benchmark params
- Per-type/per-mode/per-hardware specialization tables
- Every param from real benchmark (annotated with 4 speedup ratios)
- Fallback to conservative default when no tuning match

Maps to our serving layer:
- Request type dispatch (tool/reasoning/basic) = compute_capability
- max_tokens cap by type = threads_per_block/items_per_thread
- Sub168 log data = benchmark annotations
- default_policy = conservative fallback

No code changes needed — current serving_chat.py already implements
this 3-level dispatch pattern with Sub168 benchmark-derived params.
2026-08-08 07:52:02 +00:00
Claude
85f3240c98 doc(prd): create PRD with CCCL→base mapping table and competition strategy
Records CCCL source → base modification mappings from each loop iteration.
Strategy: serving-layer-only patches + env var tuning, never touch model layer.
2026-08-08 07:38:18 +00:00