-
Notifications
You must be signed in to change notification settings - Fork 533
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
AttributeError: '_OpNamespace' 'fbgemm' object has no attribute 'merge_pooled_embeddings' #1618
Comments
This interface still exists in FBGEMM: https://github.com/pytorch/FBGEMM/blob/main/fbgemm_gpu/src/merge_pooled_embeddings_gpu.cpp#L336. We are not deprecating this interface. Not sure if it is related to nightly build, let me check. cc. @q10. |
Thanks, it’s the same in the current stable release. See second dockerfile
and screenshot.
…On Tue, Feb 28, 2023 at 22:07 Mengchi Zhang ***@***.***> wrote:
This interface still exists in FBGEMM:
https://github.com/pytorch/FBGEMM/blob/main/fbgemm_gpu/src/merge_pooled_embeddings_gpu.cpp#L336.
We are not deprecating this interface. Not sure if it is related to nightly
build, let me check. cc. @q10 <https://github.com/q10>.
—
Reply to this email directly, view it on GitHub
<#1618 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFYEDY7SETTALO2KIV3LDLWZ3RRHANCNFSM6AAAAAAVKEMFKM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@mreso The error you are observing above is a known issue, as we have been running into import problems with FBGEMM (GPU) builds when they are built / installed specifically under Ubuntu (which appears to be what you're also using). We are still investigating this at the moment, apologies for the inconvenience this is causing you. cc. @brad-mengchi |
It looks like the symbol itself is missing: (fbgemm_oss_main_pytorch_nightly_python_3.10) root@70b4b8fb5a15:/# nm -gDC $CONDA_PREFIX/lib/python3.10/site-packages/fbgemm_gpu/fbgemm_gpu_py.so | grep "jagged_2d_to_dense("
0000000000d34090 T fbgemm_gpu::jagged_2d_to_dense(at::Tensor, at::Tensor, long)
(fbgemm_oss_main_pytorch_nightly_python_3.10) root@70b4b8fb5a15:/# nm -gDC $CONDA_PREFIX/lib/python3.10/site-packages/fbgemm_gpu/fbgemm_gpu_py.so | grep merge_pooled_embeddings
(fbgemm_oss_main_pytorch_nightly_python_3.10) root@70b4b8fb5a15:/# and it appears that the build configuration was set to build this module into the .SO file only conditionally and we did not pass NVML path to the build. Working on fixing this at the moment |
The PR #1621 is now merged. Building and releasing a new nightly wheel at the moment |
The latest nightlies have released, and I have confirmed that it now works in the Note that there is one additional step that needs to be added now for things to work, which is to install NVML:
Could you try the latest nightly and confirm that it works? |
@q10 Yes, checked and works like a charm! Thanks again! |
Hi,
I am running into the following AttributeError in fbgemm_gpu when using TorchRec:
Its called here.
I see the issue in the current release 0.3.2 as well as the current nightlies.
Docker repro:
Running "docker build ." fails with:
We see the same with the current stable release:
The same script runs successful with TorchRec/fbgemm_gpu 0.2.0. Other ops like jagged_2d_to_dense are found. Was the op removed?
Thanks!
The text was updated successfully, but these errors were encountered: