diff --git a/pyproject.toml b/pyproject.toml index 754fcf3f955..97fef4fd24e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -217,4 +217,10 @@ filterwarnings = [ # Tracking issue: https://github.com/huggingface/trl/issues/6447 # Upstream fix (merged, unreleased as of bitsandbytes 0.49.2): https://github.com/bitsandbytes-foundation/bitsandbytes/pull/1940 "ignore:_check_is_size will be removed in a future PyTorch release:FutureWarning", + + # triton builds an ast.AnnAssign node without the required `simple` field during kernel compilation (upstream, + # not actionable in TRL); a DeprecationWarning on Python 3.14 that becomes an error on 3.15 + # Tracking issue: https://github.com/huggingface/trl/issues/6466 + # Upstream issue: https://github.com/triton-lang/triton/issues/10981 + "ignore:AnnAssign.__init__ missing 1 required positional argument:DeprecationWarning", ]