PyTorch Installation Failing via Pixi on macOS ARM #2785
Unanswered
kennyjwilli
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Of course I found a solution shortly after posting! Following the "Installing from PyPi" section of the documentation worked successfully on my MacOS ARM system: pixi run python -c "import torch; print(torch.cuda.is_available())" Output:
This raises a question: Is it expected that the Conda-forge installation method doesn't work on MacOS ARM while the PyPi installation does? Some clarification in the documentation about platform-specific considerations would be helpful. Note: While this works, there appears to be a missing NumPy dependency that should probably be added to the configuration. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to install PyTorch using Pixi on macOS ARM M1 following the official guide, but encountering a symbol lookup error.
Failed Attempt: Installing via Pixi
When trying to verify the PyTorch installation:
pixi run --environment cpu python -c "import torch; print(torch.cuda.is_available())"
I get the following error:
Working Alternative: Installing via Conda
The same installation works successfully using Conda:
conda create -n dev conda install pytorch -c pytorch python3 -c "import torch; print(torch.cuda.is_available())" False
Environment Details
Here's my current configuration:
System Info (
pixi info
)Project Configuration (
pixi.toml
)Note: I only modified the
platforms
field to"osx-arm64"
and removed the gpu bits since it'd cause a failure to resolve from the example in the docs.Could someone help identify why the Pixi installation is failing while the Conda installation works?
Beta Was this translation helpful? Give feedback.
All reactions