FBGEMM icon indicating copy to clipboard operation
FBGEMM copied to clipboard

fbgemm.dll fails (finding libomp for aarch64 instead of x86_64) on Windows ARM64

Open capiman opened this issue 1 year ago • 3 comments

https://github.com/pytorch/pytorch/issues/106956#issuecomment-2308736986

(Description of environment: https://github.com/pytorch/pytorch/issues/133804 )

capiman avatar Aug 29 '24 11:08 capiman

Something like

https://github.com/bazelbuild/bazel/blob/665c63d93c61913937f907f928e6e9d495309339/.bazelrc#L29

https://github.com/bazelbuild/bazel/blob/665c63d93c61913937f907f928e6e9d495309339/site/en/configure/windows.md?plain=1#L207

https://github.com/bazelbuild/bazel/blob/665c63d93c61913937f907f928e6e9d495309339/tools/cpp/cc_configure.bzl#L86

https://github.com/bazelbuild/bazel/blob/665c63d93c61913937f907f928e6e9d495309339/tools/cpp/windows_cc_toolchain_config.bzl#L83

capiman avatar Aug 29 '24 18:08 capiman

I assume there is a build missing for ARM64. But my knowledge is (at the moment still) too less to fix this.

Perhaps something like this:

https://github.com/pytorch/FBGEMM/pull/3052

or

https://github.com/pytorch/FBGEMM/pull/3053

?

capiman avatar Aug 29 '24 19:08 capiman

https://learn.microsoft.com/de-de/cpp/build/building-on-the-command-line?view=msvc-170

capiman avatar Aug 29 '24 19:08 capiman