Skip to content

socket.gaierror: [Errno -5] No address associated with hostname #136

Open

Description

@Greatpanc

报错日志如下:

[process-150623][root][04/15/2025 20:15:44][__init__.py:<module>():14][INFO] init logger end
so path:  /mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10/site-packages/maga_transformer/libs
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():49][INFO] checked path [/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/workspace/rtp-llm/example] for xft, not found.
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():49][INFO] checked path [/mnt/bn/pan-personal-bytenas/yinchangpan/mfip] for xft, not found.
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():49][INFO] checked path [/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/workspace/rtp-llm/example] for xft, not found.
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():49][INFO] checked path [/opt/tiger/rh2] for xft, not found.
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():49][INFO] checked path [/opt/tiger/pyutil] for xft, not found.
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():49][INFO] checked path [/mnt/bn/pan-personal-bytenas/yinchangpan/workspace/EAGLE] for xft, not found.
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():49][INFO] checked path [/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10] for xft, not found.
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():49][INFO] checked path [/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10/lib-dynload] for xft, not found.
[process-150623][root][04/15/2025 20:15:51][__init__.py:<module>():43][INFO] load libxfastertransformer.so from /mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10/site-packages/xfastertransformer-devel/lib
Traceback (most recent call last):
  File "/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10/site-packages/maga_transformer/start_server.py", line 18, in <module>
    from maga_transformer.distribute.worker_info import g_worker_info, g_parallel_info
  File "/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10/site-packages/maga_transformer/distribute/worker_info.py", line 125, in <module>
    g_worker_info = WorkerInfo.from_env()
  File "/mnt/bn/pan-personal-bytenas/mlx/users/yinchangpan/software/conda/envs/ycp_py310_rtpllm_new/lib/python3.10/site-packages/maga_transformer/distribute/worker_info.py", line 87, in from_env
    ip=socket.gethostbyname(socket.gethostname()),
socket.gaierror: [Errno -5] No address associated with hostname

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions