Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .ci/scripts/setup-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,3 @@ else
install_executorch --use-pt-pinned-commit
fi
build_executorch_runner "${BUILD_TOOL}" "${BUILD_MODE}"

if [[ "${GITHUB_BASE_REF:-}" == *main* || "${GITHUB_BASE_REF:-}" == *gh* ]]; then
do_not_use_nightly_on_ci
fi
28 changes: 0 additions & 28 deletions install_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ def install_requirements(use_pytorch_nightly):
)
sys.exit(1)

# pip packages needed by exir.
TORCH_PACKAGE = [
# 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
"torch==2.8.0" if use_pytorch_nightly else "torch",
]

# Install the requirements for core ExecuTorch package.
# `--extra-index-url` tells pip to look for package
# versions on the provided URL if they aren't available on the default URL.
Expand All @@ -91,7 +83,6 @@ def install_requirements(use_pytorch_nightly):
"install",
"-r",
"requirements-dev.txt",
*TORCH_PACKAGE,
"--extra-index-url",
TORCH_URL,
],
Expand Down Expand Up @@ -143,25 +134,6 @@ def install_optional_example_requirements(use_pytorch_nightly):
check=True,
)

print("Installing torch domain libraries")
DOMAIN_LIBRARIES = [
("torchvision==0.23.0" if use_pytorch_nightly else "torchvision"),
"torchaudio==2.8.0" if use_pytorch_nightly else "torchaudio",
]
# Then install domain libraries
subprocess.run(
[
sys.executable,
"-m",
"pip",
"install",
*DOMAIN_LIBRARIES,
"--extra-index-url",
TORCH_URL,
],
check=True,
)


# Prebuilt binaries for Intel-based macOS are no longer available on PyPI; users must compile from source.
# PyTorch stopped building macOS x86_64 binaries since version 2.3.0 (January 2024).
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ dependencies=[
"pyyaml",
"ruamel.yaml",
"sympy",
"torch>=2.8.0,<2.9.0",
"torchao==0.12.0",
"tabulate",
# See also third-party/TARGETS for buck's typing-extensions version.
Expand Down
2 changes: 2 additions & 0 deletions requirements-examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ timm == 1.0.7
torchsr == 1.0.4
torchtune >= 0.6.1
transformers ==4.47.1
torchaudio>=2.8.0,<2.9.0
torchvision>=0.23.0,<0.24.0
Loading