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
d19566e8
Unverified
Commit
d19566e8
authored
May 31, 2024
by
Yih-Dar
Committed by
GitHub
May 31, 2024
Browse files
pytest -rsfE (#31140)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
f3f640dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
.github/workflows/model_jobs.yml
.github/workflows/model_jobs.yml
+1
-1
.github/workflows/push-important-models.yml
.github/workflows/push-important-models.yml
+2
-2
.github/workflows/self-pr-slow-ci.yml
.github/workflows/self-pr-slow-ci.yml
+1
-1
No files found.
.github/workflows/model_jobs.yml
View file @
d19566e8
...
...
@@ -80,7 +80,7 @@ jobs:
-
name
:
Run all tests on GPU
working-directory
:
/transformers
run
:
python3 -m pytest -rs -v --make-reports=${{ inputs.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }}
run
:
python3 -m pytest -rs
fE
-v --make-reports=${{ inputs.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }}
-
name
:
Failure short reports
if
:
${{ failure() }}
...
...
.github/workflows/push-important-models.yml
View file @
d19566e8
...
...
@@ -85,7 +85,7 @@ jobs:
-
name
:
Run FA2 tests
id
:
run_fa2_tests
run
:
pytest -rs -m "flash_attn_test" --make-reports=${{ matrix.model-name }}_fa2_tests/ tests/${{ matrix.model-name }}/test_modeling_*
pytest -rs
fE
-m "flash_attn_test" --make-reports=${{ matrix.model-name }}_fa2_tests/ tests/${{ matrix.model-name }}/test_modeling_*
-
name
:
"
Test
suite
reports
artifacts:
${{
matrix.model-name
}}_fa2_tests"
if
:
${{ always() }}
...
...
@@ -107,7 +107,7 @@ jobs:
id
:
run_integration_tests
if
:
always()
run
:
pytest -rs -k "IntegrationTest" --make-reports=tests_integration_${{ matrix.model-name }} tests/${{ matrix.model-name }}/test_modeling_*
pytest -rs
fE
-k "IntegrationTest" --make-reports=tests_integration_${{ matrix.model-name }} tests/${{ matrix.model-name }}/test_modeling_*
-
name
:
"
Test
suite
reports
artifacts:
tests_integration_${{
matrix.model-name
}}"
if
:
${{ always() }}
...
...
.github/workflows/self-pr-slow-ci.yml
View file @
d19566e8
...
...
@@ -110,7 +110,7 @@ jobs:
-
name
:
Run all tests on GPU
working-directory
:
/transformers
run
:
python3 -m pytest -v -rs --make-reports=${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }}
run
:
python3 -m pytest -v -rs
fE
--make-reports=${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }}
-
name
:
Failure short reports
if
:
${{ failure() }}
...
...
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