mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-12-23 15:33:33 +00:00
Compare commits
2 Commits
ff6b3d1774
...
7406d62afa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7406d62afa | ||
|
|
ca23a2fc59 |
@ -107,7 +107,7 @@ def flash_attention(
|
||||
max_seqlen_k=lk,
|
||||
softmax_scale=softmax_scale,
|
||||
causal=causal,
|
||||
deterministic=deterministic)[0].unflatten(0, (b, lq))
|
||||
deterministic=deterministic).unflatten(0, (b, lq))
|
||||
else:
|
||||
assert FLASH_ATTN_2_AVAILABLE
|
||||
x = flash_attn.flash_attn_varlen_func(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user