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

Enable the integration tests for vllm #806

Merged
merged 7 commits into from
Jan 30, 2025
Merged

Conversation

rdimitrov
Copy link
Member

@rdimitrov rdimitrov commented Jan 29, 2025

The following PR enables the integration tests for vllm.

Details:

  • Starts the CodeGate container in the host network (so everything can talk to each other without the need to specify explict ports), we don't have port conflicts anyway
  • Starts the vllm container, runs the Qwen/Qwen2.5-Coder-0.5B-Instruct model and verifies if it is serving as expected
  • Updates the vllm tests to use Qwen/Qwen2.5-Coder-0.5B-Instruct
  • Updates the chat test to expect a simpler welcome message
  • Updates the vllm provider making the Authorization header optional

Fixes: #816

Nit: For some reason I wasn't able to get vllm running on my Mac (issue).

What's left:

  • Figure out why the FIM test is failing. Note that I tried with 1.5B and 3B models too. The 1.5B failed, whereas the 3B model took more than 1hr of CI to compute and I canceled it at the end, most certainly because we are running on CPU mode only in a low-performant environment).

Logs:

@rdimitrov rdimitrov force-pushed the vllm-integration-tests branch 4 times, most recently from 4b58358 to 0d56e43 Compare January 29, 2025 10:39
@rdimitrov rdimitrov force-pushed the vllm-integration-tests branch 3 times, most recently from 3d703a0 to 4cd30f4 Compare January 29, 2025 15:03
@rdimitrov rdimitrov force-pushed the vllm-integration-tests branch from 4cd30f4 to 7a70414 Compare January 29, 2025 15:20
Copy link
Contributor

@jhrozek jhrozek left a comment

Choose a reason for hiding this comment

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

really nice work!

Copy link
Contributor

@lukehinds lukehinds left a comment

Choose a reason for hiding this comment

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

+1 awesome stuff

@lukehinds lukehinds merged commit ddbffb3 into main Jan 30, 2025
4 checks passed
@lukehinds lukehinds deleted the vllm-integration-tests branch January 30, 2025 07:22
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.

Enable the integration tests for vllm
3 participants