You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a baseline implementation for paged-KV scoring in the generation engine.
The current generation-engine scoring path needs a reference baseline that works with the paged KV-cache layout. This baseline should provide a correctness-first implementation that can be used to compare against future optimized paged-KV scoring kernels or execution paths.
The goal is to ensure that scoring with paged KV produces results consistent with the existing non-paged or contiguous-KV scoring behavior, while establishing a clear performance and correctness baseline for later optimization.
Scope
Implement a baseline paged-KV scoring path in the generation engine.
Support scoring using paged KV-cache metadata, including block/page tables and sequence offsets.
Validate numerical correctness against the existing scoring implementation.
Add basic benchmark or logging support to compare baseline performance.
Expected Outcome
The generation engine should be able to run scoring with paged KV enabled, producing correct scores/logits/logprobs that match the existing baseline within acceptable tolerance.
Activity
inaniloquentee commentedon Jun 3, 2026
This is the PR: https://github.com/Flink-ddd/RL-Kernel/pull/70