Commit 4db5643
authored
Qualcomm AI Engine Direct - Fix sliding window attention (#20736)
### Summary
When `n_past + n_update` exceeds the `available_cache_len`
it should mask only the remain part.
### Test plan
gemma3 CI in `TestExampleLLMScript.test_static_llm_model`1 parent 17e1487 commit 4db5643
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
0 commit comments