mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-30 01:32:23 +06:00
Tests: disable accelerate_tests
mark warnings (#22585)
This commit is contained in:
parent
6c640f098a
commit
0684284911
@ -42,6 +42,7 @@ def pytest_configure(config):
|
|||||||
"markers", "is_pipeline_test: mark test to run only when pipelines are tested"
|
"markers", "is_pipeline_test: mark test to run only when pipelines are tested"
|
||||||
)
|
)
|
||||||
config.addinivalue_line("markers", "is_staging_test: mark test to run only in the staging environment")
|
config.addinivalue_line("markers", "is_staging_test: mark test to run only in the staging environment")
|
||||||
|
config.addinivalue_line("markers", "accelerate_tests: mark test that require accelerate")
|
||||||
|
|
||||||
|
|
||||||
def pytest_addoption(parser):
|
def pytest_addoption(parser):
|
||||||
|
Loading…
Reference in New Issue
Block a user