mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[PR #327] [CLOSED] [Fix] Fix the bug causing infinite loop #1403
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1403
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/ktransformers/pull/327
Author: @jts250
Created: 2/15/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (5)
e2f3b49Resolve the issue raised in #319.0440cearefactor(kernel): simplify VALID_BLOCK_H and mask_h logicdc9a8c6refactor(kernel): simplify VALID_BLOCK_H and mask_h logic66c2531refactor(kernel): simplify VALID_BLOCK_H and mask_h logic155a3c6refactor(kernel): simplify VALID_BLOCK_H and mask_h logic📊 Changes
1 file changed (+1 additions, -4 deletions)
View changed files
📝
ktransformers/operators/triton_attention.py(+1 -4)📄 Description
Replaced mask_h = mask_h & (cur_head < q_head_num) with mask_h = mask_h | (cur_head < q_head_num).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.