From 85fde09c97213bf7e8625f83096bb2a9e183f987 Mon Sep 17 00:00:00 2001 From: Arthur <48595927+ArthurZucker@users.noreply.github.com> Date: Thu, 16 Nov 2023 11:13:07 +0100 Subject: [PATCH] [`pytest`] Avoid flash attn test marker warning (#27509) add flash attn markers --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 37bc1d7efe..d13ee54afc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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\"')", +] \ No newline at end of file