Repository navigation
fix: install pycountry in codec deps installer - #4146
Merged
Merged
Conversation
pycountry is excluded from the image via override-dependencies, but vLLM's Mistral tokenizer import chain requires it when serving VLMs such as Qwen3-VL. Add it to the opt-in installer so the documented setup step makes circle_click/circle_count servable. Co-Authored-By: Claude <[email protected]> Signed-off-by: Kajal Jain <[email protected]>
The installer now also covers pycountry, which is not codec-bearing, so the old name is misleading. Update all references. Co-Authored-By: Claude <[email protected]> Signed-off-by: Kajal Jain <[email protected]>
Contributor
Author
|
/ok to test 82cf4fd |
chtruong814
approved these changes
Oct 7, 2026
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37705227482 |
kajalj22
added a commit
that referenced
this pull request
Oct 8, 2026
…7.0` (#4202) 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! Signed-off-by: Kajal Jain <[email protected]> Signed-off-by: NeMo Bot <[email protected]> Co-authored-by: kajalj22 <[email protected]> Co-authored-by: Claude <[email protected]>
This branch was previously deployed
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
pycountryis suppressed from the image via[tool.uv].override-dependencies(legal review, security: remove dependencies flagged in legal review #2492) and is only re-enabled fortoolsandbox.transformers.MistralCommonBackend->mistral_common->pydantic_extra_types.language_code, which hard-requirespycountry. In the shipped image this raisesModuleNotFoundError: Could not import module 'MistralCommonBackend'before the model loads, so thecircle_clickandcircle_countREADME workflows (vllm serve Qwen/Qwen3-VL-8B-Instruct -tp 8 ...) cannot start.vllm serve --helpstill passes because it never builds that processor.docker/install_codec_deps.shis the documented opt-in installer for excluded packages but never installedpycountry. This adds it (pinned to theuv.lockversion, 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