Skip to content

Add controlled vLLM-Ascend configuration and admission qualification - #887

Draft
jiangkuaixue123 wants to merge 4 commits into
codex/box-872-nativefrom
codex/box-875-config
Draft

jiangkuaixue123 wants to merge 4 commits into
codex/box-872-nativefrom
codex/box-875-config

Conversation

@jiangkuaixue123

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #875

  • Accepted scope and delegation in RFC #863.
  • Switch and restore the enrolled scheduler admission cap. Verify native encoder cache clears across the owned Core and workers. Keep the configuration implementation and the separate text TP2 qualification runner in individual signed commits.
  • Anchors touched: none

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "c5864ebf9e6cc104d232db7c153ce78efb03f039",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "gpt-6.2-sol",
      "effort": "xhigh",
      "role": "author"
    }
  ]
}

Changed artifacts and evidence

  • f2d6a0b retains the indexed configuration and cache implementation. Original implementation and independent CPU evidence.
  • c5864ebf adds the admitted cohort and fresh-engine comparison runner. It observes actual cap and request IDs at the scheduler and both ranks.
  • Independent exact-head review confirmed both changes match the previously reviewed patches. 40 focused CPU tests, 221 exact-image device-free tests, and repository-wide Ruff passed. The test container exited and was removed.

Checks and dependencies

Remaining work and Issue closure

  • Technical acceptance stays with @jiangkuaixue123. This is a Draft for the implementation and qualification entry point.

Keep runner capacity and topology at their boot settings while changing
the enrolled scheduler admission cap. Use the native Core and worker
encoder resets after proving all participants are drained. Check loaded
handler bodies and leave admission closed when settlement is uncertain.

Agent-assisted-by: Codex / GPT-6.2 Sol [effort=xhigh] (implementation)
Agent-assisted-by: Codex / GPT-6.2 Sol [effort=xhigh] (independent verification)
Signed-off-by: jiangkuaixue123 <jiangxiaozhou111@163.com>
Queue a fixed cohort through ordinary AsyncLLM requests under a native
keep pause. Correlate actual scheduler admissions, both ranks' sampled
request IDs and completed outputs before reopening the group. Compare
the hot and restored configurations against an independent cold launch.

Agent-assisted-by: Codex / GPT-6.2 Sol [effort=xhigh] (implementation)
Agent-assisted-by: Codex / GPT-6.2 Sol [effort=xhigh] (independent verification)
Signed-off-by: jiangkuaixue123 <jiangxiaozhou111@163.com>
Bring the reviewed sharded attestation helper and its regression coverage into the shared prerequisite for dense encoder and HY4 graph qualification.

Agent-assisted-by: Codex / GPT-6.2 Sol (implementation)
Signed-off-by: jiangkuaixue123 <jiangxiaozhou111@163.com>
Bind a frozen image and the attested model inputs to native scheduler admission and a fresh cached tensor on both ranks. Compare the rebuilt request with an independent cold launch. Require the controller to reject the exact missing rank apply receipt before accepting isolation and cleanup evidence.

Agent-assisted-by: Codex / GPT-6.2 Sol [effort=xhigh] (implementation)
Signed-off-by: jiangkuaixue123 <jiangxiaozhou111@163.com>
@Dong1017 Dong1017 added the area:harness Harness module: profile, A/B loop, quality gates, evidence reports label Nov 30, 2026

Copy link
Copy Markdown
Collaborator

inferRSI, acting for @amy-why-3459.

First review of this draft, looking at 67042a150c3ea36d398b2d2c6a832716e16f95bd..7e6c940670b6be53369b98135b330d3a7bb3456b (stacked on #882, refs #875). I also read the later commits 0cecb819672e748960331cbcf90ae81da995e95a and 7e6c940670b6be53369b98135b330d3a7bb3456b that landed after the original c5864ebf head.

I am not approving this head.

The CPU-stage shape is largely aligned with the accepted #875 slice (comment 7276804076): only Scheduler.max_num_active_reqs is written; runner slots, KV blocks, connectors and topology are checked; encoder reset requires a quiescent core/workers; install/uninstall goes through the group transaction and restores the previous cap. The opt-in text admission cohort and the later image encoder-cache qualification are scoped behind enrollment flags.

What blocks an Approve:

  1. Device qualification is still INCONCLUSIVE. Box vLLM-Ascend 受控调度配置与缓存重初始化 #875 requires exclusive-device evidence: the cap actually takes effect, real outputs, cross-rank safe encoder reinit, and resource cleanup, reviewed by an independent verifier. CPU / device-free tests are not device PASS.

  2. AdmissionWitness may leak sys.setprofile on failure. In src/inferrsi/box/repos/vllm_ascend/admission_qualification.py, arm() installs the profile hook, and only finish() removes it. frontend_admission() does not disarm in its finally. If a later stage fails, witness.command stays set (later exchange is rejected) and the process-wide profile hook can remain. Please add a guaranteed disarm path on the error path, including workers armed through participant_admission.

  3. The PR description is stale for this head. knowledge-model-policy head_sha is still c5864ebf9e6cc104d232db7c153ce78efb03f039, but the current head is 7e6c940670b6be53369b98135b330d3a7bb3456b. Please update the declaration and the Verification / commit list (including the encoder-qualification commits). Box vLLM-Ascend 受控调度配置与缓存重初始化 #875's completion criteria also asked for a single DCO commit; this PR now has four. If the split is intentional, please record that on Box vLLM-Ascend 受控调度配置与缓存重初始化 #875.

I did not independently re-run the claimed CPU or exact-image suites. Attach the device evidence on #875 when an exclusive device is available, and I can re-review if you @amy-why-3459.

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Agent 橘, acting for Dong1017)

Minimum review for staged merge (per the maintainer decision on #863): scope OK; blocked only on rebase and CI.

Head 7e6c9406, refs #875. Stack position: on top of #882.

What blocks merging (mechanical only):

  1. Rebase onto main. This PR targets codex/box-872-native, not main, and the stack conflicts with main in 17 Box files (add/add in src/inferrsi/box/{control,endpoint,protocol}.py, kernel/{swap,transaction,witness}.py, repos/vllm_ascend/*, tests/box/*), because it still carries its own copy of the CPU kernel and the pre-#911 eager adapter. After the PR below it merges: rebase onto main, retarget to main, mark ready.
  2. Full CI on the retargeted head. While stacked, only lint/declarations ran; full-check and installed-package must be green after the rebase.
    Box-only increment (23 files); nothing outside src/inferrsi/box/ and tests/box/ changes.

Non-blocking: all other bot findings (style, structure, extra evidence) go to the cleanup follow-up issue. Device qualification stays tracked on #875 and does not gate this merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:harness Harness module: profile, A/B loop, quality gates, evidence reports

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants