revert BLOCK and num_warps on HIP (#3722)
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user