Skip to content

Commit

Permalink
add some comments
Browse files Browse the repository at this point in the history
Signed-off-by: xffxff <[email protected]>
  • Loading branch information
xffxff committed Jan 22, 2025
1 parent 1bd94df commit 10024a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vllm/model_executor/models/aria.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ def __init__(
prefix: str = "",
) -> None:
super().__init__(config, quant_config, prefix)
# Unlike Idefics3VisionTransformer which uses LayerNorm after the
# final layer, Aria omits this normalization, so we replace it with an
# Identity layer
self.post_layernorm = nn.Identity()

def load_weights(self, weights: Iterable[Tuple[str,
Expand Down

0 comments on commit 10024a6

Please sign in to comment.