pytorch / FBGEMM

FB (Facebook) + GEMM (General Matrix-Matrix Multiplication) - https://code.fb.com/ml-applications/fbgemm/
Other
1.17k stars 475 forks source link

macos install fbgemm error. #2945

Closed zhaozheng09 closed 1 month ago

zhaozheng09 commented 1 month ago
image
zhaozheng09 commented 1 month ago

pwd: /Users/zhaozheng/Desktop/code/torchrec/docs and cat README.md pip3 install torchrec numpy==1.26.4 --break-system-packages success; make html error and report OSError: dlopen(/usr/local/lib/python3.12/site-packages/fbgemm_gpu/fbgemm_gpu_py.so, 0x0006): tried: '/usr/local/lib/python3.12/site-packages/fbgemm_gpu/fbgemm_gpu_py.so' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/python3.12/site-packages/fbgemm_gpu/fbgemm_gpu_py.so' (no such file), '/usr/local/lib/python3.12/site-packages/fbgemm_gpu/fbgemm_gpu_py.so' (not a mach-o file)

other: find /usr/local/lib -name fbgemm_gpu_py.so /usr/local/lib/python3.12/site-packages/fbgemm_gpu/fbgemm_gpu_py.so du -sh /usr/local/lib/python3.12/site-packages/fbgemm_gpu/fbgemm_gpu_py.so 289M /usr/local/lib/python3.12/site-packages/fbgemm_gpu/fbgemm_gpu_py.so

spcyppt commented 1 month ago

Could you share pytorch version? python -c "import torch; print(torch.__version__, torch.version.cuda); ". Are you able to python -c "import torch; import fbgemm_gpu; print(fbgemm_gpu.__version__)?

q10 commented 1 month ago

Unfortunately, MacOS is not a supported platform for FBGEMM_GPU at the moment.

zhaozheng09 commented 1 month ago

好吧。it's ok ~