Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Port could not be cast to integer value as '<function get_open_port at 0x7fc97190a7a0> #2540

Closed
xiechengmude opened this issue Jan 22, 2024 · 2 comments · Fixed by #2545

Comments

@xiechengmude
Copy link

torch.distributed.init_process_group( File "/root/miniconda3/envs/vllm2/lib/python3.10/site-packages/torch/distributed/c10d_logger.py", line 74, in wrapper func_return = func(*args, **kwargs) File "/root/miniconda3/envs/vllm2/lib/python3.10/site-packages/torch/distributed/distributed_c10d.py", line 1141, in init_process_group store, rank, world_size = next(rendezvous_iterator) File "/root/miniconda3/envs/vllm2/lib/python3.10/site-packages/torch/distributed/rendezvous.py", line 184, in _tcp_rendezvous_handler if not result.port: File "/root/miniconda3/envs/vllm2/lib/python3.10/urllib/parse.py", line 185, in port raise ValueError(f"Port could not be cast to integer value as {port!r}") ValueError: Port could not be cast to integer value as '<function get_open_port at 0x7fc97190a7a0>'

@xiechengmude
Copy link
Author

bug report

@pcmoritz
Copy link
Collaborator

pcmoritz commented Jan 22, 2024

This oddly seems to have been introduced by #2424, you can work around by running

git revert 18bfcdd05c657e6997b132488e6f4e74307d6cee

Edit: I put up a fix in #2545

pcmoritz added a commit to pcmoritz/vllm-public that referenced this issue Jan 22, 2024
Yard1 pushed a commit that referenced this issue Jan 22, 2024
hongxiayang pushed a commit to hongxiayang/vllm that referenced this issue Feb 13, 2024
coolCatalyst added a commit to coolCatalyst/vllm that referenced this issue Jun 1, 2024
shaojiewang pushed a commit to shaojiewang/vllm-rocm that referenced this issue Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants