google-ai-edge / ai-edge-torch

Supporting PyTorch models with the Google AI Edge TFLite runtime.
Apache License 2.0
195 stars 21 forks source link

MacOS installation failed #67

Open YuMinHui825 opened 1 week ago

YuMinHui825 commented 1 week ago

Description of the bug:

I executed it on macos: -pip install -r https://github.com/google-ai-edge/ai-edge-torch/releases/download/v0.1.1/requirements.txt

-Looking in links: https://download.pytorch.org/whl/nightly/torch_nightly.html, https://download.pytorch.org/whl/nightly/torch_nightly.html, https://download.pytorch.org/whl/nightly/torch_nightly.html Ignoring torch_xla: markers 'python_version == "3.11"' don't match your environment Ignoring torch_xla: markers 'python_version == "3.10"' don't match your environment ERROR: torch_xla-nightly+20240429-cp39-cp39-linux_x86_64.whl is not a supported wheel on this platform.

I would like to ask if macOS still does not support the installation of ai-edge-torch?

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

AkiSakurai commented 1 week ago

Unfortunately, PyTorch has discontinued support for x64 macOS. https://github.com/pytorch/pytorch/issues/114602

YuMinHui825 commented 1 week ago

I know, I'm using an M2 Mac, is it not supported?

pkgoogle commented 1 week ago

Hi @YuMinHui825, apologies, but we currently only support what is stated on the repo:

https://github.com/google-ai-edge/ai-edge-torch?tab=readme-ov-file#installation image

This is independent of PyTorch support for Mac M2's, for that you will have to look at the PyTorch repo. Thanks.

YuMinHui825 commented 1 week ago

OK, got it. Thanks.

pkgoogle commented 1 week ago

Hi @YuMinHui825, if you have no more open items, please feel free to close if your question was answered. Thanks.