Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 authored Nov 15, 2024
1 parent d596d9b commit 1b280b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vllm/model_executor/models/medusa.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def __init__(self, *, vllm_config: VllmConfig, prefix: str = "") -> None:
super().__init__()
self.config = config
self.blocks = nn.ModuleList([
ResidualBlock(config=config, hidden_size=self.config.hidden_size,
ResidualBlock(config=config,
hidden_size=self.config.hidden_size,
num_layers=self.config.num_hidden_layers)
for _ in range(self.config.num_heads)
])
Expand Down

0 comments on commit 1b280b9

Please sign in to comment.