Skip to content

Commit 09d6f66

Browse files
chtruong814NeMo Bot
authored andcommitted
build: Explicitly set torch minimum version as 2.6.0 (#1299)
* Explicitly set torch minimum version as 2.6.0 Signed-off-by: Charlie Truong <chtruong@nvidia.com> * Update uv lock Signed-off-by: chtruong814 <chtruong814@users.noreply.github.com> --------- Signed-off-by: Charlie Truong <chtruong@nvidia.com> Signed-off-by: chtruong814 <chtruong814@users.noreply.github.com> Co-authored-by: chtruong814 <chtruong814@users.noreply.github.com> Signed-off-by: NeMo Bot <nemo-bot@nvidia.com>
1 parent 30fd164 commit 09d6f66

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docker/common/uv-pytorch.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3315,9 +3315,9 @@ requires-dist = [
33153315
{ name = "qwen-vl-utils", extras = ["decord"], marker = "platform_machine == 'x86_64' and sys_platform != 'darwin' and extra == 'vlm'" },
33163316
{ name = "sentencepiece", marker = "extra == 'extra'" },
33173317
{ name = "timm", marker = "extra == 'vlm'", specifier = "<=1.0.22" },
3318-
{ name = "torch", marker = "sys_platform != 'darwin' and sys_platform != 'linux'", specifier = "<=2.10.0", index = "https://download.pytorch.org/whl/cpu" },
3319-
{ name = "torch", marker = "sys_platform == 'darwin'", specifier = "<=2.10.0", index = "https://pypi.org/simple" },
3320-
{ name = "torch", marker = "sys_platform == 'linux'", specifier = "<=2.10.0", index = "https://download.pytorch.org/whl/cu129" },
3318+
{ name = "torch", marker = "sys_platform != 'darwin' and sys_platform != 'linux'", specifier = ">=2.6.0,<=2.10.0", index = "https://download.pytorch.org/whl/cpu" },
3319+
{ name = "torch", marker = "sys_platform == 'darwin'", specifier = ">=2.6.0,<=2.10.0", index = "https://pypi.org/simple" },
3320+
{ name = "torch", marker = "sys_platform == 'linux'", specifier = ">=2.6.0,<=2.10.0", index = "https://download.pytorch.org/whl/cu129" },
33213321
{ name = "torchao" },
33223322
{ name = "torchcodec", marker = "platform_machine == 'x86_64' and sys_platform != 'darwin' and extra == 'vlm'" },
33233323
{ name = "torchdata" },

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ dependencies = [
8282
"opencv-python-headless==4.10.0.84",
8383
"pybind11",
8484
"pyyaml",
85-
"torch<=2.10.0",
85+
"torch>=2.6.0,<=2.10.0",
8686
"torchdata",
8787
"transformers>=5.0.0",
8888
"wandb",

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)