Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"authority": "checkout",
"metadata": {
"id": "optimization-search-policy.adaptation-interfaces",
"kind": "knowledge",
"title": "Candidate knowledge records: adaptation interfaces",
"entrypoint": "adaptation-interfaces.md",
"origin": [
"external"
],
"applicability": {
"scope": "Selecting, ordering and stopping optimization experiments: candidate generation, exploration versus exploitation, mechanism diversity, negative experiment memory, cost-aware escalation, budget allocation and stopping criteria, drawn from vllm-evolve, the TRT-LLM casebook and SkillOpt",
"prerequisites": "The useful work, quality contract, allowed approximations, timing boundary and resource budget are frozen before search, and a complete restartable incumbent is preserved; reading the procedures authorizes no execution, framework change, new resource spending or publication",
"input_contract": "Profiling data, existing config, prior experiment and negative records and the casebook for the current bottleneck class, model and hardware; each target stage's fraction of E2E time; the target, locally measured uncertainty and the authorized budget",
"produced_artifact": "An ordered experiment plan: one candidate change per round with an explicit hypothesis and its motivating evidence, a bounded shortlist of distinct mechanisms with assumptions, uncertainty, expected impact and evaluation cost, negative records turned into search constraints, and a stop-or-switch decision; when authorized rounds run, a recorded verdict per round with best-seen and delivered outcomes kept apart",
"failure_modes": [
"The evaluation protocol, measurement setup or baseline changes in the same round as the candidate",
"Benchmark budget is spent on a candidate that fails correctness",
"A matching keyword in a rejection record is used as a causal diagnosis or automatic veto, or one failed implementation excludes a whole solution family",
"Expensive work starts on a stage without computing its Amdahl contribution, so a large local speedup yields little E2E gain",
"One mechanism family keeps being sampled only because budget remains, without re-profiling after the limiting stage moves",
"Roofline proximity or a utilization threshold is used as a universal stopping rule",
"Screening is allowed to skip the frozen acceptance regimes or required service-level evidence"
],
"refusal_point": "Discards a correctness-breaking, worse or inconclusive change instead of integrating it, preserves no-change when candidates cannot be separated, does not count a shortcut outside the authorized semantics as an optimization, and does not let a successful probe qualify a broken final state"
},
"limitations": [
"Source-derived candidate; no local efficacy validation.",
"Original typed source inventory is not normalized; retain source identities and limits in the procedure/readsets.",
"Checkout-only local skill; no automatic execution or promotion.",
"Only declared references are required; other cross-skill links are navigation.",
"Historical revisions require a matching checkout or a retained store."
],
"state": "candidate",
"empirical_validation": "not_run",
"attribution": [
{
"type": "paper",
"id": "usenix:osdi24:zhong-yinmin",
"version": "OSDI 24 proceedings, July 2024, pages 193-210",
"url": "https://www.usenix.org/conference/osdi24/presentation/zhong-yinmin",
"sections": [
"3.3",
"4.1-4.2",
"6.1-6.5",
"7",
"Appendices A-C"
],
"readset": "references/distserve-phase-placement/source-record.json"
},
{
"type": "unknown",
"scope": "Pre-existing sources remain in their original procedure/readsets; this amendment does not normalize that inventory"
}
],
"sources": [
{
"type": "git",
"repo": "https://github.com/InferMatrixLab/InferRSI",
"commit": "e2f3be102c66c358803ed2186ed67bf627ebcbdf",
"path": "src/inferrsi/knowledge/data/skill_library/playbooks/planning/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md",
"sha256": "5e761957cb5ecd93926e6ffc13deee7c830c6e8f0ee3c3846e9dd3b50dc74446"
}
],
"atom": {
"layer": "L3",
"when": {},
"license": "Apache-2.0",
"permissions": {
"read": true,
"retain": true,
"redistribute": true
},
"source_span": {
"source_index": 0,
"path": "src/inferrsi/knowledge/data/skill_library/playbooks/planning/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md",
"byte_range": [
0,
3893
],
"sha256": "5e761957cb5ecd93926e6ffc13deee7c830c6e8f0ee3c3846e9dd3b50dc74446"
}
}
},
"content": {
"adaptation-interfaces.md": {
"path": "playbooks/optimization-search-policy/references/papers-20261015/knowledge/adaptation-interfaces.md"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"authority": "checkout",
"metadata": {
"id": "optimization-search-policy.source-notes",
"kind": "knowledge",
"title": "Pack F — exact readset and evidence ledger",
"entrypoint": "source-notes.md",
"origin": [
"external"
],
"applicability": {
"scope": "Selecting, ordering and stopping optimization experiments: candidate generation, exploration versus exploitation, mechanism diversity, negative experiment memory, cost-aware escalation, budget allocation and stopping criteria, drawn from vllm-evolve, the TRT-LLM casebook and SkillOpt",
"prerequisites": "The useful work, quality contract, allowed approximations, timing boundary and resource budget are frozen before search, and a complete restartable incumbent is preserved; reading the procedures authorizes no execution, framework change, new resource spending or publication",
"input_contract": "Profiling data, existing config, prior experiment and negative records and the casebook for the current bottleneck class, model and hardware; each target stage's fraction of E2E time; the target, locally measured uncertainty and the authorized budget",
"produced_artifact": "An ordered experiment plan: one candidate change per round with an explicit hypothesis and its motivating evidence, a bounded shortlist of distinct mechanisms with assumptions, uncertainty, expected impact and evaluation cost, negative records turned into search constraints, and a stop-or-switch decision; when authorized rounds run, a recorded verdict per round with best-seen and delivered outcomes kept apart",
"failure_modes": [
"The evaluation protocol, measurement setup or baseline changes in the same round as the candidate",
"Benchmark budget is spent on a candidate that fails correctness",
"A matching keyword in a rejection record is used as a causal diagnosis or automatic veto, or one failed implementation excludes a whole solution family",
"Expensive work starts on a stage without computing its Amdahl contribution, so a large local speedup yields little E2E gain",
"One mechanism family keeps being sampled only because budget remains, without re-profiling after the limiting stage moves",
"Roofline proximity or a utilization threshold is used as a universal stopping rule",
"Screening is allowed to skip the frozen acceptance regimes or required service-level evidence"
],
"refusal_point": "Discards a correctness-breaking, worse or inconclusive change instead of integrating it, preserves no-change when candidates cannot be separated, does not count a shortcut outside the authorized semantics as an optimization, and does not let a successful probe qualify a broken final state"
},
"limitations": [
"Source-derived candidate; no local efficacy validation.",
"Original typed source inventory is not normalized; retain source identities and limits in the procedure/readsets.",
"Checkout-only local skill; no automatic execution or promotion.",
"Only declared references are required; other cross-skill links are navigation.",
"Historical revisions require a matching checkout or a retained store."
],
"state": "candidate",
"empirical_validation": "not_run",
"attribution": [
{
"type": "paper",
"id": "usenix:osdi24:zhong-yinmin",
"version": "OSDI 24 proceedings, July 2024, pages 193-210",
"url": "https://www.usenix.org/conference/osdi24/presentation/zhong-yinmin",
"sections": [
"3.3",
"4.1-4.2",
"6.1-6.5",
"7",
"Appendices A-C"
],
"readset": "references/distserve-phase-placement/source-record.json"
},
{
"type": "unknown",
"scope": "Pre-existing sources remain in their original procedure/readsets; this amendment does not normalize that inventory"
}
],
"sources": [
{
"type": "git",
"repo": "https://github.com/InferMatrixLab/InferRSI",
"commit": "e2f3be102c66c358803ed2186ed67bf627ebcbdf",
"path": "src/inferrsi/knowledge/data/skill_library/playbooks/planning/optimization-search-policy/references/papers-20261015/references/source-notes.md",
"sha256": "54d83c3713045d59a48821bcf93598374ba4a630e3891ad39498f919317c4fb8"
}
],
"atom": {
"layer": "L3",
"when": {},
"license": "Apache-2.0",
"permissions": {
"read": true,
"retain": true,
"redistribute": true
},
"source_span": {
"source_index": 0,
"path": "src/inferrsi/knowledge/data/skill_library/playbooks/planning/optimization-search-policy/references/papers-20261015/references/source-notes.md",
"byte_range": [
0,
13370
],
"sha256": "54d83c3713045d59a48821bcf93598374ba4a630e3891ad39498f919317c4fb8"
}
}
},
"content": {
"source-notes.md": {
"path": "playbooks/optimization-search-policy/references/papers-20261015/references/source-notes.md"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
{
"authority": "checkout",
"metadata": {
"id": "performance-ceiling-analysis.acceptance-criteria",
"kind": "knowledge",
"title": "Establish acceptance criteria before search",
"entrypoint": "acceptance-criteria.md",
"origin": [
"external"
],
"applicability": {
"scope": "inference serving systems (LLM, diffusion, audio)",
"hardware": "any; CUDA examples from sources, NPU adaptation required",
"prerequisites": "profiler access (nsys/ncu or NPU equivalent), or willingness to work at L1 analytical only"
},
"limitations": [
"Source-derived candidate; no local efficacy validation.",
"Acceptance-target preparation is agent guidance: the CLI and pure L1 helper do not infer gates, and unsupported estimates cannot replace user criteria or qualify campaign outcomes.",
"Mooncake's prefix-reuse condition is an analytical approximation; current cache validity, placement, effective rates, overlap and SLO outcomes remain unverified.",
"FlexGen's cross-tier feasibility comparison assumes fitted rates and perfect overlap; relaxed placements may OOM, the printed bls wording remains unresolved, and current compatibility, latency and efficacy are unverified.",
"The HuggingArch checkpoint anchor covers stored weights only. KV size and growth, activation traffic, collectives and end-to-end serving performance stay unanchored by it. Per-rank weight bytes stay unanchored until the second gate passes, and that gate checks the declared layout and format, not the placement a framework uses at run time.",
"Checkout-only local skill; no automatic execution or promotion.",
"Only declared references are required; other cross-skill links are navigation.",
"Historical revisions require a matching checkout or a retained store."
],
"state": "candidate",
"empirical_validation": "not_run",
"attribution": [
{
"url": "https://github.com/NVIDIA/TensorRT-LLM",
"commit": "f33e0e5fd55b",
"paths": [
".claude/skills/perf-analysis/SKILL.md",
".claude/skills/perf-nsight-compute-analysis/references/roofline-analysis.md",
".claude/skills/perf-workload-profiling/SKILL.md",
".claude/skills/perf-optimization/SKILL.md",
".claude/skills/perf-optimization-casebook/SKILL.md",
".claude/skills/exec-env-check/SKILL.md",
".claude/skills/exec-remote-slurm/SKILL.md",
".claude/agents/perf-profiling-specialist.md"
],
"type": "git",
"revision_precision": "prefix"
},
{
"url": "https://github.com/hahnyuan/LLM-Viewer",
"commit": "1893e4b5705d",
"paths": [
"roofline_model.py",
"model_analyzer.py",
"hardwares/hardware_params.py",
"configs/DiT.py"
],
"type": "git",
"revision_precision": "prefix"
},
{
"url": "https://github.com/ebugger/Empirical-Roofline-Toolkit",
"commit": "0771fa9621d0",
"paths": [
"Empirical_Roofline_Tool-1.1.0/README.md",
"Empirical_Roofline_Tool-1.1.0/Drivers/driver1.c",
"Empirical_Roofline_Tool-1.1.0/Kernels/kernel1.c",
"Empirical_Roofline_Tool-1.1.0/Scripts/roofline.py"
],
"type": "git",
"revision_precision": "prefix"
},
{
"type": "paper",
"id": "usenix:fast25-qin",
"version": "FAST '25 proceedings, February 25-27, 2025, pp. 155-170",
"url": "https://www.usenix.org/system/files/fast25-qin.pdf",
"content_sha256": "543e56c541523c5e807d2231370f96749b2294bc901266397a7265b18ae2c130",
"sections": [
"2.2, Table 1, Equations 1-2",
"3.1 and 5.3 (storage-scope limits only)"
],
"readset": "references/mooncake-prefix-reuse-feasibility.md",
"license": "UNKNOWN"
},
{
"type": "paper",
"id": "pmlr-v202-sheng23a",
"version": "ICML 2023 official ten-author edition, PMLR 202:31094-31116",
"url": "https://proceedings.mlr.press/v202/sheng23a/sheng23a.pdf",
"content_sha256": "7cd9673c37640011d38ef4b8595f5e1e09a85b1f803a3734f19c97ca66c75b9e",
"sections": [
"1 and 3; 4.1-4.3, Figures 1-3, Algorithm 1, Equation 1",
"4.4 (scope boundary only); 6 and 6.1, Tables 2-3 (denominators and ablations)",
"Appendix A.3 selected cost/peak-memory formulas, PDF pages 15-17; A.2 ending only (theorem boundary)"
],
"readset": "references/flexgen-offload-feasibility.md",
"license": "CC-BY-4.0"
},
{
"type": "git",
"url": "https://github.com/shenh10/HuggingArch",
"commit": "facbbbc96856e558b9084a94a5070b2e2c86cf0b",
"paths": [
"docs/validation.md",
"backend/arch/validate/_matching.py",
"backend/arch/validate/_weight_ledger.py",
"backend/arch/validate/_ablation.py",
"docs/parallelism.md",
"docs/evaluation_model.md",
"docs/measured_calibration.md",
"docs/known_limitations.md",
"kernel_bench/emit.py",
"backend/inference/op_calibration.py",
"backend/measure/scope.py",
"LICENSE"
],
"readset": "references/huggingarch-checkpoint-anchor.md",
"identity": "references/huggingarch-source-identity.json",
"license": "MIT"
},
{
"type": "document",
"url": "https://shenhan.cc/blog/huggingarch",
"displayed_publication_date": "2026-10-08",
"accessed": "2026-11-10",
"sha256": "31d0e0a9bbf9e32723fb6ab09179fbefb2fbba1043863f1475ecc7ea7ce24ed4",
"readset": "references/huggingarch-checkpoint-anchor.md",
"scope": "Live, unversioned companion post; sections 2.5, 2.6, 3.6 and 3.7 read from one retrieval, whose HTML bytes the sha256 identifies. Published before the pinned commit, so not attributable to it; figures absent from the repository are recorded as unverified.",
"license": "UNKNOWN"
},
{
"type": "git",
"url": "https://github.com/xLLM-AI/xllm",
"commit": "90f6f13ea3d94334d4b5bd73d9fb23fc66bef1e4",
"paths": [
"LICENSE",
"THIRDPARTYNOTICES.md",
"docs/src/content/docs/en/features/disagg_pd.md",
"docs/src/content/docs/en/hardware/ascend_npu.md",
"tests/core/scheduler/pd_scheduler_test.cpp",
"version.txt",
"xllm/core/disaggregation/pd_scheduler.cpp",
"xllm/core/disaggregation/pd_service_impl.cpp",
"xllm/core/scheduler/scheduler_factory.cpp",
"xllm/core/scheduler/scheduler_factory.h",
"xllm/core/scheduler/scheduler_policy.cpp"
],
"readset": "references/xllm-pd-handoff.md",
"license": "Apache-2.0 with component-specific notices"
}
],
"sources": [
{
"type": "git",
"repo": "https://github.com/InferMatrixLab/InferRSI",
"commit": "e2f3be102c66c358803ed2186ed67bf627ebcbdf",
"path": "src/inferrsi/knowledge/data/skill_library/playbooks/measurement/performance-ceiling-analysis/references/acceptance-criteria.md",
"sha256": "e96efc42005af591a87b57dd6f1e9bffa8e351bcd023bd093ac37239a0486638"
}
],
"atom": {
"layer": "L3",
"when": {},
"license": "Apache-2.0",
"permissions": {
"read": true,
"retain": true,
"redistribute": true
},
"source_span": {
"source_index": 0,
"path": "src/inferrsi/knowledge/data/skill_library/playbooks/measurement/performance-ceiling-analysis/references/acceptance-criteria.md",
"byte_range": [
0,
5917
],
"sha256": "e96efc42005af591a87b57dd6f1e9bffa8e351bcd023bd093ac37239a0486638"
}
}
},
"content": {
"acceptance-criteria.md": {
"path": "playbooks/performance-ceiling-analysis/references/acceptance-criteria.md"
}
}
}
Loading
Loading