"docs/source/Tutorial/InstallationLinux.rst" did not exist on "a0ae02e6c5e096b70cb6bb1ecd643dddd81000ba"
test_example_flash_decoding.py 492 Bytes
Newer Older
1
2
3
4
5
6
import tilelang.testing

import example_gqa_decode
import example_mha_inference


7
8
9
# TODO(lei): fix the correctness of gqa decode on sm90
@tilelang.testing.requires_cuda
@tilelang.testing.requires_cuda_compute_version_le(8, 9)
10
11
12
13
14
def test_example_example_gqa_decode():
    example_gqa_decode.main()


def test_example_example_mha_inference():
15
    example_mha_inference.main(BATCH=1, H=32, Q_CTX=128, KV_CTX=2048, D_HEAD=128, causal=False)
16
17
18


if __name__ == "__main__":
19
    tilelang.testing.main()