Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Conversation

@yutianchen666
Copy link
Contributor

No description provided.

@yutianchen666 yutianchen666 marked this pull request as ready for review May 24, 2024 01:57
@yutianchen666 yutianchen666 requested a review from xwu-intel May 24, 2024 01:58
@xwu-intel
Copy link

Could you add a test for this in the pytest?

@yutianchen666
Copy link
Contributor Author

Could you add a test for this in the pytest?

add new test in test_serve.py

# Parametrize the test function with different combinations of parameters
@pytest.mark.parametrize(
"config_file, models, port, simple, keep_serve_termimal",
"config_file, models, port, simple, keep_serve_termimal,list_model_ids",

Choose a reason for hiding this comment

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

pay attention to the style

Suggested change
"config_file, models, port, simple, keep_serve_termimal,list_model_ids",
"config_file, models, port, simple, keep_serve_termimal, list_model_ids",

@yutianchen666 yutianchen666 requested a review from xwu-intel June 7, 2024 03:58
@xwu-intel xwu-intel merged commit cdce225 into intel:main Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add serve command line options to list all supported model-ids (configured in *yaml)

2 participants