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

[ci] add daily test's coverage report #2401

Merged
merged 23 commits into from
Aug 30, 2024

Conversation

zhulinJulia24
Copy link
Collaborator

@zhulinJulia24 zhulinJulia24 commented Aug 30, 2024

  1. add auto_gptq testcase
  2. add coverage statistics
  3. change interface test model into internlm2.5
  4. add order check of /v1/completions interface
  5. 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):
Copy link
Collaborator

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)"

Copy link
Collaborator Author

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.

@lvhan028 lvhan028 merged commit 7eb0fe8 into InternLM:main Aug 30, 2024
4 of 5 checks passed
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.

2 participants