Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
85fde09c
Unverified
Commit
85fde09c
authored
Nov 16, 2023
by
Arthur
Committed by
GitHub
Nov 16, 2023
Browse files
[`pytest`] Avoid flash attn test marker warning (#27509)
add flash attn markers
parent
1394e08c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
pyproject.toml
pyproject.toml
+3
-0
No files found.
pyproject.toml
View file @
85fde09c
...
@@ -21,3 +21,6 @@ known-first-party = ["transformers"]
...
@@ -21,3 +21,6 @@ known-first-party = ["transformers"]
[tool.pytest.ini_options]
[tool.pytest.ini_options]
doctest_optionflags
=
"NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
doctest_optionflags
=
"NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
doctest_glob
=
"**/*.md"
doctest_glob
=
"**/*.md"
markers
=
[
"flash_attn_test: marks tests related to flash attention (deselect with '-m
\"
not flash_attn_test
\"
')"
,
]
\ No newline at end of file
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