ms-swift icon indicating copy to clipboard operation
ms-swift copied to clipboard

多卡训练过程中的Validation阶段完成时有概率报警告并卡住

Open cnyvfang opened this issue 1 year ago • 5 comments

Describe the bug

使用多卡Freeze LLM训练Visual及Merger部分在训练过程中的Validation阶段完成时有概率报以下警告并卡住:

WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1016)'))': /api/house/metrics

WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'RemoteDisconnected('Remote end closed connection without response')': /api/house/metrics

Your hardware and system info Pytorch: 12.7 CUDA: 12.6 Transformers: 4.51.3 8GPU,集群Docker环境

cnyvfang avatar Jul 24 '25 09:07 cnyvfang

Describe the bug

使用多卡Freeze LLM训练Visual及Merger部分在训练过程中的Validation阶段完成时有概率报以下警告并卡住:

WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1016)'))': /api/house/metrics

WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'RemoteDisconnected('Remote end closed connection without response')': /api/house/metrics

Your hardware and system info Pytorch: 12.7 CUDA: 12.6 Transformers: 4.51.3 8GPU,集群Docker环境

附一下训练脚本

slin000111 avatar Sep 19 '25 09:09 slin000111

我发现我训练偶尔也会这样,我没有validation

AnitaLiu98 avatar Dec 17 '25 06:12 AnitaLiu98

同

singing4you avatar Feb 01 '26 02:02 singing4you

+1

JamChaos avatar Feb 02 '26 10:02 JamChaos

please retry with latest swift and vllm, feel free to reopen or create a new issue if it the problem persists.

z0o0ey avatar Jul 01 '26 03:07 z0o0ey