conda-forge / pytorch-cpu-feedstock

A conda-smithy repository for pytorch-cpu.
BSD 3-Clause "New" or "Revised" License
17 stars 43 forks source link

Linux aarch64 also complaining about no numpy support #258

Closed erykoff closed 1 month ago

erykoff commented 1 month ago

Solution to issue cannot be found in the documentation.

Issue

Following on with https://github.com/conda-forge/pytorch-cpu-feedstock/issues/251 the problem does not seem isolated to osx. On linux aarch64 we have PyTorch: RuntimeError: PyTorch was compiled without NumPy support. cc @hmaa

Installed packages

This is in a CI but:
  - pytorch=2.4.0=cpu_generic_py311h0a0624f_0

Environment info

I don't have access to this.
jakirkham commented 1 month ago

Duplicate of issue: https://github.com/conda-forge/pytorch-cpu-feedstock/issues/254

jakirkham commented 1 month ago

For clarity, this issue came up here: https://github.com/conda-forge/pytorch-cpu-feedstock/issues/251

A fix for macOS was made in PR: https://github.com/conda-forge/pytorch-cpu-feedstock/pull/252

Some packages didn't build: https://github.com/conda-forge/pytorch-cpu-feedstock/issues/254

It turns out the Linux ARM builds failed a test added to check for NumPy support: https://github.com/conda-forge/pytorch-cpu-feedstock/issues/254#issuecomment-2318432967

Mark started a new PR to work on Linux ARM support: https://github.com/conda-forge/pytorch-cpu-feedstock/pull/256