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
229ac72b
Unverified
Commit
229ac72b
authored
Mar 19, 2024
by
Fanli Lin
Committed by
GitHub
Mar 19, 2024
Browse files
[tests] add more tests to `NOT_DEVICE_TESTS` (#29670)
* add more tests * remove 2 tests * add more tests
parent
f6261d7d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
conftest.py
conftest.py
+10
-0
No files found.
conftest.py
View file @
229ac72b
...
...
@@ -30,9 +30,16 @@ NOT_DEVICE_TESTS = {
"test_tokenization"
,
"test_processor"
,
"test_processing"
,
"test_beam_constraints"
,
"test_configuration_utils"
,
"test_data_collator"
,
"test_trainer_callback"
,
"test_trainer_utils"
,
"test_feature_extraction"
,
"test_image_processing"
,
"test_image_processor"
,
"test_image_transforms"
,
"test_optimization"
,
"test_retrieval"
,
"test_config"
,
"test_from_pretrained_no_checkpoint"
,
...
...
@@ -62,6 +69,9 @@ NOT_DEVICE_TESTS = {
"test_flax_from_pt_safetensors"
,
"ModelTest::test_pipeline_"
,
# None of the pipeline tests from PipelineTesterMixin (of which XxxModelTest inherits from) are running on device
"ModelTester::test_pipeline_"
,
"/repo_utils/"
,
"/utils/"
,
"/tools/"
,
}
# allow having multiple repository checkouts and not needing to remember to rerun
...
...
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