pytorch / builder

Continuous builder and binary build scripts for pytorch
BSD 2-Clause "Simplified" License
323 stars 213 forks source link

[aarch64] Fix for libgfortran.so.5 missing error when running CUDA ARM wheel #1895

Closed tinglvv closed 1 week ago

tinglvv commented 1 week ago

Should fix the error

File "/usr/local/lib/python3.10/dist-packages/torch/__init__.py", line 289, in <module>    from torch._C import *  # noqa: F403
ImportError: libgfortran.so.5: cannot open shared object file: No such file or directory

Previous PR - https://github.com/pytorch/builder/pull/1861