Skip to content

fix(discovery): [cherry-pick 1.5.1] stop a Qwen3-VL worker from serving video with another worker's contract (#14624) - #14962

Merged
nv-nmailhot merged 1 commit into
release/1.5.1from
jthomson04/backport-14624-release-1.5
Sep 28, 2026
Merged

nv-nmailhot merged 1 commit into
release/1.5.1from
jthomson04/backport-14624-release-1.5

Conversation

@jthomson04

@jthomson04 jthomson04 commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Backport #14624 at a67101fe5dcc949a2c93afc3e9e186a6014f7331 to release/1.5.0 as one commit. The source PR was still open when this backport was prepared.

Qwen3-VL workers with different video processor contracts stay in the same WorkerSet. Exact video routing is disabled when the workers do not agree on a contract. A valid committed WorkerSet keeps serving while a membership-driven replacement is built; contract changes on retained workers withdraw a stale pipeline.

The discovery changes apply unchanged. Resolve the model_card.rs conflict by preserving the release branch's checksum implementation and adding the Qwen regression test. The release branch does not have the source branch's Nemotron contract checksum support, so this backport does not add that separate feature or its test.

Validation

  • Passed Rust formatting checks for all four changed files.
  • Passed git diff --check.
  • cargo test -p dynamo-llm --no-default-features --lib video --locked: 18 passed.
  • cargo test -p dynamo-llm --no-default-features --lib discovery:: --locked: 214 passed, including all five controller regressions added by the source PR.
  • These checks used --no-default-features; default-feature, multimodal-feature, and GPU integration tests were not run.

Backport PR #14624 at a67101f as a single commit, excluding unrelated main-branch merges.

Preserve release/1.5.0 checksum behavior because it does not contain the Nemotron contract checksum support. Include the Qwen checksum regression test and all discovery changes from the source PR.

Signed-off-by: jthomson04 <[email protected]>
@jthomson04
jthomson04 requested a review from a team as a code owner September 16, 2026 21:04
@github-actions github-actions Bot added the fix label Sep 16, 2026
}
}

/// Splits a fingerprint back into the MDC checksum and video contract it carries.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This doc comment only restates the helper name and the immediately visible split_once return values; it does not record a constraint beyond the code.

🤖 AI Fix

Remove the redundant doc comment.

Ok(()) => {
// The replacement has taken over, so retire the sender the
// superseded pipeline was watching.
group.retained = None;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

After a retained pipeline is successfully replaced, this drops its only admission sender without first publishing an empty set. The admitted-client updater treats the closed watch channel as terminal and retains its last filtered instances, so any still-referenced retired WorkerSet can continue routing to workers under the old video contract after the successor is committed. Clear the retained sender before dropping it.

🤖 AI Fix

Send an empty admission list through the retained pipeline's sender before removing the retained pipeline on successful replacement.

Ok(blake3::hash(&serde_json::to_vec(&value)?).to_string())
}

/// Hashes the published Qwen video prompt-expansion contract.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This doc comment merely expands the function name, while the canonicalization and BLAKE3 hash are explicit in the function body.

🤖 AI Fix

Remove the redundant doc comment.

Comment thread lib/llm/src/model_card.rs
"two workers publishing different contracts must still serve as one group"
);

// Negative control: a deployment that never carries this key is

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This negative control covers arbitrary runtime_data checksum behavior, not the Qwen video contract regression. The preceding Qwen-specific assertions already protect the supported contract that missing, present, and differing Qwen video contracts stay out of mdcsum() so those workers can share a WorkerSet.

🤖 AI Fix

Remove the unrelated some_unrelated_runtime_key negative-control block from this test.

@dagil-nvidia
dagil-nvidia marked this pull request as draft September 18, 2026 20:25
@dagil-nvidia

Copy link
Copy Markdown
Collaborator

Held for Dynamo 1.5.1. release/1.5.0 is closed at RC11, the 1.5.0 GA build, so this cherry-pick must not merge there. Converted to draft; it retargets to release/1.5.1 as soon as that branch is cut (patch targeted for 2026-09-30). Tracked on the Dynamo 1.5.1 cherry-pick canvas.

@dagil-nvidia dagil-nvidia changed the title fix(discovery): backport Qwen video contract handling to release 1.5 fix(discovery): [cherry-pick 1.5.1] stop a Qwen3-VL worker from serving video with another worker's contract (#14624) Sep 28, 2026
@dagil-nvidia
dagil-nvidia changed the base branch from release/1.5.0 to release/1.5.1 September 28, 2026 10:52
@dagil-nvidia
dagil-nvidia marked this pull request as ready for review September 28, 2026 10:52
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@nv-nmailhot
nv-nmailhot merged commit 01f30f0 into release/1.5.1 Sep 28, 2026
121 of 123 checks passed
@nv-nmailhot
nv-nmailhot deleted the jthomson04/backport-14624-release-1.5 branch September 28, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants