with receipt id=5, enable bias for te

This commit is contained in:
Ye Wang
2025-03-05 00:24:41 -06:00
parent 173ed584e0
commit 151e999931

View File

@@ -1996,6 +1996,14 @@ def get_bwd_dq_dk_dv_blobs(kernel_filter : Optional[str], receipt, mask_impl) ->
cond &= deterministic == "f"
if not cond:
continue
# TE integration
elif receipt == 5:
cond = dtype in ['fp16', 'bf16']
cond &= bias in ['no', 'bias', 'alibi']
cond &= dpad == dvpad
cond &= deterministic == "f"
if not cond:
continue
# Aiter (mha_bwd) integration
elif receipt == 300:
cond = dtype in ['fp16', 'bf16']