Close RWKV-7 production serving gaps - #12
Merged
Merged
Conversation
Define fail-closed prefix-cache, runtime LoRA, quantization, and exact-card validation gates. Assisted-by: OpenAI Codex
Add block-aware pure and hybrid prefix caching, runtime LoRA support, selective quantization gates, and exact-card evidence. Assisted-by: OpenAI Codex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
load/switch/remove benchmark.
plus negative exact-card evidence.
boundaries.
Why
The initial native RWKV-7 integration served and quantized the model, but
production follow-up still needed non-vacuous prefix reuse, standard runtime
adapters, and fail-closed quantization claims. This patch reuses vLLM's existing
Mamba cache, LoRA, quantization, and V1 engine infrastructure without forking
scheduler or cache-engine subsystems.
Validation
tests/model_executor/test_rwkv7.py- 32 passed, 2 skipped.interface/configuration tests passed.
cold/hit and Torch/auto output exact.
cold/hit and Torch/auto output exact.
base restoration passed.
lm_head-only online INT8 reducedmodel memory from 2.85 to 2.72 GiB, reached 1.0224x fp16 throughput, and
retained 1.0 token agreement.
recorded as a negative result and is not enabled by default.
git diff --checkpassed.Scope and upstream relationship
This is a downstream follow-up based directly on synchronized official vLLM
history. It does not open a competing official-vLLM PR while
vllm-project/vllm#50077 remains open. Full W8/W4 rows remain
memory/compatibility evidence unless all card-local speed and token gates pass.