Skip to content

feat(serve): add port check#25

Open
Willaaaaaaa wants to merge 1 commit intoAXERA-TECH:axllmfrom
Willaaaaaaa:patch-0326
Open

feat(serve): add port check#25
Willaaaaaaa wants to merge 1 commit intoAXERA-TECH:axllmfrom
Willaaaaaaa:patch-0326

Conversation

@Willaaaaaaa
Copy link

Currently, axllm serve xxx --port xx will exit with no warning or error if the port user specified is unavailable.
This patch introduced a new function to check whether a port is available. If not, an error will be shown to the console.

It is tested under AX650 and works fine.

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.

1 participant