Skip to content

Return "platform not supported" when using PyTorch on intel-based Macbooks #9772

Open
@nil-is-all

Description

@nil-is-all

🚀 The feature, motivation and pitch

Currently, when a user installs requirements for ExecuTorch on their Intel-chip Macbook by running the ./install_requirements.sh after git-cloning the ExecuTorch repo, the installation fails for torch versions, throwing an error and a stack trace.

ERROR: Could not find a version that satisfies the requirement torch==2.7.0.dev20250310 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2) ERROR: No matching distribution found for torch==2.7.0.dev20250310

Image

Alternatives

  1. Return a message stating "this platform is not supported" while running PyTorch on Intel Macbooks
  2. Updating documentation to add a disclaimer or in pre-requisites that PyTorch does not work anymore on Intel Macbooks.

Additional context

No response

RFC (Optional)

No response

cc @larryliu0820 @jathu @lucylq

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersmodule: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions