Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling FBGEMM for ARM #2074

Open
vrnmthr opened this issue Oct 12, 2023 · 3 comments
Open

compiling FBGEMM for ARM #2074

vrnmthr opened this issue Oct 12, 2023 · 3 comments

Comments

@vrnmthr
Copy link

vrnmthr commented Oct 12, 2023

I noticed that FBGEMM_GPU now supports ARM. Is there a plan for FBGEMM cpu to support ARM as well? I am trying to compile & run on an M1 mac.

@vrnmthr
Copy link
Author

vrnmthr commented Apr 24, 2024

@q10 in #2157 you mentioned "We are currently working on ARM support for FBGEMM, which is incomplete at the moment.". Do you have a very rough ETA for this feature?

I am trying to understand if this will be ready in time to ship something, or we need to go ahead with alternatives like ruy. We would prefer to stick with FBGEMM if possible.

@excelle08
Copy link

Hi @vrnmthr, I would expect the FBGEMM main library to build on ARM sometime in 2024 H2. For now, I would suggest building the cpu-only version of FBGEMM-GPU and using that.

We have been actively working on optimizing some FBGEMM operators on ARM, such as TBE. However, building the full FBGEMM main library on ARM turned out to be much more complex as we tried this before (needing to completely disable AVX related routines for all operators during compile time or it will complain about "undefined reference" in link time or runtime), and we currently don't have enough time to focus on this.

@snadampal
Copy link

Hi @excelle08 , glad to know ARM support is coming in 2024 H2. could you please elaborate the below suggestion? Does it support ARM CPU build with minimal kernels? otherwise what exactly does it provide?

For now, I would suggest building the cpu-only version of FBGEMM-GPU and using that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants