[None][feat] KVCacheManagerV2 C++ translation - #14047
Conversation
|
/bot run --disable-fail-fast --stage-list "PerfSanity" |
5bd984d to
456cfa8
Compare
4f4dd8d to
0802c6c
Compare
4c24d8a to
44c797c
Compare
b4592c1 to
5a1fa77
Compare
fd7d167 to
99bfc50
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #62430 [ run ] triggered by Bot. Commit: |
|
PR_Github #62382 [ run ] completed with state |
|
PR_Github #62430 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #62500 [ run ] triggered by Bot. Commit: |
|
PR_Github #62500 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #62563 [ run ] triggered by Bot. Commit: |
|
PR_Github #62563 [ run ] completed with state
|
…dings Migrates tensorrt_llm/runtime/kv_cache_manager_v2 from pure Python to a C++ implementation under cpp/tensorrt_llm/batch_manager/kv_cache_manager_v2/ with nanobind bindings compiled into bindings.so, preserving the same public API. The dispatcher __init__.py selects the backend via TLLM_KV_CACHE_MANAGER_V2_BACKEND (default "cpp"); both backends pass the shared test suite. CODEOWNERS assigns the new C++ tree to trt-llm-kv-cache-manager-devs. Includes ports of subsequent main features: commit-min-snapshot + SWA-slot reservation, SHA-256 block-key hashing, CUDA-graph request IDs, event manager and stats API to C++, uint64 ReuseScope salt/lora_id, resume-utilization KV constraints, per-conversation KV cache block reuse (PlannedDropHandle), the reuse-probe _KVCache refactor (compute the ReuseMatch once in the manager and pass it into the cache, NVIDIA#14333), SSM-snapshot iteration stats (NVIDIA#16598), the simplified plan_committed_block_drop (db117e6276), and an MPI teardown fix for the unittest/bindings CI shard. Migration planning docs (TODO.md, MIGRATION_PLAN_CPP.md, CPP_MIGRATION_PLAN_MAIN_15633.md) are kept on a separate branch. Signed-off-by: Yao Yao <lowsfer@users.noreply.github.com>
|
/bot run --disable-fail-fast |
|
PR_Github #62674 [ run ] triggered by Bot. Commit: |
|
PR_Github #62674 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #62796 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #62796 [ run ] completed with state
|
|
PR_Github #62838 [ run ] triggered by Bot. Commit: |
|
PR_Github #62838 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #62862 [ run ] triggered by Bot. Commit: |
|
PR_Github #62862 [ run ] completed with state |
Dev Engineer Review
QA Engineer Review
kvCacheManagerV2HostMemTest.cppkvCacheManagerV2StatsTest.cppkvCacheManagerV2TypedIndexTest.cpptests/integration/test_lists/,test-db/, orqa/coverage changes are listed. Test functions should be mapped to CI or manual-QA entries.