mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #270] A timeout error occurred when running test_internode.py on four devices. #200
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepEP#200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yhyang201 on GitHub (Jul 1, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/270
A timeout error occurred when running test_internode.py on four devices. (The two-device test ran successfully.)
The error message is as follows:
I have already reviewed the following link: https://github.com/deepseek-ai/DeepEP/issues/137, but it seems the methods mentioned there are ineffective.
Please feel free to ask if you need any additional environment information.
@alpha-baby commented on GitHub (Jul 2, 2025):
are you try this PR ? #181
@sphish commented on GitHub (Jul 2, 2025):
We were not able to reproduce this issue on the main branch code. Could you please provide the output of
ibv_devinfoandnvidia-smi topo -m, as well as the test log after settingNVSHMEM_DEBUG=INFO?@yhyang201 commented on GitHub (Jul 2, 2025):
Thank you very much for your attention!
I believe I tried this PR because the commit I used is from the main branch:
@yhyang201 commented on GitHub (Jul 2, 2025):
Thank you very much for your attention!
I have provided the following information at this link: https://gist.github.com/yhyang201/c6e7a0afe4eca3abe7291e3274c4360f
@sphish commented on GitHub (Jul 3, 2025):
It looks like your testing method is correct, and NVSHMEM is also running fine. I suspect this issue might be related to the bonded NIC. Could you add me on WeChat: Sphizzz? Maybe we can debug this together.
@liweiqing1997 commented on GitHub (Jul 8, 2025):
My be same error?
[rank28]:[W708 04:17:38.756339127 CUDAGuardImpl.h:119] Warning: CUDA warning: unspecified launch failure (function destroyEvent)
[rank28]:[W708 04:17:38.756353798 CUDAGuardImpl.h:120] Warning: CUDA warning: CUDA-capable device(s) is/are busy or unavailable (function destroyEvent)
terminate called after throwing an instance of 'c10::Error'
, psutil._psutil_linux, psutil._psutil_posix, zmq.backend.cython._zmq, PIL._imaging, setproctitle._setproctitle, yaml._yaml, regex._regex, markupsafe._speedups, PIL._imagingft what(): CUDA error: unspecified launch failure
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with
TORCH_USE_CUDA_DSAto enable device-side assertions.Exception raised from c10_cuda_check_implementation at /pytorch/c10/cuda/CUDAException.cpp:43 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits, std::allocator >) + 0x98 (0x7f59ef3785e8 in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) + 0xe0 (0x7f59ef30d4a2 in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10.so)
frame #2: c10::cuda::c10_cuda_check_implementation(int, char const*, char const*, int, bool) + 0x3c2 (0x7f59ef7a5422 in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10_cuda.so)
frame #3: + 0x1e9a9 (0x7f59ef76d9a9 in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10_cuda.so)
frame #4: + 0x20060 (0x7f59ef76f060 in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10_cuda.so)
frame #5: + 0x2028c (0x7f59ef76f28c in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10_cuda.so)
frame #6: + 0x457242 (0x7f59e7057242 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_python.so)
frame #7: c10::TensorImpl::~TensorImpl() + 0x9 (0x7f59ef352f39 in /usr/local/lib/python3.10/dist-packages/torch/lib/libc10.so)
frame #8: + 0x7186d8 (0x7f59e73186d8 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_python.so)
frame #9: + 0x718af1 (0x7f59e7318af1 in /usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_python.so)
frame #10: + 0x181390 (0x561755181390 in sglang::scheduler_DP28_TP28)
frame #11: + 0x1946c8 (0x5617551946c8 in sglang::scheduler_DP28_TP28)
frame #12: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #13: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #14: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #15: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #16: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #17: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #18: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #19: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #20: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #21: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #22: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #23: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #24: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #25: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #26: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #27: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #28: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #29: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #30: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #31: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #32: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #33: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #34: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #35: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #36: + 0x181390 (0x561755181390 in sglang::scheduler_DP28_TP28)
frame #37: + 0x1946c8 (0x5617551946c8 in sglang::scheduler_DP28_TP28)
frame #38: + 0x1946dc (0x5617551946dc in sglang::scheduler_DP28_TP28)
frame #39: _PyEval_EvalFrameDefault + 0x2bfe (0x561755177e6e in sglang::scheduler_DP28_TP28)
frame #40: + 0x198b81 (0x561755198b81 in sglang::scheduler_DP28_TP28)
frame #41: _PyEval_EvalFrameDefault + 0x2a7b (0x561755177ceb in sglang::scheduler_DP28_TP28)
frame #42: _PyFunction_Vectorcall + 0x7c (0x56175518b6ac in sglang::scheduler_DP28_TP28)
frame #43: _PyEval_EvalFrameDefault + 0x807 (0x561755175a77 in sglang::scheduler_DP28_TP28)
frame #44: _PyFunction_Vectorcall + 0x7c (0x56175518b6ac in sglang::scheduler_DP28_TP28)
frame #45: _PyEval_EvalFrameDefault + 0x807 (0x561755175a77 in sglang::scheduler_DP28_TP28)
frame #46: + 0x198b81 (0x561755198b81 in sglang::scheduler_DP28_TP28)
frame #47: + 0x2ad9fa (0x5617552ad9fa in sglang::scheduler_DP28_TP28)
frame #48: + 0x2a3598 (0x5617552a3598 in sglang::scheduler_DP28_TP28)
frame #49: + 0x94ac3 (0x7f5b72094ac3 in /lib/x86_64-linux-gnu/libc.so.6)
frame #50: + 0x126850 (0x7f5b72126850 in /lib/x86_64-linux-gnu/libc.so.6)
Fatal Python error: Aborted
Thread 0x00007f34abfff640 (most recent call first):
File "/usr/lib/python3.10/threading.py", line 324 in wait
File "/usr/lib/python3.10/threading.py", line 607 in wait
File "/usr/local/lib/python3.10/dist-packages/tqdm/_monitor.py", line 60 in run
File "/usr/lib/python3.10/threading.py", line 1016 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 973 in _bootstrap
Thread 0x00007f34b5ffe640 (most recent call first):
File "/usr/local/lib/python3.10/dist-packages/sglang/srt/managers/scheduler.py", line 1987 in watchdog_thread
File "/usr/lib/python3.10/threading.py", line 953 in run
File "/usr/lib/python3.10/threading.py", line 1016 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 973 in _bootstrap
Current thread 0x00007f34b9fff640 (most recent call first):
File "/usr/local/lib/python3.10/dist-packages/sglang/srt/managers/tp_worker_overlap_thread.py", line 131 in forward_thread_func
File "/usr/lib/python3.10/threading.py", line 953 in run
File "/usr/lib/python3.10/threading.py", line 1016 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 973 in _bootstrap
Thread 0x00007f4981fff640 (most recent call first):
File "/usr/lib/python3.10/threading.py", line 324 in wait
File "/usr/lib/python3.10/threading.py", line 607 in wait
File "/usr/local/lib/python3.10/dist-packages/tqdm/_monitor.py", line 60 in run
File "/usr/lib/python3.10/threading.py", line 1016 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 973 in _bootstrap
Thread 0x00007f56f78ff640 (most recent call first):
File "/usr/local/lib/python3.10/dist-packages/torch/_inductor/compile_worker/subproc_pool.py", line 55 in _recv_msg
File "/usr/local/lib/python3.10/dist-packages/torch/_inductor/compile_worker/subproc_pool.py", line 191 in _read_thread
File "/usr/lib/python3.10/threading.py", line 953 in run
File "/usr/lib/python3.10/threading.py", line 1016 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 973 in _bootstrap
Thread 0x00007f5b71fff280 (most recent call first):
File "/usr/lib/python3.10/threading.py", line 320 in wait
File "/usr/lib/python3.10/threading.py", line 607 in wait
File "/usr/local/lib/python3.10/dist-packages/sglang/srt/managers/tp_worker_overlap_thread.py", line 203 in resolve_last_batch_result
File "/usr/local/lib/python3.10/dist-packages/sglang/srt/managers/scheduler.py", line 1757 in process_batch_result
File "/usr/local/lib/python3.10/dist-packages/sglang/srt/managers/scheduler.py", line 776 in event_loop_overlap
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116 in decorate_context
File "/usr/local/lib/python3.10/dist-packages/sglang/srt/managers/scheduler.py", line 2645 in run_scheduler_process
File "/usr/lib/python3.10/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.10/multiprocessing/process.py", line 314 in _bootstrap
File "/usr/lib/python3.10/multiprocessing/spawn.py", line 129 in _main
File "/usr/lib/python3.10/multiprocessing/spawn.py", line 116 in spawn_main
File "", line 1 in
, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers
Extension modules: numpy._core._multiarray_umath, numpy.linalg._umath_linalg, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, charset_normalizer.md, sentencepiece._sentencepiece, cuda.bindings._lib.utils, cuda.bindings._bindings.cydriver, cuda.bindings.cydriver, cuda.bindings.driver, multidict._multidict, cuda.bindings._bindings.cynvrtc, cuda.bindings.cynvrtc, cuda.bindings.nvrtc, yarl._quoting_c, propcache._helpers_c, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c, frozenlist._frozenlist, uvloop.loop, torch._C, torch._C._dynamo.autograd_compiler, torch._C._dynamo.eval_frame, torch._C._dynamo.guards, torch._C._dynamo.utils, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, msgspec._core, scipy._lib._ccallback_c, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg._matfuncs_expm, scipy.linalg._linalg_pythran, scipy.linalg.cython_blas, psutil._psutil_linux, scipy.linalg._decomp_update, psutil._psutil_posix, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, zmq.backend.cython._zmq, scipy.sparse.linalg._propack._spropack, scipy.sparse.linalg._propack._dpropack, scipy.sparse.linalg._propack._cpropack, , PIL._imagingscipy.sparse.linalg._propack._zpropack, scipy.sparse.csgraph._tools, , setproctitle._setproctitlescipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, , scipy.optimize._group_columnsyaml._yaml, scipy._lib.messagestream, scipy.optimize._trlib._trlib, , scipy.optimize._lbfgsbregex._regex, _moduleTNC, scipy.optimize._moduleTNC, markupsafe._speedups, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize._cython_nnls, scipy._lib._uarray._uarray, PIL._imagingft, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.linalg._decomp_interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.spatial._ckdtree, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.spatial.transform._rotation, scipy.optimize._direct, cuda_utils, numpy.random._common, numpy.random.bit_generator, __triton_launcher, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64 (total: 108)
, numpy.random._sfc64, numpy.random._generator, sentencepiece._sentencepiece, cuda.bindings._lib.utils, cuda.bindings._bindings.cydriver, cuda.bindings.cydriver, cuda.bindings.driver, cuda.bindings._bindings.cynvrtc, cuda.bindings.cynvrtc, cuda.bindings.nvrtc, msgspec._core, scipy._lib._ccallback_c, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg._matfuncs_expm, scipy.linalg._linalg_pythran, scipy.linalg.cython_blas, scipy.linalg._decomp_update, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.linalg._propack._spropack, scipy.sparse.linalg._propack._dpropack, scipy.sparse.linalg._propack._cpropack, scipy.sparse.linalg._propack._zpropack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.optimize._group_columns, scipy._lib.messagestream, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize._cython_nnls, scipy._lib._uarray._uarray, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.linalg._decomp_interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.spatial._ckdtree, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.spatial.transform._rotation, scipy.optimize._direct, cuda_utils, __triton_launcher (total: 108)
@pengchengneo commented on GitHub (Jul 9, 2025):
@sphish @yhyang201 hi, I also encountered with this error , can u share the method with this issue?
@bighammerExt commented on GitHub (Aug 21, 2025):
I encountered the same error and solved by git checkout
77f97f79bd&& NVSHMEM_DIR=/sgl-workspace/nvshmem/install python setup.py install, but i don't know why@fungaren commented on GitHub (Sep 9, 2025):
I got the same error, after upgrading to the latest DeepEP commit (main branch) this problem has gone.
@yhyang201 commented on GitHub (Sep 9, 2025):
close this issue for now