-
Notifications
You must be signed in to change notification settings - Fork 5.3k
chore: upgrade torch 2.8.0 #8836
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ name = "sglang" | |
| version = "0.4.10.post2" | ||
| description = "SGLang is yet another fast serving framework for large language models and vision language models." | ||
| readme = "README.md" | ||
| requires-python = ">=3.8" | ||
| requires-python = ">=3.9" | ||
| license = { file = "LICENSE" } | ||
| classifiers = [ | ||
| "Programming Language :: Python :: 3", | ||
|
|
@@ -54,10 +54,10 @@ runtime_common = [ | |
|
|
||
| srt = [ | ||
| "sglang[runtime_common]", | ||
| "sgl-kernel==0.2.8", | ||
| "torch==2.7.1", | ||
| "torchaudio==2.7.1", | ||
| "torchvision==0.22.1", | ||
| "sgl-kernel==0.3.2", | ||
| "torch==2.8.0", | ||
| "torchaudio==2.8.0", | ||
| "torchvision", | ||
| "cuda-python", | ||
| "einops", | ||
| "flashinfer_python==0.2.10", | ||
|
|
@@ -66,9 +66,9 @@ srt = [ | |
| blackwell = [ | ||
| "sglang[runtime_common]", | ||
| "sgl-kernel", | ||
| "torch==2.7.1", | ||
| "torchaudio==2.7.1", | ||
| "torchvision==0.22.1", | ||
| "torch==2.8.0", | ||
| "torchaudio==2.8.0", | ||
|
Comment on lines
+69
to
+70
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While |
||
| "torchvision", | ||
| "cuda-python", | ||
| "einops", | ||
| "flashinfer_python==0.2.10", | ||
|
|
||
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.
torchvisionis unpinned, which can lead to non-reproducible builds. It's recommended to pin it to a specific version compatible withtorch==2.8.0. For example,torchvision==0.23.0seems to be available on the PyTorch test channel. This would also make it consistent with theblackwelldependency group which has a pinned version (though that one also needs an update).