forked from triton-lang/triton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TUTORIALS] Minor fix for tutorial 06 (triton-lang#3986)
Based on `@pytest.mark.parametrize("Z, H, N_CTX, HEAD_DIM", [(1, 2, 1024, 64)])` `BATCH, N_HEADS, HEAD_DIM = 4, 32, 64` the HEAD_DIM is `64` in both pytest and benchmark, which triggers assertion failure from `tl.static_assert(BLOCK_N <= HEAD_DIM)` since BLOCK_N can be `128` in the tunning. Therefore, change the tunning size for `BN` as `[32, 64]`. Both pytest and benchmark runs fine on GPU after the fix.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters