diff --git a/tests/unit_tests/conftest.py b/tests/unit_tests/conftest.py index 01b5bcb30b..8fb1c3f99a 100644 --- a/tests/unit_tests/conftest.py +++ b/tests/unit_tests/conftest.py @@ -13,7 +13,7 @@ from tests.unit_tests.test_utilities import Utils -@pytest.fixture(scope="session", autouse=True) +@pytest.fixture(scope="function", autouse=True) def set_env(): if is_te_min_version("1.3"): os.environ['NVTE_FLASH_ATTN'] = '0'