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
34e07a65
Unverified
Commit
34e07a65
authored
Mar 25, 2025
by
Baizhou Zhang
Committed by
GitHub
Mar 25, 2025
Browse files
[Fix] Fix unexpected idx bug of Phi-3-small (#4728)
parent
15ddd843
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/models/phi3_small.py
python/sglang/srt/models/phi3_small.py
+1
-1
No files found.
python/sglang/srt/models/phi3_small.py
View file @
34e07a65
...
@@ -301,7 +301,7 @@ class Phi3SmallModel(nn.Module):
...
@@ -301,7 +301,7 @@ class Phi3SmallModel(nn.Module):
self
.
mup_embedding_multiplier
=
config
.
mup_embedding_multiplier
self
.
mup_embedding_multiplier
=
config
.
mup_embedding_multiplier
self
.
start_layer
,
self
.
end_layer
,
self
.
layers
=
make_layers
(
self
.
start_layer
,
self
.
end_layer
,
self
.
layers
=
make_layers
(
config
.
num_hidden_layers
,
config
.
num_hidden_layers
,
lambda
prefix
:
Phi3SmallDecoderLayer
(
lambda
idx
,
prefix
:
Phi3SmallDecoderLayer
(
config
,
config
,
int
(
prefix
.
split
(
"."
)[
-
1
]),
int
(
prefix
.
split
(
"."
)[
-
1
]),
quant_config
,
quant_config
,
...
...
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