Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
da37eb8e
Unverified
Commit
da37eb8e
authored
May 07, 2021
by
Lysandre Debut
Committed by
GitHub
May 07, 2021
Browse files
Reduce to 1 worker and set timeout for GPU TF tests (#11633)
parent
39084ca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
.github/workflows/self-push.yml
.github/workflows/self-push.yml
+4
-2
No files found.
.github/workflows/self-push.yml
View file @
da37eb8e
...
@@ -63,6 +63,7 @@ jobs:
...
@@ -63,6 +63,7 @@ jobs:
run_tests_tf_gpu
:
run_tests_tf_gpu
:
runs-on
:
[
self-hosted
,
docker-gpu
,
single-gpu
]
runs-on
:
[
self-hosted
,
docker-gpu
,
single-gpu
]
timeout-minutes
:
120
container
:
container
:
image
:
tensorflow/tensorflow:2.4.1-gpu
image
:
tensorflow/tensorflow:2.4.1-gpu
options
:
--gpus 0 --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
options
:
--gpus 0 --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
...
@@ -89,7 +90,7 @@ jobs:
...
@@ -89,7 +90,7 @@ jobs:
TF_NUM_INTRAOP_THREADS
:
8
TF_NUM_INTRAOP_THREADS
:
8
TF_NUM_INTEROP_THREADS
:
1
TF_NUM_INTEROP_THREADS
:
1
run
:
|
run
:
|
python -m pytest -n
2
--dist=loadfile --make-reports=tests_tf_gpu tests
python -m pytest -n
1
--dist=loadfile --make-reports=tests_tf_gpu tests
-
name
:
Failure short reports
-
name
:
Failure short reports
if
:
${{ always() }}
if
:
${{ always() }}
...
@@ -148,6 +149,7 @@ jobs:
...
@@ -148,6 +149,7 @@ jobs:
run_tests_tf_multi_gpu
:
run_tests_tf_multi_gpu
:
runs-on
:
[
self-hosted
,
docker-gpu
,
multi-gpu
]
runs-on
:
[
self-hosted
,
docker-gpu
,
multi-gpu
]
timeout-minutes
:
120
container
:
container
:
image
:
tensorflow/tensorflow:2.4.1-gpu
image
:
tensorflow/tensorflow:2.4.1-gpu
options
:
--gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
options
:
--gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
...
@@ -174,7 +176,7 @@ jobs:
...
@@ -174,7 +176,7 @@ jobs:
TF_NUM_INTRAOP_THREADS
:
8
TF_NUM_INTRAOP_THREADS
:
8
TF_NUM_INTEROP_THREADS
:
1
TF_NUM_INTEROP_THREADS
:
1
run
:
|
run
:
|
python -m pytest -n
2
--dist=loadfile --make-reports=tests_tf_multi_gpu tests
python -m pytest -n
1
--dist=loadfile --make-reports=tests_tf_multi_gpu tests
-
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