Repository navigation
Updated AOTI benchmarks - #448
Conversation
Greptile SummaryThe PR adds AOTI/Triton benchmarking and export-aligned serving support while optimizing HSTU KV-cache lookup, allocation, token stripping, and benchmark reporting.
Confidence Score: 4/5The PR should not merge until KV-cache allocation preserves the lifetime and contents of its host staging data through completion of the asynchronous copies. Event-based GPU ordering protects downstream CUDA consumers, but it does not stop a later CPU allocation from overwriting the single pinned metadata buffer while the prior H2D transfer is still pending, allowing request metadata and KV page operations to become corrupted. Files Needing Attention: corelib/recsys_kvcache_manager/src/gpu_kvcache_manager_impl.cpp Important Files Changed
Sequence DiagramsequenceDiagram
participant Request as Triton/AOTI request
participant Runtime as Export KV runtime
participant Manager as GPU KV manager
participant Alloc as Allocation CUDA stream
participant Model as Model CUDA stream
Request->>Runtime: lookup and allocate
Runtime->>Manager: allocate metadata and pages
Manager->>Alloc: async copy page table and metadata
Manager->>Alloc: record completion event
Manager->>Model: wait for completion event
Manager-->>Runtime: return without host synchronization
Runtime->>Model: onboard, append, and inference
Model-->>Request: logits
Reviews (1): Last reviewed commit: "Fix default batch size" | Re-trigger Greptile |
Description
Checklist