when I pushed python-array-api-compat to new two weeks ago this has
built nicely on Salsa CI[1] but now it fails[2] when trying to load
pytorch:
=========================== short test summary info ============================
FAILED tests/test_array_namespace.py::test_array_namespace[None-torch] - ImportError: Failed to load PyTorch C extensions:
It appears that PyTorch has loaded the `torch/_C` folder
of the PyTorch repository rather than the C extensions which
are expected in the `torch._C` namespace. This can occur when
using the `install` workflow. e.g.
$ python setup.py install && python -c "import torch"
This error can generally be solved using the `develop` workflow
$ python setup.py develop && python -c "import torch" # This should succeed
or by running Python from a different directory.
FAILED tests/test_array_namespace.py::test_array_namespace[2021.12-torch] - ImportError: Failed to load PyTorch C extensions:
...
Any idea what might be wrong here?