-
Notifications
You must be signed in to change notification settings - Fork 515
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
Having issue installing FBGEMM-gpu on MacOS #2248
Comments
Hi, FBGEMM-GPU currently needs to be built with GCC and does not support clang. Can you try installing gcc and g++ and running the setup again? |
I did. I had gcc installed with brew and exported CC/CXX. but still have the same problem
|
Hi @justin8shan, we currently do not officially support FBGEMM_GPU-CPU on MacOS, so there is no guarantee that the code will build. That being said, you might not be passing in CC and CXX correctly - could you try:
and show us the full build logs? |
@q10 Thanks for the advice. Is there a plan to support MacOS deployment for local build? With your suggestion, the above error is gone but I got other error saying libtorch missing. Then I downloaded Here is the build log.
|
@justin8shan There may be issues with gcc 12+ similar to this one, could you try installing a lower version of gcc and see if the errors reproduce? |
Unfortunately I tried all version from gcc 8 to 13 and got same error. |
@justin8shan Could you show us the instructions you ran (e.g. specific versions of software installed, etc) to build fbgemm_gpu on the Mac? We will use it as reference and add it into our documentation. The invokers file is actually autogenerated from a template file during the build process, so I imagine that something is still not quite correct in the build... |
@q10 Sorry it was a false statement that I was able to build package as I did that by removing CMakeList.txt file. Once I build with existing CMakeList.txt file. I still get similar error as above I manually fixed the
After build again I got issue at the final step of compiling, do you know how to fix it?
|
Hello, I have problem to install FBGEMM-gpu for torchREC
Initially I tried to install using pip but not successful.
Then, tried to build the package by following instruction on https://pytorch.org/FBGEMM/general/BuildInstructions.html#fbgemm-gpu-docs-build-setup-tools-install to install cpu-only FBGEMM-gpu.
Executed below command
I received Clang error:
Any advice how to solve this issue
MasOS: Ventura
Processor: Intel Core i7
The text was updated successfully, but these errors were encountered: