Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
raywanb committed Nov 19, 2024
1 parent b9508c1 commit 29950bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/attention/backends/flashinfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def begin_forward(self, model_input, model):
state = self

try:
scale = getattr(model.model.begs[0].self_attn.attn.impl, "scale",
scale = getattr(model.model.layers[0].self_attn.attn.impl, "scale",
None)
except AttributeError as e:
raise AttributeError("Failed to retrieve 'scale'. \
Expand Down

0 comments on commit 29950bc

Please sign in to comment.