File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,11 @@ filterwarnings = [
189189 # ###############################################################################################
190190 # TRT-LLM
191191 # ###############################################################################################
192+ # torchao sometimes emits SyntaxWarning from docstrings (e.g. invalid escape sequences) at import
193+ # time; our global `error` policy would otherwise fail test collection. Do not rely on module=
194+ # matching here because these can be raised during compilation where the module field may not
195+ # match as expected.
196+ " ignore:.*invalid escape sequence.*:SyntaxWarning" ,
192197 # torchao deprecation warnings for import path changes (see https://github.com/pytorch/ao/issues/2752)
193198 " ignore:Importing.*torchao\\ .dtypes.*:DeprecationWarning" ,
194199 # nvidia-modelopt warning about transformers version incompatibility
You can’t perform that action at this time.
0 commit comments