InternLM / InternLM/lmdeploy

[Bug] Ascend v0.7.2.post1,对serving api测速,概率性卡死

Open
#3,354 24 comments 0 reactions 1 assignee Claimed by @jinminxi104 View on GitHub
Dominant language
Python
Stars
8.1k
Forks
748
Avg merge
6d 2h
Merged PRs (30d)
54

Description

### Checklist

- [x] 1. I have searched related issues but cannot get the expected help.
- [x] 2. The bug has not been fixed in the latest version.
- [x] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

### Describe the bug

ascend卡部署QwQ-32B,使用官方制作的ascend镜像

先用一些短文本warmup,然后使用1k个更长的文本对api server进行测速,1k prompt跑多次,1k prompt运行过程中,概率性出现卡死,server报错

### Reproduction

serving
```bash
lmdeploy serve api_server \
--backend pytorch \
--device ascend \
--server-port 23333 \
--tp 8 \
--dtype bfloat16 \
--chat-template qwen2d5 \
--model-name QwQ-32B \
/cache/hf_models/QwQ-32B/
```
首先,warmup
```bash
MODEL_NAME="QwQ-32B"
TOKENIZER_PATH=/cache/hf_models/QwQ-32B/
SEED=42

for N in 1 64 256 512
do
echo "warmup with N=${N}"
python profile_restful_api.py \
--host localhost \
--port 23333 \
--backend lmdeploy \
--dataset-name random \
--dataset-path /cache/ShareGPT_V3_unfiltered_cleaned_split.json \
--random-input-len 256 \
--random-output-len 128 \
--random-range-ratio 0.5 \
--model ${MODEL_NAME} \
--tokenizer ${TOKENIZER_PATH} \
--seed ${SEED} \
--num-prompts ${N}
done
```
然后,使用1k个prompt测试,运行多次
```bash
MODEL_NAME="QwQ-32B"
TOKENIZER_PATH=/cache/hf_models/QwQ-32B/
SEED=42
NUM_PROMPTS=1000

for i in `seq 1 10`
do
python profile_restful_api.py \
--host localhost \
--port 23333 \
--backend lmdeploy \
--dataset-name random \
--dataset-path /cache/ShareGPT_V3_unfiltered_cleaned_split.json \
--random-input-len 1024 \
--random-output-len 1024 \
--random-range-ratio 0.5 \
--model ${MODEL_NAME} \
--tokenizer ${TOKENIZER_PATH} \
--seed ${SEED} \
--num-prompts ${NUM_PROMPTS}
done
```

### Environment

```Shell
sys.platform: linux
Python: 3.10.5 (main, Mar 24 2025, 07:28:13) [GCC 9.4.0]
CUDA available: False
MUSA available: False
numpy_random_seed: 2147483648
GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
PyTorch: 2.3.1
PyTorch compiling details: PyTorch built with:
- GCC 10.2
- C++ Version: 201703
- Intel(R) MKL-DNN v3.3.6 (Git Hash 86e6af5974177e513fd3fee58425e1063e7f1361)
- OpenMP 201511 (a.k.a. OpenMP 4.5)
- LAPACK is enabled (usually provided by MKL)
- NNPACK is enabled
- CPU capability usage: NO AVX
- Build settings: BLAS_INFO=open, BUILD_TYPE=Release, CXX_COMPILER=/opt/rh/devtoolset-10/root/usr/bin/c++, CXX_FLAGS= -D_GLIBCXX_USE_CXX11_ABI=0 -fabi-version=11 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=open, TORCH_VERSION=2.3.1, USE_CUDA=OFF, USE_CUDNN=OFF, USE_CUSPARSELT=OFF, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF,

TorchVision: 0.18.1
LMDeploy: 0.7.2.post1+
transformers: 4.50.0
gradio: Not Found
fastapi: 0.115.12
pydantic: 2.10.6
triton: Not Found
```

### Error traceback

