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

[Core] Update outlines and increase its threadpool size #11140

Merged
merged 3 commits into from
Dec 14, 2024

Conversation

russellb
Copy link
Collaborator

@russellb russellb commented Dec 12, 2024

6c2b68e [Build/CI] Update outlines to 0.10.0
a07b908 outlines: Scale thread pool size based on cpu count
fc1ce15 Update to outlines-0.1.11

commit 6c2b68e
Author: Russell Bryant [email protected]
Date: Thu Dec 12 14:33:15 2024 +0000

[Build/CI] Update outlines to 0.10.0

outlines 0.10.0 was just released and includes some performance
improvements. I tested it successfully in my env and saw some
improvement, so I think we should bump the version.

Signed-off-by: Russell Bryant <[email protected]>

commit a07b908
Author: Russell Bryant [email protected]
Date: Thu Dec 12 15:09:20 2024 +0000

outlines: Scale thread pool size based on cpu count

outlines 0.1.10 includes some improvements to parallelization. I
noticed that this threadpool was hard-coded to a size of 2. This uses
the host's CPU count instead. The improvement is not huge, but is
measurable.

Signed-off-by: Russell Bryant <[email protected]>

commit fc1ce15
Author: Russell Bryant [email protected]
Date: Fri Dec 13 15:05:07 2024 +0000

Update to outlines-0.1.11

As of this version, arm wheels should be available!

https://github.com/dottxt-ai/outlines-core/issues/122

Signed-off-by: Russell Bryant <[email protected]>

Closes #11178


Before (closer to 0.1.8):

image

After (with 0.1.10):

image

with 0.1.10 + threadpool size increase:

image

Copy link

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can do one of these:

  • Add ready label to the PR
  • Enable auto-merge.

🚀

@mergify mergify bot added the ci/build label Dec 12, 2024
@russellb russellb changed the title [Build/CI] Update outlines to 0.10.0 [Core] Update outlines and increase its threadpool size Dec 12, 2024
@mgoin mgoin added the ready ONLY add when PR is ready to merge/full CI is needed label Dec 13, 2024
Copy link
Member

@mgoin mgoin left a comment

Choose a reason for hiding this comment

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

Thanks!

@mgoin mgoin enabled auto-merge (squash) December 13, 2024 17:27
auto-merge was automatically disabled December 13, 2024 22:35

Head branch was pushed to by a user without write access

outlines 0.10.0 was just released and includes some performance
improvements. I tested it successfully in my env and saw some
improvement, so I think we should bump the version.

Signed-off-by: Russell Bryant <[email protected]>
outlines 0.1.10 includes some improvements to parallelization. I
noticed that this threadpool was hard-coded to a size of 2. This uses
the host's CPU count instead. The improvement is not huge, but is
measurable.

Signed-off-by: Russell Bryant <[email protected]>
As of this version, arm wheels should be available!

dottxt-ai/outlines-core#122

Signed-off-by: Russell Bryant <[email protected]>
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) December 14, 2024 02:32
@DarkLight1337 DarkLight1337 merged commit 4825926 into vllm-project:main Dec 14, 2024
76 checks passed
ZenPuzzle pushed a commit to ZenPuzzle/vllm that referenced this pull request Dec 24, 2024
BKitor pushed a commit to BKitor/vllm that referenced this pull request Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/build ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: ARM vLLM container build failing due to outlines v0.1.9
3 participants