Skip to content

Commit b7655f7

Browse files
committed
Update pip install commands for intel macOS systems and pytorch versions built from source
1 parent e5a4e67 commit b7655f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install_requirements.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ def install_optional_example_requirements(use_pytorch_nightly):
170170
# Prebuilt binaries for Intel-based macOS are no longer available on PyPI; users must compile from source.
171171
# PyTorch stopped building macOS x86_64 binaries since version 2.3.0 (January 2024).
172172
def is_intel_mac_os():
173-
# Returns True if running on Intel-based macOS
173+
# Returns True if running on Intel macOS
174174
if platform.system().lower() == "darwin" and platform.machine().lower() in (
175175
"x86",
176176
"x86_64",
177177
"i386",
178178
):
179179
print(
180-
"ERROR: Prebuilt PyTorch binaries are no longer available for Intel-based macOS.\n"
181-
"Please compile from source by following https://pytorch.org/executorch/0.6/using-executorch-building-from-source.html",
180+
"ERROR: Prebuilt PyTorch wheels are no longer available for Intel-based macOS.\n"
181+
"Please build from source by following https://docs.pytorch.org/executorch/main/using-executorch-building-from-source.html",
182182
file=sys.stderr,
183183
)
184184
return True

0 commit comments

Comments
 (0)