Skip to content

AttributeError: '_OpNamespace' 'fbgemm' object has no attribute 'merge_pooled_embeddings' #3481

Open
@bharaniabhishek123

Description

@bharaniabhishek123

After following instructions on the page : https://pytorch.org/FBGEMM/fbgemm_gpu-development/InstallationInstructions.html

I am getting error as below :

python -c "import torch; import fbgemm_gpu; print(torch.ops.fbgemm.merge_pooled_embeddings)"
WARNING:root:Could not the library 'fbgemm_gpu_py.so': /usr/local/lib/python3.10/dist-packages/fbgemm_gpu/fbgemm_gpu_py.so: undefined symbol: _ZNK5torch8autograd4Node4nameEv. This may be expected depending on the FBGEMM_GPU variant.
WARNING:root:Could not the library 'experimental/gen_ai/fbgemm_gpu_experimental_gen_ai_py.so': /usr/local/lib/python3.10/dist-packages/fbgemm_gpu/experimental/gen_ai/fbgemm_gpu_experimental_gen_ai_py.so: undefined symbol: _ZN4c10d23ncclGetErrorWithVersionE12ncclResult_t. This may be expected depending on the FBGEMM_GPU variant.
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.10/dist-packages/torch/_ops.py", line 1225, in getattr
raise AttributeError(
AttributeError: '_OpNamespace' 'fbgemm' object has no attribute 'merge_pooled_embeddings'

I followed below threads ,
#1618
#2130

but no luck.

The docker file contains image : nvcr.io/nvidia/pytorch:24.10-py3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions