Skip to content

Commit

Permalink
Fiz yapf check
Browse files Browse the repository at this point in the history
Signed-off-by: Flavia Beo <[email protected]>
  • Loading branch information
flaviabeo committed Oct 25, 2024
1 parent 1e8558e commit 27a4193
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions vllm/model_executor/models/llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,15 +271,13 @@ def forward(
@support_torch_compile
class LlamaModel(nn.Module):

def __init__(
self,
config: LlamaConfig,
cache_config: Optional[CacheConfig] = None,
quant_config: Optional[QuantizationConfig] = None,
lora_config: Optional[LoRAConfig] = None,
prefix: str = "",
**kwargs
) -> None:
def __init__(self,
config: LlamaConfig,
cache_config: Optional[CacheConfig] = None,
quant_config: Optional[QuantizationConfig] = None,
lora_config: Optional[LoRAConfig] = None,
prefix: str = "",
**kwargs) -> None:
super().__init__()
self.config = config
self.padding_idx = config.pad_token_id
Expand Down

0 comments on commit 27a4193

Please sign in to comment.