Skip to content

Conversation

@linmx0130
Copy link
Contributor

Before this PR, --port variable on running model commands will only change the port within Docker container. This PR will force vLLM to be launched on port 9000 and forward them to the port assigned by users. By default, we don't expose this port because users are able to access the model through the labs Python API stack.

@linmx0130 linmx0130 requested a review from tuliren May 5, 2025 19:16
Copy link
Collaborator

@tuliren tuliren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If users launch multiple models and want to expose the port locally, they must specify different ports, right? Otherwise, there will be conflicts. Can you update the README accordingly?

@linmx0130 linmx0130 merged commit 455ea96 into python-cli May 6, 2025
3 checks passed
@linmx0130 linmx0130 deleted the mengxiao/python-port-expose branch May 6, 2025 20:20
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 this pull request may close these issues.

3 participants