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,159 @@
{
"authority": "checkout",
"metadata": {
"id": "audit-recurrent-kv-finalization.guide",
"kind": "knowledge",
"entrypoint": "guide.md",
"title": "Audit vLLM-RLT synchronous early-exit KV propagation, later depth-specific attention reads, and request storage retirement. Use when shallow token exits leave deeper history or release order in question.",
"origin": [
"external"
],
"sources": [
{
"type": "git",
"repo": "https://github.com/InferMatrixLab/InferRSI",
"commit": "e2f3be102c66c358803ed2186ed67bf627ebcbdf",
"path": "src/inferrsi/knowledge/data/skill_library/systems/engines/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md",
"sha256": "fb59f58e1c1ee9490f9c933b9c5ac7788bff367511e6f947c96f53939fc8f521"
},
{
"type": "git",
"url": "https://github.com/InferMatrixLab/vllm-rlt",
"commit": "4a350344027960a48384626aa646f1765fda6d4f",
"paths": [
"README.md",
"LICENSE",
"NOTICE",
"vllm_rlt/core/kv_cache_manager.py",
"vllm_rlt/worker/model_runner.py",
"tests/test_kv_cache.py",
"pyproject.toml",
"vllm_rlt/config.py",
"vllm_rlt/engine/stage_engine.py",
"vllm_rlt/core/scheduler.py",
"vllm_rlt/worker/executor.py",
"vllm_rlt/attention/__init__.py",
"vllm_rlt/attention/backend.py",
"vllm_rlt/models/ouro.py",
"vllm_rlt/layers/__init__.py",
"vllm_rlt/__init__.py",
"tests/conftest.py",
"vllm_rlt/request.py",
"vllm_rlt/worker/metadata.py",
"vllm_rlt/kernels/paged_attention.py",
"vllm_rlt/worker/buffers.py"
],
"readset": "references/source-notes.md",
"identity": "references/source-identity.json",
"license": "Apache-2.0",
"third_party_notices": "references/NOTICE.md",
"revision_precision": "full"
}
],
"applicability": {
"scope": "Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED propagation versus SHARED, later depth-specific Torch-reference attention and normal release/wait/free order. No speculation, connector, preemption, prefix sharing, split/packed prefill or graph/static-buffer path qualification.",
"prerequisites": "The selected native Ouro synchronous path uses host KVMetadata, no speculation/connector/preemption, atomic prefill and disabled graph/static-buffer/packed-prefill paths; changed execution conditions need a new bounded check.",
"input_contract": "Repository revision, model/configuration, recurrent-layer set, loop count, cache layout and block size, dtype/device, attention backend and effective flags, plus the traced token/depth/layer and its next consumer.",
"produced_artifact": "A bounded token/finalization/consumer/retirement trace separating source call order, observed data and written validity, completion evidence and remaining native model/backend/performance gaps.",
"failure_modes": "Substituting mark_finalized for K/V propagation, accepting allocated pages as a complete written prefix, applying LAST_EXITED copy expectations to SHARED, or treating event recording as completion can invalidate the ownership diagnosis.",
"refusal_point": "On a failed prerequisite or complete-prefix check, retain the first failing token/depth/layer and trace the missing operation. Stop the conclusion when flags or metadata ownership leave the selected path."
},
"state": "candidate",
"limitations": [
"Source-derived candidate; native CPU/CUDA, model correctness/quality, performance and agent efficacy are not validated.",
"Allocated capacity, host written-position validity, copied K/V bytes, event recording and completed device work are distinct; host-row checks do not qualify DeviceKVMetadata.",
"Repository Apache-2.0 and retained model/configuration NOTICE attribution do not constitute a whole-tree or model-weight license audit.",
"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."
],
"attribution": [
{
"type": "git",
"url": "https://github.com/InferMatrixLab/vllm-rlt",
"commit": "4a350344027960a48384626aa646f1765fda6d4f",
"paths": [
"README.md",
"LICENSE",
"NOTICE",
"vllm_rlt/core/kv_cache_manager.py",
"vllm_rlt/worker/model_runner.py",
"tests/test_kv_cache.py",
"pyproject.toml",
"vllm_rlt/config.py",
"vllm_rlt/engine/stage_engine.py",
"vllm_rlt/core/scheduler.py",
"vllm_rlt/worker/executor.py",
"vllm_rlt/attention/__init__.py",
"vllm_rlt/attention/backend.py",
"vllm_rlt/models/ouro.py",
"vllm_rlt/layers/__init__.py",
"vllm_rlt/__init__.py",
"tests/conftest.py",
"vllm_rlt/request.py",
"vllm_rlt/worker/metadata.py",
"vllm_rlt/kernels/paged_attention.py",
"vllm_rlt/worker/buffers.py"
],
"readset": "references/source-notes.md",
"identity": "references/source-identity.json",
"license": "Apache-2.0",
"third_party_notices": "references/NOTICE.md"
}
],
"empirical_validation": "not_run",
"atom": {
"when": {},
"license": "Apache-2.0",
"permissions": {
"read": true,
"retain": true,
"redistribute": true
},
"layer": "L3",
"source_span": {
"source_index": 0,
"path": "src/inferrsi/knowledge/data/skill_library/systems/engines/vllm-rlt/audit-recurrent-kv-finalization/SKILL.md",
"byte_range": [
0,
11778
],
"sha256": "fb59f58e1c1ee9490f9c933b9c5ac7788bff367511e6f947c96f53939fc8f521"
}
}
},
"content": {
"guide.md": {
"path": "engines/vllm-rlt/audit-recurrent-kv-finalization.md"
}
},
"parts": {
"navigation": {
"skill_section": "navigation",
"layer": "L0",
"byte_range": [
0,
259
],
"sha256": "410ea0d73814a94e80d00940a4b6f1d025319827846f3c3d7ae09211f102be2c"
},
"decision": {
"skill_section": "decision",
"layer": "L1",
"byte_range": [
0,
4676
],
"sha256": "1487eb445da535238697cf5ff3babb9b48ad4256858781333d55e174805ac8c5"
},
"procedure": {
"skill_section": "procedure",
"layer": "L2",
"byte_range": [
4676,
11778
],
"sha256": "8080e043326ed9698440ab2ddb10d38ce91c1d62b619face758c4c1fd13aec68"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"authority": "checkout",
"metadata": {
"origin": [
"external"
],
"applicability": {
"scope": "Pinned vLLM-RLT native Ouro synchronous scheduling with host KVMetadata: LAST_EXITED propagation versus SHARED, later depth-specific Torch-reference attention and normal release/wait/free order. No speculation, connector, preemption, prefix sharing, split/packed prefill or graph/static-buffer path qualification.",
"prerequisites": "The selected native Ouro synchronous path uses host KVMetadata, no speculation/connector/preemption, atomic prefill and disabled graph/static-buffer/packed-prefill paths; changed execution conditions need a new bounded check.",
"input_contract": "Repository revision, model/configuration, recurrent-layer set, loop count, cache layout and block size, dtype/device, attention backend and effective flags, plus the traced token/depth/layer and its next consumer.",
"produced_artifact": "A bounded token/finalization/consumer/retirement trace separating source call order, observed data and written validity, completion evidence and remaining native model/backend/performance gaps.",
"failure_modes": "Substituting mark_finalized for K/V propagation, accepting allocated pages as a complete written prefix, applying LAST_EXITED copy expectations to SHARED, or treating event recording as completion can invalidate the ownership diagnosis.",
"refusal_point": "On a failed prerequisite or complete-prefix check, retain the first failing token/depth/layer and trace the missing operation. Stop the conclusion when flags or metadata ownership leave the selected path."
},
"state": "candidate",
"limitations": [
"Source-derived candidate; native CPU/CUDA, model correctness/quality, performance and agent efficacy are not validated.",
"Allocated capacity, host written-position validity, copied K/V bytes, event recording and completed device work are distinct; host-row checks do not qualify DeviceKVMetadata.",
"Repository Apache-2.0 and retained model/configuration NOTICE attribution do not constitute a whole-tree or model-weight license audit.",
"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."
],
"empirical_validation": "not_run",
"title": "LICENSE",
"attribution": [
{
"type": "git",
"url": "https://github.com/InferMatrixLab/vllm-rlt",
"commit": "4a350344027960a48384626aa646f1765fda6d4f",
"paths": [
"README.md",
"LICENSE",
"NOTICE",
"vllm_rlt/core/kv_cache_manager.py",
"vllm_rlt/worker/model_runner.py",
"tests/test_kv_cache.py",
"pyproject.toml",
"vllm_rlt/config.py",
"vllm_rlt/engine/stage_engine.py",
"vllm_rlt/core/scheduler.py",
"vllm_rlt/worker/executor.py",
"vllm_rlt/attention/__init__.py",
"vllm_rlt/attention/backend.py",
"vllm_rlt/models/ouro.py",
"vllm_rlt/layers/__init__.py",
"vllm_rlt/__init__.py",
"tests/conftest.py",
"vllm_rlt/request.py",
"vllm_rlt/worker/metadata.py",
"vllm_rlt/kernels/paged_attention.py",
"vllm_rlt/worker/buffers.py"
],
"readset": "references/source-notes.md",
"identity": "references/source-identity.json",
"license": "Apache-2.0",
"third_party_notices": "references/NOTICE.md"
}
],
"sources": [
{
"type": "git",
"repo": "https://github.com/InferMatrixLab/InferRSI",
"commit": "e2f3be102c66c358803ed2186ed67bf627ebcbdf",
"path": "src/inferrsi/knowledge/data/skill_library/systems/engines/vllm-rlt/audit-recurrent-kv-finalization/LICENSE",
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
},
{
"type": "git",
"url": "https://github.com/InferMatrixLab/vllm-rlt",
"commit": "4a350344027960a48384626aa646f1765fda6d4f",
"paths": [
"README.md",
"LICENSE",
"NOTICE",
"vllm_rlt/core/kv_cache_manager.py",
"vllm_rlt/worker/model_runner.py",
"tests/test_kv_cache.py",
"pyproject.toml",
"vllm_rlt/config.py",
"vllm_rlt/engine/stage_engine.py",
"vllm_rlt/core/scheduler.py",
"vllm_rlt/worker/executor.py",
"vllm_rlt/attention/__init__.py",
"vllm_rlt/attention/backend.py",
"vllm_rlt/models/ouro.py",
"vllm_rlt/layers/__init__.py",
"vllm_rlt/__init__.py",
"tests/conftest.py",
"vllm_rlt/request.py",
"vllm_rlt/worker/metadata.py",
"vllm_rlt/kernels/paged_attention.py",
"vllm_rlt/worker/buffers.py"
],
"readset": "references/source-notes.md",
"identity": "references/source-identity.json",
"license": "Apache-2.0",
"third_party_notices": "references/NOTICE.md",
"revision_precision": "full"
}
],
"id": "audit-recurrent-kv-finalization.license",
"kind": "knowledge",
"entrypoint": "LICENSE",
"atom": {
"when": {},
"license": "Apache-2.0",
"permissions": {
"read": true,
"retain": true,
"redistribute": true
},
"layer": "L3",
"source_span": {
"source_index": 0,
"path": "src/inferrsi/knowledge/data/skill_library/systems/engines/vllm-rlt/audit-recurrent-kv-finalization/LICENSE",
"byte_range": [
0,
11358
],
"sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
}
}
},
"content": {
"LICENSE": {
"path": "engines/vllm-rlt/audit-recurrent-kv-finalization/license.txt"
}
}
}
Loading
Loading