builder icon indicating copy to clipboard operation
builder copied to clipboard

[ARM][CUDA][OpenBLAS] Build with NOFORTRAN=1 FLAG

Open tinglvv opened this issue 1 year ago • 1 comments

To fix the below error, need to run apt install libopenblas-dev

  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

Test build OpenBLAS without gfortran

cc @Aidyn-A @nWEIdia @ptrblck

tinglvv avatar Jun 10 '24 17:06 tinglvv

hi @tinglvv yes this looks good. I do see it here on gpu aarch64 builds: https://github.com/pytorch/builder/actions/runs/9519461690/job/26242701970?pr=1861#step:5:1221

And not here: https://github.com/pytorch/builder/actions/runs/9519461690/job/26242706088?pr=1861#step:5:686

atalman avatar Jun 14 '24 18:06 atalman