-
Notifications
You must be signed in to change notification settings - Fork 444
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
[ci] add daily test's coverage report #2401
Conversation
zhulinJulia24
commented
Aug 30, 2024
•
edited
Loading
edited
- add auto_gptq testcase
- add coverage statistics
- change interface test model into internlm2.5
- add order check of /v1/completions interface
- bugfix:
- fix codellama chat spilter
- fix benchmark function testcase
@@ -104,7 +104,7 @@ def command_test(config, | |||
file.writelines('reproduce command chat: ' + ' '.join(cmd) + '\n') | |||
|
|||
spliter = '\n\n' | |||
if 'codellama' in model.lower() and ' chat ' in cmd: | |||
if 'codellama' in model.lower() and 'serve' not in ' '.join(cmd): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why there is a special case about "'serve' not in ' '.join(cmd)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why there is a special case about "'serve' not in ' '.join(cmd)"
currently, if use lmdeploy chat $codellama_model, use enter !! to end the input >>>
if use lmdeploy serve api_server http://localhost:23333 after apt_server is started, use double enter to end input >>>
I use this conditional statement to distinguish two situations. I did not notice cmd is a string list, fix this condition statement. Both 'chat' in ' '.join(cmd) and 'serve' not in ' '.join(cmd) are OK.