Unverified Commit 6252ade9 authored by HAI's avatar HAI Committed by GitHub
Browse files

revert BLOCK and num_warps on HIP (#3722)

parent 1eb8eade
...@@ -329,8 +329,8 @@ def extend_attention_fwd( ...@@ -329,8 +329,8 @@ def extend_attention_fwd(
BLOCK_DV = triton.next_power_of_2(Lv) BLOCK_DV = triton.next_power_of_2(Lv)
if is_hip_: if is_hip_:
BLOCK_M, BLOCK_N = (32, 32) BLOCK_M, BLOCK_N = (64, 64)
num_warps = 2 num_warps = 4
else: else:
if is_cuda_available and CUDA_CAPABILITY[0] >= 9: if is_cuda_available and CUDA_CAPABILITY[0] >= 9:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment