Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
6fe88553
Unverified
Commit
6fe88553
authored
Jan 14, 2026
by
dagil-nvidia
Committed by
GitHub
Jan 14, 2026
Browse files
fix: ignore torchao SyntaxWarning in pytest filterwarnings (#5429)
Signed-off-by:
Dan Gil
<
dagil@nvidia.com
>
parent
334cbd9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
pyproject.toml
pyproject.toml
+5
-0
No files found.
pyproject.toml
View file @
6fe88553
...
...
@@ -189,6 +189,11 @@ filterwarnings = [
################################################################################################
# TRT-LLM
################################################################################################
# torchao sometimes emits SyntaxWarning from docstrings (e.g. invalid escape sequences) at import
# time; our global `error` policy would otherwise fail test collection. Do not rely on module=
# matching here because these can be raised during compilation where the module field may not
# match as expected.
"ignore:.*invalid escape sequence.*:SyntaxWarning"
,
# torchao deprecation warnings for import path changes (see https://github.com/pytorch/ao/issues/2752)
"ignore:Importing.*torchao
\\
.dtypes.*:DeprecationWarning"
,
# nvidia-modelopt warning about transformers version incompatibility
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment