Check which optimization flags have been used for compilation

Hi, is it possible to check how a pytorch package has been compiled?

I’m specifically interested in the optimization intrinsics (e.g. if SSE or AVX for x86, VSX or MMA for ppc64le etc. has been enabled)


You could get some information about lib support via print(

1 Like

Perfect - exactly what I was looking for. Thanks!