Skip to content

Commit

Permalink
[Bugfix] Eagle: change config name for fc bias (vllm-project#9580)
Browse files Browse the repository at this point in the history
Signed-off-by: qishuai <[email protected]>
  • Loading branch information
gopalsarda authored and FerdinandZhong committed Oct 29, 2024
1 parent d68bd6e commit a427af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/models/eagle.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, config: EAGLEConfig, *args, **kwargs) -> None:
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
Expand Down

0 comments on commit a427af2

Please sign in to comment.