Commit 26212c14 authored by Sylvain Gugger's avatar Sylvain Gugger
Browse files

Reactivate Megatron tests an use less workers

parent 716120cb
...@@ -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:
......
...@@ -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 = (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment