Skip to content

Commit be9c0db

Browse files
authored
pin transformers in esm2 golden values (#1100)
ESM-2 model tests are currently failing on nightly since a transformers commit broke modelopt from nemo. We really need to decouple our golden value conversions from nemo.io, i suspect this will be an issue going forward with all the stuff they import <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Bug Fixes - Fixed a compatibility issue that could cause installation or runtime errors with the esm2 model by constraining a third-party dependency version, improving reliability across environments. - Chores - Updated dependency constraints to ensure stable builds and predictable behavior. - No changes to visible features or workflows; users may need to reinstall or update dependencies to pick up the fix. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Peter St. John <pstjohn@nvidia.com>
1 parent a29272f commit be9c0db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

models/esm2/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [
1919
"pytest",
2020
"torch",
2121
# "transformer_engine[pytorch]",
22-
"transformers",
22+
"transformers<4.56", # TODO: fix me, currently failing with a modelopt import from nemo.
2323
]
2424

2525

0 commit comments

Comments
 (0)