-
Notifications
You must be signed in to change notification settings - Fork 564
Undefined symbol: _ZNK5torch8autograd4Node4nameEv #2715
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
Comments
The latest stable of release of FBGEMM_GPU is targeted to binary compatibility with torch 2.3.x. The nightliy version should be used for running against torch 2.4.x:
Could you try this and let us know if there are any issues? |
Thanks for your kind reply. Could you please let me know how to resolve this issue?
|
We have not run into the issue |
Was pytorch built with C++11 ABI? (If |
Try lower version for both This works for me:
|
Hi @wookjeHan we no longer support fbgemm v0.7.0, please use at least v1.0.0, and let us know if you still run into this error. |
Hi, If anybody still facing issue with this It worked for me. |
I'm facing very much the same issue with pytorch and torchrec.. I'm using pytorch version 2.6.0+cu124 on cuda 12.4 OSError: /home/ankur/miniconda3/envs/py3_12/lib/python3.12/site-packages/fbgemm_gpu/fbgemm_gpu_config.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb installed torchrec following instructions here: Running: a simple torchrec program: tried using cuda12_4 version of fbgemm and cpu version.. same error. Please help! |
Hi @ankur6ue it is likely that you have an old version of glibc that does not contain symbols for GLIBCXX 2.29. You will need to install a more recent version of gcc (11.4+) in order to achieve an updated glibc installation that FBGEMM_GPU can use. We recommend doing gcc + FBGEMM_GPU + Torchrec installation inside an isolated Conda environment, which can be done by following the instructions here. |
I updated my gcc version by updating to ubuntu 22.04, but the issue persists.. I'll try the isolated conda environment instructions.. any other tips? Could it be the GPUs? I have 1080 TI GPUs, which are quite old.. although that should result in a run time error, not a missing symbol issue, I'd think? gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 |
Hi team,
I installed fbgemm_gpu by
$pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/cu121/
command, and using torch.2.4.0.Currently I am facing the error as below
Could you please let me know how to resolve this issue?
Best,
The text was updated successfully, but these errors were encountered: