Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a31e86a655
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if [[ "${KV_TRANSFER_CONFIG:-}" == *"TelysKVConnector"* || "${KV_TRANSFER_CONFIG:-}" == *"telys_vllm.connector"* ]]; then | ||
| fail "the Telys connector requires TELYS_ENABLED=true" |
There was a problem hiding this comment.
Validate connector overrides in passthrough arguments
When an endpoint supplies --kv-transfer-config through the supported VLLM_EXTRA_ARGS setting, this guard never examines it: with TELYS_ENABLED unset or false, a Telys configuration reaches the stock entrypoint without being rejected. In enabled mode, the same setting can replace the validated Telys configuration with another connector, because build_vllm_args() appends raw arguments last (docs/configuration.md:52-53 explicitly documents them as “able to override anything above”). This bypasses the wrapper’s opt-in and exclusive-connector checks. Validate the effective connector configuration, or reject connector overrides in passthrough arguments, before either startup branch proceeds.
Useful? React with 👍 / 👎.
|
Addressed the passthrough connector review finding. The Telys entrypoint now rejects Tests: |
|
Updated the example to connector v0.1.5 at Validation:
Default-off stock behavior and connector-override rejection remain covered. Real GPU/model acceptance is still pending. |
|
A40 acceptance of Validation:
Default-off behavior and passthrough rejection remain covered. Please rerun the same four-chain A40 collision case with head |
|
Real A40 acceptance passed on 49bfa65 with Qwen2.5-7B: the four-chain case now loads 16,576 external tokens (16,384 shared prefix + 192 suffix), with all 1,044 blocks verified and all outputs matching stock. Warm batch wall was 4.167s versus 4.568s recompute. Default-off startup and all 12 override rejections passed. Cold drain, digest/tamper handling, delete/reset, and credential sanitization passed. Test pod and volume were deleted. |
A40 acceptance of the earlier connector pin exposed an exact-chunk collision: four chains sharing one start and length could not all load. This PR adds a separate, opt-in Telys example, pinned to connector v0.1.6 at
2f0c20ccec56afcb613973e296281f51e23cbe26, which probes the exact colliding chunk key instead of accepting only the advertised start+length candidate.The derived image stays on
runpod/worker-v1-vllm:v2.30.3(vLLM 0.32.0), installs Telys SDK 0.1.15, and leaves the stock worker image unchanged. WithTELYS_ENABLED=true, its entrypoint supplies and validatesTelysKVConnector, disables unsupported async KV loading, rejects connector overrides inVLLM_EXTRA_ARGS, and unsets Telys credentials before starting the worker. With a volume mounted at/runpod-volume, the minimal enabled configuration is:Only the Telys example, its note in
docs/configuration.md, and its CPU tests are added. The default path still executes/src/main.pywith non-TelysKV_TRANSFER_CONFIGpassthrough intact; no model, credentials, or signed Telys runtime is baked into the derived image.On A40 with Qwen2.5-7B at
49bfa65, the previously failing four-chain case loaded 16,576 external tokens and matched stock outputs.