Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
901ab758
Unverified
Commit
901ab758
authored
Aug 05, 2025
by
Yineng Zhang
Committed by
GitHub
Aug 05, 2025
Browse files
chore: upgrade transformers 4.55.0 (#8823)
Co-authored-by:
hebiao064
<
hebiaobuaa@gmail.com
>
parent
8e8545ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
python/pyproject.toml
python/pyproject.toml
+1
-1
python/sglang/srt/models/transformers.py
python/sglang/srt/models/transformers.py
+1
-1
No files found.
python/pyproject.toml
View file @
901ab758
...
...
@@ -45,7 +45,7 @@ runtime_common = [
"soundfile==0.13.1"
,
"scipy"
,
"torchao==0.9.0"
,
"transformers==4.5
4.1
"
,
"transformers==4.5
5.0
"
,
"timm==1.0.16"
,
"uvicorn"
,
"uvloop"
,
...
...
python/sglang/srt/models/transformers.py
View file @
901ab758
...
...
@@ -219,7 +219,7 @@ class TransformersForCausalLM(nn.Module):
f
"
{
type
(
self
.
model
)
}
does not support tensor parallel yet!"
)
tp_plan
=
self
.
model
.
_tp_plan
tp_plan
=
getattr
(
self
.
model
.
config
,
"base_model_tp_plan"
,
None
)
or
{}
def
_tensor_parallel
(
module
:
nn
.
Module
,
prefix
:
str
=
""
):
for
child_name
,
child_module
in
module
.
named_children
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment