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
26212c14
Commit
26212c14
authored
Apr 09, 2021
by
Sylvain Gugger
Browse files
Reactivate Megatron tests an use less workers
parent
716120cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
.circleci/config.yml
.circleci/config.yml
+1
-1
tests/test_modeling_megatron_bert.py
tests/test_modeling_megatron_bert.py
+0
-1
No files found.
.circleci/config.yml
View file @
26212c14
...
@@ -145,7 +145,7 @@ jobs:
...
@@ -145,7 +145,7 @@ jobs:
key
:
v0.4-torch-{{ checksum "setup.py" }}
key
:
v0.4-torch-{{ checksum "setup.py" }}
paths
:
paths
:
-
'
~/.cache/pip'
-
'
~/.cache/pip'
-
run
:
python -m pytest -n
8
--dist=loadfile -s --make-reports=tests_torch ./tests/ | tee tests_output.txt
-
run
:
python -m pytest -n
4
--dist=loadfile -s --make-reports=tests_torch ./tests/ | tee tests_output.txt
-
store_artifacts
:
-
store_artifacts
:
path
:
~/transformers/tests_output.txt
path
:
~/transformers/tests_output.txt
-
store_artifacts
:
-
store_artifacts
:
...
...
tests/test_modeling_megatron_bert.py
View file @
26212c14
...
@@ -265,7 +265,6 @@ class MegatronBertModelTester:
...
@@ -265,7 +265,6 @@ class MegatronBertModelTester:
@
require_torch
@
require_torch
@
unittest
.
skip
(
"Temporary skip to make the CI pass reliably."
)
class
MegatronBertModelTest
(
ModelTesterMixin
,
unittest
.
TestCase
):
class
MegatronBertModelTest
(
ModelTesterMixin
,
unittest
.
TestCase
):
all_model_classes
=
(
all_model_classes
=
(
...
...
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