Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyo0 committed Sep 11, 2024
1 parent 7fb9e90 commit 1931480
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vllm/model_executor/models/gemma2.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@


class Gemma2MLP(nn.Module):

def __init__(
self,
hidden_size: int,
Expand Down Expand Up @@ -78,6 +79,7 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:


class Gemma2Attention(nn.Module):

def __init__(self,
layer_idx: int,
config: Gemma2Config,
Expand Down Expand Up @@ -166,6 +168,7 @@ def forward(


class Gemma2DecoderLayer(nn.Module):

def __init__(
self,
layer_idx: int,
Expand Down Expand Up @@ -235,6 +238,7 @@ def forward(


class Gemma2Model(nn.Module):

def __init__(
self,
config: Gemma2Config,
Expand Down

0 comments on commit 1931480

Please sign in to comment.