Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
08075c34
Unverified
Commit
08075c34
authored
Oct 22, 2024
by
gopalsarda
Committed by
GitHub
Oct 22, 2024
Browse files
[Bugfix] Eagle: change config name for fc bias (#9580)
parent
bb392ea2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/eagle.py
vllm/model_executor/models/eagle.py
+1
-1
No files found.
vllm/model_executor/models/eagle.py
View file @
08075c34
...
...
@@ -44,7 +44,7 @@ class EAGLE(nn.Module):
self
.
model
=
model_cls
(
self
.
config
.
model
,
*
args
,
**
kwargs
)
self
.
fc
=
nn
.
Linear
(
config
.
model
.
hidden_size
*
2
,
config
.
model
.
hidden_size
,
bias
=
getattr
(
self
.
config
,
"bias"
,
False
))
bias
=
getattr
(
self
.
config
,
"
eagle_fc_
bias"
,
False
))
self
.
orig_vocab_size
=
config
.
vocab_size
self
.
truncated_vocab_size
=
config
.
truncated_vocab_size
...
...
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