Skip to content

Commit 185fe83

Browse files
committed
bump PyTorch nightly to 20250131
ghstack-source-id: de27be5 ghstack-comment-id: 2627845968 Pull Request resolved: #8098
1 parent 6b58e2e commit 185fe83

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
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-
0a94bb432ed75cc2d950d81b2921363218a7e459
1+
27e35de6c288bffad1b4d18b393579c1d1a95547

.ci/docker/conda-env-ci.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake=3.22.1
22
ninja=1.10.2
33
libuv
4+
llvm-openmp
45
pkg-config

.ci/scripts/setup-macos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ setup_macos_env_variables
121121
# NB: we need buck2 in all cases because cmake build also depends on calling
122122
# buck2 atm
123123
install_buck
124+
brew install libomp
124125
install_pip_dependencies
125126

126127
# TODO(huydhn): Unlike our self-hosted runner, GitHub runner doesn't have access

backends/arm/test/runner_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def _tosa_dispatch(self, lowered_backend_module: LoweredBackendModule, inputs):
169169
return run_tosa_graph(tosa_buffer, tosa_version, inputs)
170170

171171
def __torch_function__(self, func, types, args=..., kwargs=None):
172-
if isinstance(func, torch._higher_order_ops.executorch_call_delegate.ExecutorchCallDelegate): # type: ignore
172+
if func is torch._higher_order_ops.executorch_call_delegate:
173173
lowered_backend_module = cast(LoweredBackendModule, args[0])
174174
if lowered_backend_module.backend_id == "ArmBackend":
175175
return self._tosa_dispatch(lowered_backend_module, args[1:])

install_requirements.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def python_is_compatible():
6767
# NOTE: If a newly-fetched version of the executorch repo changes the value of
6868
# NIGHTLY_VERSION, you should re-run this script to install the necessary
6969
# package versions.
70-
NIGHTLY_VERSION = "dev20250104"
70+
NIGHTLY_VERSION = "dev20250131"
7171

7272

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

0 commit comments

Comments
 (0)