server日志报错,需要等挺久,到timeout时间
```Shell
EI0002: [PID: 198418] 2025-03-26-13:18:05.447.186 The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[125802984], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:05 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[5].]
Possible Cause: 1. An exception occurs during the execution on some NPUs in the cluster. As a result, collective communication operation failed.2. The execution speed on some NPU in the cluster is too slow to complete a communication operation within the timeout interval. (default 1800s, You can set the interval by using HCCL_EXEC_TIMEOUT.)3. The number of training samples of each NPU is inconsistent.4. Packet loss or other connectivity problems occur on the communication link.
Solution: 1. If this error is reported on part of these ranks, check other ranks to see whether other errors have been reported earlier.2. If this error is reported for all ranks, check whether the error reporting time is consistent (the maximum difference must not exceed 1800s). If not, locate the cause or adjust the locate the cause or set the HCCL_EXEC_TIMEOUT environment variable to a larger value.3. Check whether the completion queue element (CQE) of the error exists in the plog(grep -rn 'error cqe'). If so, check the network connection status. (For details, see the TLS command and HCCN connectivity check examples.)4. Ensure that the number of training samples of each NPU is consistent. For details:https://www.hiascend.com/document
TraceBack (most recent call last):
The error from device(chipId:5, dieId:0), serial number is 17, hccl fftsplus task timeout occurred during task execution, stream_id:7, sq_id:7, task_id:9865, stuck notify num:3, timeout:1836.[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1657]
The 0 stuck notify wait context info:(context_id=13, notify_id=17).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 1 stuck notify wait context info:(context_id=15, notify_id=19).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 2 stuck notify wait context info:(context_id=17, notify_id=27).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[125802984], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:05 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[5].]
rtStreamSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
synchronize stream failed, runtime result = 507048[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]

EI0002: [PID: 199085] 2025-03-26-13:18:05.474.973 The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[882633192], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:05 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[7].]
Possible Cause: 1. An exception occurs during the execution on some NPUs in the cluster. As a result, collective communication operation failed.2. The execution speed on some NPU in the cluster is too slow to complete a communication operation within the timeout interval. (default 1800s, You can set the interval by using HCCL_EXEC_TIMEOUT.)3. The number of training samples of each NPU is inconsistent.4. Packet loss or other connectivity problems occur on the communication link.
Solution: 1. If this error is reported on part of these ranks, check other ranks to see whether other errors have been reported earlier.2. If this error is reported for all ranks, check whether the error reporting time is consistent (the maximum difference must not exceed 1800s). If not, locate the cause or adjust the locate the cause or set the HCCL_EXEC_TIMEOUT environment variable to a larger value.3. Check whether the completion queue element (CQE) of the error exists in the plog(grep -rn 'error cqe'). If so, check the network connection status. (For details, see the TLS command and HCCN connectivity check examples.)4. Ensure that the number of training samples of each NPU is consistent. For details:https://www.hiascend.com/document
TraceBack (most recent call last):
The error from device(chipId:7, dieId:0), serial number is 17, hccl fftsplus task timeout occurred during task execution, stream_id:7, sq_id:7, task_id:9865, stuck notify num:1, timeout:1836.[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1657]
The 0 stuck notify wait context info:(context_id=2, notify_id=8).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[882633192], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:05 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[7].]
rtStreamSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
synchronize stream failed, runtime result = 507048[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]
EI0002: [PID: 196972] 2025-03-26-13:18:05.501.624 The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[763329000], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:06 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[0].]
Possible Cause: 1. An exception occurs during the execution on some NPUs in the cluster. As a result, collective communication operation failed.2. The execution speed on some NPU in the cluster is too slow to complete a communication operation within the timeout interval. (default 1800s
, You can set the interval by using HCCL_EXEC_TIMEOUT.)3. The number of training samples of each NPU is inconsistent.4. Packet loss or other connectivity problems occur on the communication link.
Solution: 1. If this error is reported on part of these ranks, check other ranks to see whether other errors have been reported earlier.2. If this error is reported for all ranks, check whether the error reporting time is consistent (the maximum difference must not exceed 1800s). If not, locate the cause or adjust the locate the cause or set the HCCL_EXEC_TIMEOUT environment variable to a larger value.3. Check whether the completion queue element (CQE) of the error exists in the plog(grep -rn 'error cqe'). If so, check the network connection status. (For details, see the TLS command and HCCN connectivity check examples.)4. Ensure that the number of training samples of each NPU is consistent. For details:https://www.hiascend.com/document
TraceBack (most recent call last):
The error from device(chipId:0, dieId:0), serial number is 13, hccl fftsplus task timeout occurred during task execution, stream_id:11, sq_id:11, task_id:9865, stuck notify num:1, timeout:1836.[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1657]
The 0 stuck notify wait context info:(context_id=12, notify_id=11).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[763329000], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:06 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[0].]
rtStreamSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
synchronize stream failed, runtime result = 507048[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]

EI0002: [PID: 197625] 2025-03-26-13:18:05.532.566 The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[587172328], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:07 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[3].]
Possible Cause: 1. An exception occurs during the execution on some NPUs in the cluster. As a result, collective communication operation failed.2. The execution speed on some NPU in the cluster is too slow to complete a communication operation within the timeout interval. (default 1800s, You can set the interval by using HCCL_EXEC_TIMEOUT.)3. The number of training samples of each NPU is inconsistent.4. Packet loss or other connectivity problems occur on the communication link.
Solution: 1. If this error is reported on part of these ranks, check other ranks to see whether other errors have been reported earlier.2. If this error is reported for all ranks, check whether the error reporting time is consistent (the maximum difference must not exceed 1800s). If not, locate the cause or adjust the locate the cause or set the HCCL_EXEC_TIMEOUT environment variable to a larger value.3. Check whether the completion queue element (CQE) of the error exists in the plog(grep -rn 'error cqe'). If so, check the network connection status. (For details, see the TLS command and HCCN connectivity check examples.)4. Ensure that the number of training samples of each NPU is consistent. For details:https://www.hiascend.com/document
TraceBack (most recent call last):
The error from device(chipId:3, dieId:0), serial number is 30, hccl fftsplus task timeout occurred during task execution, stream_id:7, sq_id:7, task_id:9865, stuck notify num:3, timeout:1836.[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1657]
The 0 stuck notify wait context info:(context_id=9, notify_id=11).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 1 stuck notify wait context info:(context_id=11, notify_id=23).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 2 stuck notify wait context info:(context_id=13, notify_id=16).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[587172328], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:07 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[3].]
rtStreamSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
synchronize stream failed, runtime result = 507048[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]

EI0002: [PID: 197144] 2025-03-26-13:18:06.069.316 The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[4278159848], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:06 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[1].]
Possible Cause: 1. An exception occurs during the execution on some NPUs in the cluster. As a result, collective communication operation failed.2. The execution speed on some NPU in the cluster is too slow to complete a communication operation within the timeout interval. (default 1800s, You can set the interval by using HCCL_EXEC_TIMEOUT.)3. The number of training samples of each NPU is inconsistent.4. Packet loss or other connectivity problems occur on the communication link.
Solution: 1. If this error is reported on part of these ranks, check other ranks to see whether other errors have been reported earlier.2. If this error is reported for all ranks, check whether the error reporting time is consistent (the maximum difference must not exceed 1800s). If not, locate the cause or adjust the locate the cause or set the HCCL_EXEC_TIMEOUT environment variable to a larger value.3. Check whether the completion queue element (CQE) of the error exists in the plog(grep -rn 'error cqe'). If so, check the network connection status. (For details, see the TLS command and HCCN connectivity check examples.)4. Ensure that the number of training samples of each NPU is consistent. For details:https://www.hiascend.com/document
TraceBack (most recent call last):
The error from device(chipId:1, dieId:0), serial number is 29, hccl fftsplus task timeout occurred during task execution, stream_id:7, sq_id:7, task_id:9865, stuck notify num:3, timeout:1836.[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1657]
The 0 stuck notify wait context info:(context_id=5, notify_id=1).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 1 stuck notify wait context info:(context_id=7, notify_id=7).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 2 stuck notify wait context info:(context_id=9, notify_id=13).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[4278159848], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:06 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[1].]
rtStreamSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
synchronize stream failed, runtime result = 507048[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]

EI0002: [PID: 198083] 2025-03-26-13:18:06.072.050 The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[511670760], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:06 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[4].]
Possible Cause: 1. An exception occurs during the execution on some NPUs in the cluster. As a result, collective communication operation failed.2. The execution speed on some NPU in the cluster is too slow to complete a communication operation within the timeout interval. (default 1800s, You can set the interval by using HCCL_EXEC_TIMEOUT.)3. The number of training samples of each NPU is inconsistent.4. Packet loss or other connectivity problems occur on the communication link.
Solution: 1. If this error is reported on part of these ranks, check other ranks to see whether other errors have been reported earlier.2. If this error is reported for all ranks, check whether the error reporting time is consistent (the maximum difference must not exceed 1800s). If not, locate the cause or adjust the locate the cause or set the HCCL_EXEC_TIMEOUT environment variable to a larger value.3. Check whether the completion queue element (CQE) of the error exists in the plog(grep -rn 'error cqe'). If so, check the network connection status. (For details, see the TLS command and HCCN connectivity check examples.)4. Ensure that the number of training samples of each NPU is consistent. For details:https://www.hiascend.com/document
TraceBack (most recent call last):
The error from device(chipId:4, dieId:0), serial number is 14, hccl fftsplus task timeout occurred during task execution, stream_id:7, sq_id:7, task_id:9865, stuck notify num:3, timeout:1836.[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1657]
The 0 stuck notify wait context info:(context_id=11, notify_id=1).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 1 stuck notify wait context info:(context_id=13, notify_id=7).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 2 stuck notify wait context info:(context_id=15, notify_id=11).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[511670760], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:06 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[4].]
rtStreamSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
synchronize stream failed, runtime result = 507048[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]

EI0002: [PID: 197247] 2025-03-26-13:18:06.126.352 The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[614197736], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:07 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[2].]
Possible Cause: 1. An exception occurs during the execution on some NPUs in the cluster. As a result, collective communication operation failed.2. The execution speed on some NPU in the cluster is too slow to complete a communication operation within the timeout interval. (default 1800s, You can set the interval by using HCCL_EXEC_TIMEOUT.)3. The number of training samples of each NPU is inconsistent.4. Packet loss or other connectivity problems occur on the communication link.
Solution: 1. If this error is reported on part of these ranks, check other ranks to see whether other errors have been reported earlier.2. If this error is reported for all ranks, check whether the error reporting time is consistent (the maximum difference must not exceed 1800s). If not, locate the cause or adjust the locate the cause or set the HCCL_EXEC_TIMEOUT environment variable to a larger value.3. Check whether the completion queue element (CQE) of the error exists in the plog(grep -rn 'error cqe'). If so, check the network connection status. (For details, see the TLS command and HCCN connectivity check examples.)4. Ensure that the number of training samples of each NPU is consistent. For details:https://www.hiascend.com/document
TraceBack (most recent call last):
The error from device(chipId:2, dieId:0), serial number is 30, hccl fftsplus task timeout occurred during task execution, stream_id:7, sq_id:7, task_id:9865, stuck notify num:3, timeout:1836.[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1657]
The 0 stuck notify wait context info:(context_id=7, notify_id=9).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 1 stuck notify wait context info:(context_id=9, notify_id=18).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The 2 stuck notify wait context info:(context_id=11, notify_id=23).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[614197736], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: [
there are(is) 1 abnormal device(s):
Cluster Exception Location[IP/ID]:[172.16.38.219/6], Arrival Time:[Wed Mar 26 13:07:07 2025], ExceptionType:[Stuck Occurred], Possible Reason:1.Host process is stuck, 2.Device task is stuck
]. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[2].]
rtStreamSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
synchronize stream failed, runtime result = 507048[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]

2025-03-26 13:18:06,621 - lmdeploy - ERROR - model_agent.py:470 - Task failed
Traceback (most recent call last):
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 465, in _on_finish_callback
task.result()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 456, in _async_loop_background
await self._async_step_background(**forward_inputs, )
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 396, in _async_step_background
output = await self._async_model_forward(
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 289, in _async_model_forward
ret = await __forward(inputs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 249, in __forward
return await self.async_forward(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 632, in async_forward
output = self._forward_impl(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 616, in _forward_impl
output = model_forward(
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 57, in model_forward
context = ctx_mgr.build_context(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 438, in build_context
return StepContext.new(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 410, in new
ret = get_backend().update_step_context(ret)
File "/opt/lmdeploy/lmdeploy/pytorch/backends/dlinfer/ascend/op_backend.py", line 117, in update_step_context
q_seqlens_list = step_context.q_seqlens.tolist()
RuntimeError: ACL stream synchronize failed, error code:507048
2025-03-26 13:18:06,621 - lmdeploy - ERROR - model_agent.py:470 - Task failed
Traceback (most recent call last):
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 465, in _on_finish_callback
task.result()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 456, in _async_loop_background
await self._async_step_background(**forward_inputs, )
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 396, in _async_step_background
output = await self._async_model_forward(
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 289, in _async_model_forward
ret = await __forward(inputs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 249, in __forward
return await self.async_forward(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 632, in async_forward
output = self._forward_impl(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 616, in _forward_impl
output = model_forward(
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 57, in model_forward
context = ctx_mgr.build_context(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 438, in build_context
return StepContext.new(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 410, in new
ret = get_backend().update_step_context(ret)
File "/opt/lmdeploy/lmdeploy/pytorch/backends/dlinfer/ascend/op_backend.py", line 117, in update_step_context
q_seqlens_list = step_context.q_seqlens.tolist()
RuntimeError: ACL stream synchronize failed, error code:507048
2025-03-26 13:18:06,621 - lmdeploy - ERROR - model_agent.py:470 - Task failed
Traceback (most recent call last):
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 465, in _on_finish_callback
task.result()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 456, in _async_loop_background
await self._async_step_background(**forward_inputs, )
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 396, in _async_step_background
output = await self._async_model_forward(
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 289, in _async_model_forward
ret = await __forward(inputs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 249, in __forward
return await self.async_forward(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 632, in async_forward
output = self._forward_impl(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 616, in _forward_impl
output = model_forward(
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 57, in model_forward
context = ctx_mgr.build_context(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 438, in build_context
return StepContext.new(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 410, in new
ret = get_backend().update_step_context(ret)
File "/opt/lmdeploy/lmdeploy/pytorch/backends/dlinfer/ascend/op_backend.py", line 117, in update_step_context
q_seqlens_list = step_context.q_seqlens.tolist()
RuntimeError: ACL stream synchronize failed, error code:507048
2025-03-26 13:18:06,621 - lmdeploy - ERROR - model_agent.py:470 - Task failed
Traceback (most recent call last):
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 465, in _on_finish_callback
task.result()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 456, in _async_loop_background
await self._async_step_background(**forward_inputs, )
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 396, in _async_step_background
output = await self._async_model_forward(
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 289, in _async_model_forward
ret = await __forward(inputs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 249, in __forward
return await self.async_forward(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 632, in async_forward
output = self._forward_impl(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 616, in _forward_impl
output = model_forward(
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 57, in model_forward
context = ctx_mgr.build_context(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 438, in build_context
return StepContext.new(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 410, in new
ret = get_backend().update_step_context(ret)
File "/opt/lmdeploy/lmdeploy/pytorch/backends/dlinfer/ascend/op_backend.py", line 117, in update_step_context
q_seqlens_list = step_context.q_seqlens.tolist()
RuntimeError: ACL stream synchronize failed, error code:507048
2025-03-26 13:18:06,621 - lmdeploy - ERROR - model_agent.py:470 - Task failed
Traceback (most recent call last):
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 465, in _on_finish_callback
task.result()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 456, in _async_loop_background
await self._async_step_background(**forward_inputs, )
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 396, in _async_step_background
output = await self._async_model_forward(
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 289, in _async_model_forward
ret = await __forward(inputs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 249, in __forward
return await self.async_forward(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 632, in async_forward
output = self._forward_impl(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 616, in _forward_impl
output = model_forward(
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 57, in model_forward
context = ctx_mgr.build_context(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 438, in build_context
return StepContext.new(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 410, in new
ret = get_backend().update_step_context(ret)
File "/opt/lmdeploy/lmdeploy/pytorch/backends/dlinfer/ascend/op_backend.py", line 117, in update_step_context
q_seqlens_list = step_context.q_seqlens.tolist()
RuntimeError: ACL stream synchronize failed, error code:507048
2025-03-26 13:18:06,621 - lmdeploy - ERROR - model_agent.py:470 - Task failed
Traceback (most recent call last):
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 465, in _on_finish_callback
task.result()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 456, in _async_loop_background
await self._async_step_background(**forward_inputs, )
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 396, in _async_step_background
output = await self._async_model_forward(
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 289, in _async_model_forward
ret = await __forward(inputs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 249, in __forward
return await self.async_forward(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 632, in async_forward
output = self._forward_impl(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 616, in _forward_impl
output = model_forward(
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 57, in model_forward
context = ctx_mgr.build_context(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 438, in build_context
return StepContext.new(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 410, in new
ret = get_backend().update_step_context(ret)
File "/opt/lmdeploy/lmdeploy/pytorch/backends/dlinfer/ascend/op_backend.py", line 117, in update_step_context
q_seqlens_list = step_context.q_seqlens.tolist()
RuntimeError: ACL stream synchronize failed, error code:507048
2025-03-26 13:18:06,621 - lmdeploy - ERROR - model_agent.py:470 - Task failed
Traceback (most recent call last):
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 465, in _on_finish_callback
task.result()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 456, in _async_loop_background
await self._async_step_background(**forward_inputs, )
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 396, in _async_step_background
output = await self._async_model_forward(
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 289, in _async_model_forward
ret = await __forward(inputs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 249, in __forward
return await self.async_forward(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 632, in async_forward
output = self._forward_impl(inputs, swap_in_map=swap_in_map, swap_out_map=swap_out_map)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 616, in _forward_impl
output = model_forward(
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 57, in model_forward
context = ctx_mgr.build_context(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 438, in build_context
return StepContext.new(
File "/opt/lmdeploy/lmdeploy/pytorch/model_inputs.py", line 410, in new
ret = get_backend().update_step_context(ret)
File "/opt/lmdeploy/lmdeploy/pytorch/backends/dlinfer/ascend/op_backend.py", line 117, in update_step_context
q_seqlens_list = step_context.q_seqlens.tolist()
RuntimeError: ACL stream synchronize failed, error code:507048
2025-03-26 13:18:06,623 - lmdeploy - ERROR - mp_executor.py:276 - Received custom termination signal from sub processing, exiting...
Process ExecutorProc-0:
Traceback (most recent call last):
File "/usr/local/python3.10.5/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/local/python3.10.5/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/executor/mp_executor.py", line 538, in _main_loop
worker.release()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/executor/base_worker.py", line 161, in release
self.model_agent.release()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 654, in release
torch.cuda.empty_cache()
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch_npu/npu/memory.py", line 144, in empty_cache
torch_npu._C._npu_emptyCache()
RuntimeError: npuSynchronizeDevice:build/CMakeFiles/torch_npu.dir/compiler_depend.ts:380 NPU function error: aclrtSynchronizeDevice, error code is 507048
[ERROR] 2025-03-26-13:18:07 (PID:196972, Device:0, RankID:0) ERR00100 PTA call acl api failed
[Error]: The execution of the internal task times out.
Rectify the fault based on the error information in the ascend log.
EH9999: Inner Error!
rtDeviceSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
EH9999: [PID: 196972] 2025-03-26-13:18:07.157.948 wait for compute device to finish failed, runtime result = 507048.[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]
TraceBack (most recent call last):

Process ExecutorProc-6:
Traceback (most recent call last):
File "/usr/local/python3.10.5/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/local/python3.10.5/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/lmdeploy/lmdeploy/pytorch/engine/executor/mp_executor.py", line 538, in _main_loop
worker.release()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/executor/base_worker.py", line 161, in release
self.model_agent.release()
File "/opt/lmdeploy/lmdeploy/pytorch/engine/model_agent.py", line 654, in release
torch.cuda.empty_cache()
File "/usr/local/python3.10.5/lib/python3.10/site-packages/torch_npu/npu/memory.py", line 144, in empty_cache
torch_npu._C._npu_emptyCache()
RuntimeError: npuSynchronizeDevice:build/CMakeFiles/torch_npu.dir/compiler_depend.ts:380 NPU function error: aclrtSynchronizeDevice, error code is 507048
[ERROR] 2025-03-26-13:49:01 (PID:198748, Device:6, RankID:6) ERR00100 PTA call acl api failed
[Error]: The execution of the internal task times out.
Rectify the fault based on the error information in the ascend log.
EI0002: [PID: 198748] 2025-03-26-13:49:01.670.614 The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[293579240], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: []. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[6].]
Possible Cause: 1. An exception occurs during the execution on some NPUs in the cluster. As a result, collective communication operation failed.2. The execution speed on some NPU in the cluster is too slow to complete a communication operation within the timeout interval. (default 1800s, You can set the interval by using HCCL_EXEC_TIMEOUT.)3. The number of training samples of each NPU is inconsistent.4. Packet loss or other connectivity problems occur on the communication link.
Solution: 1. If this error is reported on part of these ranks, check other ranks to see whether other errors have been reported earlier.2. If this error is reported for all ranks, check whether the error reporting time is consistent (the maximum difference must not exceed 1800s). If not, locate the cause or adjust the locate the cause or set the HCCL_EXEC_TIMEOUT environment variable to a larger value.3. Check whether the completion queue element (CQE) of the error exists in the plog(grep -rn 'error cqe'). If so, check the network connection status. (For details, see the TLS command and HCCN connectivity check examples.)4. Ensure that the number of training samples of each NPU is consistent. For details:https://www.hiascend.com/document
TraceBack (most recent call last):
The error from device(chipId:6, dieId:0), serial number is 16, hccl fftsplus task timeout occurred during task execution, stream_id:7, sq_id:7, task_id:9865, stuck notify num:1, timeout:1836.[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1657]
The 0 stuck notify wait context info:(context_id=2, notify_id=9).[FUNC:ProcessStarsHcclFftsPlusTimeoutErrorInfo][FILE:device_error_proc.cc][LINE:1664]
The wait execution of the Notify register times out. Reason: The Notify register has not received the Notify record from remote rank: [unknown]. base information: [streamID:[293579240], taskID[9865], tag[Broadcast_172.16.38.219%eth0_60000_0_1742963775856197], AlgType(level 0-1-2):[fullmesh-H-D-ring].]. task information: []. group information: [group:[172.16.38.219%eth0_60000_0_1742963775856197], user define information[], rankSize[8], rankId[6].]
rtDeviceSynchronize execute failed, reason=[fftsplus timeout][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]
wait for compute device to finish failed, runtime result = 507048.[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.