def get_group_gemm_instance_template_params(op_def: str) -> List[str]:
    """
    For a given op_def string generated by cutlass's group_gemm emiter, parse and
    return the group_gemm instance's template parameters.
    """
    params = re.findall(
        r"cutlass::gemm::kernel::DefaultGemmUniversal<([\s\S]+)>::GemmKernel;", op_def
    )
    assert len(params) == 1
    param = params[0]
    gemm_universal_params = param.strip().split("\n")
    gemm_universal_params = [param.strip(",") for param in gemm_universal_params]
    assert len(gemm_universal_params) == 20, (
        "expected len(gemm_universal_params) to be 20, but got "
        "{len(gemm_universal_params)}, {gemm_universal_params=}"
    )
    return gemm_universal_params
For a given op_def string generated by cutlass's group_gemm emiter, parse and
return the group_gemm instance's template parameters.
python/aitemplate/backend/cuda/gemm_universal/group_common.py