• Yu Cheng's avatar
    [Dev] Add grouped GEMM example with TileLang and PyTorch integration (#514) · fb801940
    Yu Cheng authored
    * Introduced a new example script `example_grouped_gemm.py` demonstrating grouped matrix multiplication using TileLang and PyTorch.
    * Implemented functions for performing grouped GEMM, constructing inputs, and validating results against PyTorch's implementation.
    * Added command-line argument parsing for flexible input configuration, including batch sizes and matrix dimensions.
    * Included a test function to validate the grouped GEMM functionality with various input scenarios.
    fb801940
example_grouped_gemm.py 8 KB