-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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/Build] Use python 3.12 in cuda image #8133
Merged
Merged
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
7b4f697
:arrow_up: use python 3.12 in prod image
joerunde c5772e0
:bug: align other python version arg
joerunde 195b19e
:bug: fixup test installs
joerunde 3c430c1
:bug: fixup called_with assert
joerunde 4d7ed46
:bug: pin six
joerunde 1f636d2
:bug: update one lora example
joerunde 09481e8
Merge remote-tracking branch 'upstream/main' into python-312
joerunde 731ff2e
empty bump
joerunde 8ea8e9c
Merge remote-tracking branch 'upstream/main' into python-312
joerunde b2e05b4
:bug: fixup mock patch
joerunde a3c6f8e
Merge remote-tracking branch 'upstream/main' into python-312
joerunde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The build without this failed with
I verified this was because the
vllm-base
target never updates setuptools, so it still has version45.2.0
installed, which causes this error with a very misleading message.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.
I wonder why
setuptools
is at45.2.0
specifically and why being on an older version leads to this error message? The message doesn't mention anything about version being outdated/incompatible, only thatsetuptools
is nto in the build env.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.
Yeah, it took some googling around to find that others ran into the same error when setuptools is just out of date- I don't know why that's the case but I'd guess it's just some api incompatibility that's not quite correctly handled.
You can reproduce by installing setuptools==45.2.0 and then trying to install transformers-stream-generator in a fresh python 3.12 venv
Yeah idk, from the build logs it looks like that's just what's installed when we do
apt-get install -y python3.12 python3.12-dev python3.12-venv
, I see this in the log: