[GH-ISSUE #211] undefined symbol #168

Closed
opened 2026-10-26 09:55:32 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @wwj-2017-1117 on GitHub (Jun 14, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/211

I meet a problem:

this build ok:
NVSHMEM_DIR=/home/wb/nvshmem python setup.py build

#python tests/test_intranode.py
Traceback (most recent call last):
File "/home/wb/DeepEP/tests/test_intranode.py", line 7, in
import deep_ep
File "/home/wb/miniconda3/lib/python3.9/site-packages/deep_ep-1.0.0+d5ca449-py3.9-linux-x86_64.egg/deep_ep/init.py", line 3, in
from .utils import EventOverlap
File "/home/wb/miniconda3/lib/python3.9/site-packages/deep_ep-1.0.0+d5ca449-py3.9-linux-x86_64.egg/deep_ep/utils.py", line 5, in
from deep_ep_cpp import Config, EventHandle
ImportError: /home/wb/miniconda3/lib/python3.9/site-packages/deep_ep-1.0.0+d5ca449-py3.9-linux-x86_64.egg/deep_ep_cpp.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv

Originally created by @wwj-2017-1117 on GitHub (Jun 14, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/211 I meet a problem: this build ok: NVSHMEM_DIR=/home/wb/nvshmem python setup.py build #python tests/test_intranode.py Traceback (most recent call last): File "/home/wb/DeepEP/tests/test_intranode.py", line 7, in <module> import deep_ep File "/home/wb/miniconda3/lib/python3.9/site-packages/deep_ep-1.0.0+d5ca449-py3.9-linux-x86_64.egg/deep_ep/__init__.py", line 3, in <module> from .utils import EventOverlap File "/home/wb/miniconda3/lib/python3.9/site-packages/deep_ep-1.0.0+d5ca449-py3.9-linux-x86_64.egg/deep_ep/utils.py", line 5, in <module> from deep_ep_cpp import Config, EventHandle ImportError: /home/wb/miniconda3/lib/python3.9/site-packages/deep_ep-1.0.0+d5ca449-py3.9-linux-x86_64.egg/deep_ep_cpp.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv
Author
Owner

@LyricZhao commented on GitHub (Jun 16, 2025):

I guess it is related to your Python/pybind/compiler in your environment: https://github.com/pybind/pybind11/issues/3623.

<!-- gh-comment-id:2974966745 --> @LyricZhao commented on GitHub (Jun 16, 2025): I guess it is related to your Python/pybind/compiler in your environment: https://github.com/pybind/pybind11/issues/3623.
Author
Owner

@wwj-2017-1117 commented on GitHub (Jun 20, 2025):

conda install -n base conda=24.1.2

after update conda ,it work

<!-- gh-comment-id:2989691370 --> @wwj-2017-1117 commented on GitHub (Jun 20, 2025): # conda install -n base conda=24.1.2 after update conda ,it work
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#168
No description provided.