Skip to content

Commit dd502c7

Browse files
authored
Update pyproject.toml pins (#10428)
Update pyproject.toml to use torch 2.7, torchaudio 2.7, and torchvision 0.22. All are released on PyPi.
1 parent 9088647 commit dd502c7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.ci/scripts/setup-linux.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@ read -r BUILD_TOOL BUILD_MODE EDITABLE < <(parse_args "$@")
1616
# have already been installed, so we use PyTorch build from source here instead
1717
# of nightly. This allows CI to test against latest commits from PyTorch
1818
if [[ "${EDITABLE:-false}" == "true" ]]; then
19-
install_executorch --use-pt-pinned-commit --editable
19+
install_executorch --editable
2020
else
21-
install_executorch --use-pt-pinned-commit
21+
install_executorch
2222
fi
2323
build_executorch_runner "${BUILD_TOOL}" "${BUILD_MODE}"
24-
25-
if [[ "${GITHUB_BASE_REF:-}" == *main* || "${GITHUB_BASE_REF:-}" == *gh* ]]; then
26-
do_not_use_nightly_on_ci
27-
fi

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ dependencies=[
6666
"ruamel.yaml",
6767
"sympy",
6868
"tabulate",
69+
"torch==2.7.0",
70+
"torchaudio==2.7.0",
71+
"torchvision==0.22.0",
6972
"torchao==0.10.0",
7073
"typing-extensions",
7174
# Keep this version in sync with: ./backends/apple/coreml/scripts/install_requirements.sh

0 commit comments

Comments
 (0)