We have a successful build of Pytorch from the source code on Windows with APL. But while trying to use we are getting errors such as:
RuntimeError: svd: LAPACK library not found in compilation.
Can you point me to the right direction of understanding the problem? We followed the Windows guidelines but maybe we are not linking something correctly or not linking at all.
Hi,
I think that's just telling you it has been set at the command line? it doesn't confirm that it's being used (or not) anywhere. `UNINITIALIZED` is the type, which is unspecified if you use `-DUSE_LAPACK=1`. You can set a type (the syntax is `-D MY_CMAKE_COMMAND:<type>=<value>`) but you don't need to, CMake is not strongly typed.It sounds like you need to make FindLAPACK.cmake aware of the "APL" BLAS option you've added, so that when it checks for LAPACK support (by looking for an LAPACK symbol in the supplied BLAS binary) at compile time, it knows to look in the Arm PL binary, and confirms that it has LAPACK symbols.
Cheers,
Nathan.
Hi Nathan, thanks a lot for the reply, we were not aware of those and it seems to be working now.
Great stuff, glad to hear it! Thanks for letting me know.