Skip to content

Commit 7248b19

Browse files
authored
Fix conflicting pytorch nightly versions (#9593)
### Summary Seeing this error in Linux wheel building jobs: ``` Collecting numpy (from torchvision==0.22.0.dev20250311) Downloading numpy-2.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB) INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. The conflict is caused by: The user requested torch==2.7.0.dev20250311 torchvision 0.22.0.dev20250311+cpu depends on torch==2.7.0.dev20250310 ``` ### Test plan CI
1 parent 72f879c commit 7248b19

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.ci/docker/ci_commit_pins/pytorch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
295f2ed4d103017f7e19a7b8263ece606cd629db
1+
7ae0ce6360b6e4f944906502d20da24c04debee5

examples/models/llama3_2_vision/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
set +ex
99

10-
NIGHTLY_VERSION="dev20250311"
10+
NIGHTLY_VERSION="dev20250310"
1111

1212
# Install torchtune nightly for model definitions.
1313
pip install --pre torchtune==0.6.0.${NIGHTLY_VERSION} --extra-index-url https://download.pytorch.org/whl/nightly/cpu --no-cache-dir

install_requirements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def python_is_compatible():
7171
#
7272
# NOTE: If you're changing, make the corresponding change in .ci/docker/ci_commit_pins/pytorch.txt
7373
# by picking the hash from the same date in https://hud.pytorch.org/hud/pytorch/pytorch/nightly/
74-
NIGHTLY_VERSION = "dev20250311"
74+
NIGHTLY_VERSION = "dev20250310"
7575

7676

7777
def install_requirements(use_pytorch_nightly):

0 commit comments

Comments
 (0)