Skip to content

Commit

Permalink
bump PyTorch nightly to 20250131
Browse files Browse the repository at this point in the history
ghstack-source-id: fe44e772e3b6afa56d2f7541c0baf6faed0df10f
ghstack-comment-id: 2627845968
Pull Request resolved: #8098
  • Loading branch information
swolchok committed Jan 31, 2025
1 parent c0676fe commit 0217011
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/docker/ci_commit_pins/pytorch.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0a94bb432ed75cc2d950d81b2921363218a7e459
27e35de6c288bffad1b4d18b393579c1d1a95547
1 change: 1 addition & 0 deletions .ci/docker/conda-env-ci.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake=3.22.1
ninja=1.10.2
libuv
llvm-openmp
pkg-config
1 change: 1 addition & 0 deletions .ci/scripts/setup-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ setup_macos_env_variables
# NB: we need buck2 in all cases because cmake build also depends on calling
# buck2 atm
install_buck
brew install libomp
install_pip_dependencies

# TODO(huydhn): Unlike our self-hosted runner, GitHub runner doesn't have access
Expand Down
4 changes: 2 additions & 2 deletions install_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def python_is_compatible():
# NOTE: If a newly-fetched version of the executorch repo changes the value of
# NIGHTLY_VERSION, you should re-run this script to install the necessary
# package versions.
NIGHTLY_VERSION = "dev20250104"
NIGHTLY_VERSION = "dev20250131"


def install_requirements(use_pytorch_nightly):
Expand All @@ -76,7 +76,7 @@ def install_requirements(use_pytorch_nightly):
# Setting use_pytorch_nightly to false to test the pinned PyTorch commit. Note
# that we don't need to set any version number there because they have already
# been installed on CI before this step, so pip won't reinstall them
f"torch==2.6.0.{NIGHTLY_VERSION}" if use_pytorch_nightly else "torch",
f"torch==2.7.0.{NIGHTLY_VERSION}" if use_pytorch_nightly else "torch",
(
f"torchvision==0.22.0.{NIGHTLY_VERSION}"
if use_pytorch_nightly
Expand Down

0 comments on commit 0217011

Please sign in to comment.