Skip to content

Commit 9a9acd5

Browse files
authored
pin torch version in amplify (#1112)
For some reason a dependency seems to be requesting a torch update in the AMPLIFY model tests, which we can't do in the older torch 2.6.0 base container (to continue to support the legacy xformers version of the original AMPLIFY model). This pins the torch version in these tests to make sure we don't update via pip <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Chores - Updated core ML runtime to a pinned Torch pre-release version. - Enabled Transformer Engine (PyTorch) dependency. - Note: You may need to reinstall/update dependencies after pulling this change. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Peter St. John <pstjohn@nvidia.com>
1 parent d91788a commit 9a9acd5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

models/amplify/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ dependencies = [
1919
"nvidia_resiliency_ext",
2020
"omegaconf",
2121
"pytest",
22-
"torch",
23-
# "transformer_engine[pytorch]",
22+
"torch==2.6.0a0+ecf3bae40a.nv25.01",
23+
"transformer_engine[pytorch]",
2424
"transformers",
2525
"xformers",
2626
]

0 commit comments

Comments
 (0)