Skip to content

cp: fix: install pycountry in codec deps installer (4146) into r0.7.0 - #4202

Merged
kajalj22 merged 1 commit into
r0.7.0from
cherry-pick-4146-r0.7.0
Oct 8, 2026
Merged

kajalj22 merged 1 commit into
r0.7.0from
cherry-pick-4146-r0.7.0

Conversation

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

beep boop [🤖]: Hi @kajalj22 👋,

we've cherry picked #4146 into `r0.7.0` for you! 🚀

Please review and approve this cherry pick by your convenience!

## Summary

- `pycountry` is suppressed from the image via
`[tool.uv].override-dependencies` (legal review, #2492) and is only
re-enabled for `toolsandbox`.
- vLLM's Qwen3-VL multimodal processor lazily imports
`transformers.MistralCommonBackend` -> `mistral_common` ->
`pydantic_extra_types.language_code`, which hard-requires `pycountry`.
In the shipped image this raises `ModuleNotFoundError: Could not import
module 'MistralCommonBackend'` before the model loads, so the
`circle_click` and `circle_count` README workflows (`vllm serve
Qwen/Qwen3-VL-8B-Instruct -tp 8 ...`) cannot start. `vllm serve --help`
still passes because it never builds that processor.
- `docker/install_codec_deps.sh` is the documented opt-in installer for
excluded packages but never installed `pycountry`. This adds it (pinned
to the `uv.lock` version, 26.2.16) and includes it in the "already
installed" check. The override stays in place, so the default image is
unchanged and the legal change is preserved.

Tracks NVBug 6751026.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Kajal Jain <[email protected]>
Co-authored-by: Claude <[email protected]>
Signed-off-by: NeMo Bot <[email protected]>
@svcnvidia-nemo-ci
svcnvidia-nemo-ci requested a review from a team as a code owner October 8, 2026 00:14
@svcnvidia-nemo-ci svcnvidia-nemo-ci added area:build Packaging, dependencies, containers, and releases bug Something isn't working cherry-pick complexity:low Localized change in one scope with a small, straightforward review surface needs-review PR is ready for code review and waiting on a reviewer Run CICD labels Oct 8, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 8, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor Author

/ok to test 63b4757

@kajalj22
kajalj22 merged commit 2df22c4 into r0.7.0 Oct 8, 2026
51 checks passed
@kajalj22
kajalj22 deleted the cherry-pick-4146-r0.7.0 branch October 8, 2026 00:29

This branch was previously deployed

1 inactive deployment
public — 63b4757e Deployed Oct 8, 2026 by copy-pr-bot[bot] via release / finalize / notify #4634
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:build Packaging, dependencies, containers, and releases bug Something isn't working cherry-pick complexity:low Localized change in one scope with a small, straightforward review surface needs-review PR is ready for code review and waiting on a reviewer Run CICD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants