mirror of
https://github.com/facebookresearch/blt.git
synced 2025-01-19 00:47:44 +00:00
remove spammy warning
This commit is contained in:
parent
6129756e10
commit
175fce61df
|
@ -162,9 +162,6 @@ def create_causal_mask(
|
||||||
return "causal"
|
return "causal"
|
||||||
|
|
||||||
if BLT_SUPPRESS_ATTN_ERROR == 1:
|
if BLT_SUPPRESS_ATTN_ERROR == 1:
|
||||||
logging.warning(
|
|
||||||
"SDPA attention being used, which doesn't have specialized attention implementations for block_causal and local_block_causal attention. Allowing model to run since BLT_SUPPRESS_ATTN_ERROR=1"
|
|
||||||
)
|
|
||||||
return "causal"
|
return "causal"
|
||||||
else:
|
else:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
|
|
Loading…
Reference in a new issue