mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
We had trouble at conda-forge getting numpy to get detected on aarch64 due to our splayed layout and cross compilation needs. see: * https://github.com/conda-forge/pytorch-cpu-feedstock/pull/256 * https://github.com/conda-forge/pytorch-cpu-feedstock/issues/266 * https://github.com/conda-forge/pytorch-cpu-feedstock/pull/267 This is my attempt at making an "upstreamable patch" that tries to follow your structure. It could introduce a new environment variable `Python_NumPy_INCLUDE_DIR` if you want, but CMake doesn't use it as an environment variable, so I feel like that would be weird. Pull Request resolved: https://github.com/pytorch/pytorch/pull/137084 Approved by: https://github.com/atalman |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| BUILD.bazel | ||
| build.bzl | ||
| cmake_utils.py | ||
| cmake.py | ||
| env.py | ||
| gen_unboxing.py | ||
| gen_version_header.py | ||
| gen.py | ||
| generate_code.py | ||
| generate_linker_script.py | ||