Skip to content

Conversation

@LeiWang1999
Copy link
Contributor

Fix bugs for incorrect thread binding and assignment for K Tile Size.

Improve TL Pass MergeStaticSharedMemory to Handle complex Memory Planing (For example, Stream-K).

Enhance LowerThreadAllReduce Pass to Auto Select Memory Scope based on the IR Script.

@LeiWang1999
Copy link
Contributor Author

Also enhance auto tune.

@autotune(configs=get_configs(), keys=['block_row_warps', 'block_col_warps', 'warp_rows', 'warp_cols', 'chunk', 'reduce_k', 'num_stages', 'splitk_factor'], warmup=5, rep=20)
    @jit(out_idx=[2], supply_type=tl.TensorSupplyType.Normal, ref_prog=ref_program, rtol=1, skip_check=True, profiler='tvm')

Now we have profiler option ['tvm', 'torch'] to enable accurate kernel profile with TVM Runtime.

Also introduce tqdm to reveal the tune proc.
image

@LeiWang1999 LeiWang1999 merged commit 916a54c into microsoft:main Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant