fix(security): upgrade transformers 4.x → 5.8.1 (CVE remediation)#1372
Merged
Conversation
- Bump transformers>=5.8.1 in stirrup_agent/requirements.txt - Migrate TRANSFORMERS_CACHE → HF_HOME in nemo_gym/__init__.py (TRANSFORMERS_CACHE was removed in transformers 5.0) The transformers API surface used in this repo (AutoTokenizer, apply_chat_template, encode) is stable across this major version boundary. The stirrup_agent tokenizer loading already has try/except fallbacks for version-specific kwargs like fix_mistral_regex. Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Kajal Jain <[email protected]>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
- torch==2.12.0, torchvision==0.27.0 - Remove setuptools <81 upper bound (was torch 2.5.1-specific) - Note: torch 2.12+ defaults to CUDA 13.0 wheels; CUDA 12.x environments need a cu12-specific wheel index Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Kajal Jain <[email protected]>
Kh4L
approved these changes
May 20, 2026
thomasdhc
approved these changes
May 20, 2026
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
stirrup_agent/requirements.txt)wmt_translation/requirements.txt)TRANSFORMERS_CACHE→HF_HOMEinnemo_gym/__init__.py(removed in transformers 5.0)setuptools<81upper bound (was torch 2.5.1-specific)🤖 Generated with Claude Code