[pytest] Avoid flash attn test marker warning (#27509)

add flash attn markers
This commit is contained in:
Arthur 2023-11-16 11:13:07 +01:00 committed by GitHub
parent 1394e08cf0
commit 85fde09c97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,3 +21,6 @@ known-first-party = ["transformers"]
[tool.pytest.ini_options]
doctest_optionflags="NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
doctest_glob="**/*.md"
markers = [
"flash_attn_test: marks tests related to flash attention (deselect with '-m \"not flash_attn_test\"')",
]