-
Notifications
You must be signed in to change notification settings - Fork 504
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
nvcc fatal : Unknown option '-mavx' #2135
Comments
Could you show the full logs, and let me know the nvcc, gcc, and cmake versions you are using? We don't have official support for building FBGEMM_GPU on WSL2, but if WSL2 works exactly the same as a regular Linux environment, then it may be just an issue with the nvcc and/or gcc versions. |
Here is the full logs.
|
Hmm, some of the tool versions you listed are not the recommended versions - in particular, CUDA should be at 12.1 and GCC should be at 10+. I did quick Google search cases where users have run into a similar error signature before, and the solution was generally to upgrade the drivers and toolkit. That being said, we highly recommend using building and using FBGEMM in a full Linux environment instead, as WSL may contain intricacies that are beyond our scope for debugging issues like this. |
@shadow150519 could you try latest
(See here for build instructions in detail) Let us know how this goes. |
sorry for the late response, I've moved to a linux machine right now and it works correctly. I'll try this and give you the result as soon as I can. Thank for your help :)
|
I am configuring the project on wsl2. when I load the CMakeList.txt in the fbgemm_gpu folder, It gives the following error.
The text was updated successfully, but these errors were encountered: