modelscope icon indicating copy to clipboard operation
modelscope copied to clipboard

RuntimeError: MGLMTextSummarizationPipeline: The server socket has failed to listen on any local network address. The server socket has failed to bind to [::]:29500 (errno: 98 - Address already in use). The server socket has failed to bind to 0.0.0.0:29500

Open alphanlp opened this issue 1 year ago • 2 comments

Traceback (most recent call last): File "chinese_abstract.py", line 27, in model_revision='v1.0.1', File "/data/huap/software/miniconda3/envs/ms/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 141, in pipeline return build_pipeline(cfg, task_name=task) File "/data/huap/software/miniconda3/envs/ms/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 55, in build_pipeline cfg, PIPELINES, group_key=task_name, default_args=default_args) File "/data/huap/software/miniconda3/envs/ms/lib/python3.7/site-packages/modelscope/utils/registry.py", line 215, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') RuntimeError: MGLMTextSummarizationPipeline: The server socket has failed to listen on any local network address. The server socket has failed to bind to [::]:29500 (errno: 98 - Address already in use). The server socket has failed to bind to 0.0.0.0:29500 (errno: 98 - Address already in use).

alphanlp avatar Mar 15 '23 02:03 alphanlp

看起来是网络不通?

yingdachen avatar Mar 16 '23 02:03 yingdachen

是不是同时还有别的类似程序再跑?看样子是端口被别的程序占用了,torchrun 拉起训练的时候 使用--master_port xxxx 改一下端口试试

yinzhang809 avatar Mar 16 '23 02:03 yinzhang809

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Apr 16 '23 01:04 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Apr 22 '23 01:04 github-actions[bot]