mirror of
https://github.com/unslothai/unsloth.git
synced 2026-07-09 15:58:41 +00:00
Fix typo
This commit is contained in:
parent
51d6797c7c
commit
37365b6ba9
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ def MistralForCausalLM_fast_forward(
|
|||
else:
|
||||
# Fix from https://github.com/Rypo
|
||||
causal_mask = xformers.attn_bias.BlockDiagonalCausalMask\
|
||||
.from_seqlens([qlen]*bsz)\
|
||||
.from_seqlens([q_len]*bsz)\
|
||||
.make_local_attention(window_size = sliding_window)
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue