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
95e2e14f
"docs/source/vscode:/vscode.git/clone" did not exist on "9709ab116ca06bcbd60ef296354c726c5e45f402"
Unverified
Commit
95e2e14f
authored
Aug 10, 2021
by
Sylvain Gugger
Committed by
GitHub
Aug 10, 2021
Browse files
Revert to all tests whil we debug what's wrong (#13072)
parent
477480ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
46 deletions
+49
-46
.github/workflows/self-push.yml
.github/workflows/self-push.yml
+49
-46
No files found.
.github/workflows/self-push.yml
View file @
95e2e14f
...
@@ -50,21 +50,22 @@ jobs:
...
@@ -50,21 +50,22 @@ jobs:
python -c "import torch; print('CuDNN version:', torch.backends.cudnn.version())"
python -c "import torch; print('CuDNN version:', torch.backends.cudnn.version())"
python -c "import torch; print('Number of GPUs available:', torch.cuda.device_count())"
python -c "import torch; print('Number of GPUs available:', torch.cuda.device_count())"
-
name
:
Fetch the tests to run
#
- name: Fetch the tests to run
run
:
|
#
run: |
python utils/tests_fetcher.py | tee test_preparation.txt
#
python utils/tests_fetcher.py | tee test_preparation.txt
#
-
name
:
Report fetched tests
#
- name: Report fetched tests
uses
:
actions/upload-artifact@v2
#
uses: actions/upload-artifact@v2
with
:
#
with:
name
:
test_fetched
#
name: test_fetched
path
:
test_preparation.txt
#
path: test_preparation.txt
#
-
name
:
Run all non-slow tests on GPU
-
name
:
Run all non-slow tests on GPU
run
:
|
run
:
|
if [ -f test_list.txt ]; then
python -m pytest -n 2 --dist=loadfile -v --make-reports=tests_torch_gpu tests
python -m pytest -n 2 --dist=loadfile -v --make-reports=tests_torch_gpu $(cat test_list.txt)
# if [ -f test_list.txt ]; then
fi
# python -m pytest -n 2 --dist=loadfile -v --make-reports=tests_torch_gpu $(cat test_list.txt)
# fi
-
name
:
Failure short reports
-
name
:
Failure short reports
if
:
${{ always() }}
if
:
${{ always() }}
...
@@ -162,15 +163,15 @@ jobs:
...
@@ -162,15 +163,15 @@ jobs:
python -c "import torch; print('CuDNN version:', torch.backends.cudnn.version())"
python -c "import torch; print('CuDNN version:', torch.backends.cudnn.version())"
python -c "import torch; print('Number of GPUs available:', torch.cuda.device_count())"
python -c "import torch; print('Number of GPUs available:', torch.cuda.device_count())"
-
name
:
Fetch the tests to run
#
- name: Fetch the tests to run
run
:
|
#
run: |
python utils/tests_fetcher.py | tee test_preparation.txt
#
python utils/tests_fetcher.py | tee test_preparation.txt
#
-
name
:
Report fetched tests
#
- name: Report fetched tests
uses
:
actions/upload-artifact@v2
#
uses: actions/upload-artifact@v2
with
:
#
with:
name
:
test_fetched
#
name: test_fetched
path
:
test_preparation.txt
#
path: test_preparation.txt
-
name
:
Run all non-slow tests on GPU
-
name
:
Run all non-slow tests on GPU
env
:
env
:
...
@@ -275,21 +276,22 @@ jobs:
...
@@ -275,21 +276,22 @@ jobs:
python -c "import torch; print('CuDNN version:', torch.backends.cudnn.version())"
python -c "import torch; print('CuDNN version:', torch.backends.cudnn.version())"
python -c "import torch; print('Number of GPUs available:', torch.cuda.device_count())"
python -c "import torch; print('Number of GPUs available:', torch.cuda.device_count())"
-
name
:
Fetch the tests to run
#
- name: Fetch the tests to run
run
:
|
#
run: |
python utils/tests_fetcher.py --filters tests/deepspeed tests/extended | tee test_preparation.txt
#
python utils/tests_fetcher.py --filters tests/deepspeed tests/extended | tee test_preparation.txt
#
-
name
:
Report fetched tests
#
- name: Report fetched tests
uses
:
actions/upload-artifact@v2
#
uses: actions/upload-artifact@v2
with
:
#
with:
name
:
test_fetched
#
name: test_fetched
path
:
test_preparation.txt
#
path: test_preparation.txt
-
name
:
Run all tests on GPU
-
name
:
Run all tests on GPU
run
:
|
run
:
|
if [ -f test_list.txt ]; then
python -m pytest -n 1 --dist=loadfile -v --make-reports=tests_torch_cuda_extensions_gpu tests/deepspeed tests/extended
python -m pytest -n 1 --dist=loadfile -v --make-reports=tests_torch_cuda_extensions_gpu $(cat test_list.txt)
# if [ -f test_list.txt ]; then
fi
# python -m pytest -n 1 --dist=loadfile -v --make-reports=tests_torch_cuda_extensions_gpu $(cat test_list.txt)
# fi
-
name
:
Failure short reports
-
name
:
Failure short reports
if
:
${{ always() }}
if
:
${{ always() }}
...
@@ -330,21 +332,22 @@ jobs:
...
@@ -330,21 +332,22 @@ jobs:
python -c "import torch; print('CuDNN version:', torch.backends.cudnn.version())"
python -c "import torch; print('CuDNN version:', torch.backends.cudnn.version())"
python -c "import torch; print('Number of GPUs available:', torch.cuda.device_count())"
python -c "import torch; print('Number of GPUs available:', torch.cuda.device_count())"
-
name
:
Fetch the tests to run
#
- name: Fetch the tests to run
run
:
|
#
run: |
python utils/tests_fetcher.py --filters tests/deepspeed tests/extended | tee test_preparation.txt
#
python utils/tests_fetcher.py --filters tests/deepspeed tests/extended | tee test_preparation.txt
#
-
name
:
Report fetched tests
#
- name: Report fetched tests
uses
:
actions/upload-artifact@v2
#
uses: actions/upload-artifact@v2
with
:
#
with:
name
:
test_fetched
#
name: test_fetched
path
:
test_preparation.txt
#
path: test_preparation.txt
-
name
:
Run all tests on GPU
-
name
:
Run all tests on GPU
run
:
|
run
:
|
if [ -f test_list.txt ]; then
python -m pytest -n 1 --dist=loadfile -v --make-reports=tests_torch_cuda_extensions_multi_gpu tests/deepspeed tests/extended
python -m pytest -n 1 --dist=loadfile -v --make-reports=tests_torch_cuda_extensions_multi_gpu $(cat test_list.txt)
# if [ -f test_list.txt ]; then
fi
# python -m pytest -n 1 --dist=loadfile -v --make-reports=tests_torch_cuda_extensions_multi_gpu $(cat test_list.txt)
# fi
-
name
:
Failure short reports
-
name
:
Failure short reports
if
:
${{ always() }}
if
:
${{ always() }}
...
...
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