diff --git a/install_requirements.py b/install_requirements.py index 978cc8a84b2..d52a0d19e73 100644 --- a/install_requirements.py +++ b/install_requirements.py @@ -142,19 +142,6 @@ def install_requirements(use_pytorch_nightly): def install_optional_example_requirements(use_pytorch_nightly): - print("Installing packages in requirements-examples.txt") - subprocess.run( - [ - sys.executable, - "-m", - "pip", - "install", - "-r", - "requirements-examples.txt", - ], - check=True, - ) - print("Installing torch domain libraries") DOMAIN_LIBRARIES = [ ( @@ -178,6 +165,19 @@ def install_optional_example_requirements(use_pytorch_nightly): check=True, ) + print("Installing packages in requirements-examples.txt") + subprocess.run( + [ + sys.executable, + "-m", + "pip", + "install", + "-r", + "requirements-examples.txt", + ], + 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).