Compare commits

...
Author SHA1 Message Date
sshleifer 4b15df209e fix == 2020-03-04 11:38:18 -05:00
sshleifer 0c9cc060ee circleci 2020-03-04 11:36:03 -05:00
+16 -2
View File
@@ -14,7 +14,6 @@ jobs:
- run: sudo pip install codecov pytest-cov
- run: python -m pytest -n 8 --dist=loadfile -s -v ./tests/ --cov
- run: codecov
run_tests_torch:
working_directory: ~/transformers
docker:
@@ -29,6 +28,21 @@ jobs:
- run: sudo pip install codecov pytest-cov
- run: python -m pytest -n 8 --dist=loadfile -s -v ./tests/ --cov
- run: codecov
run_tests_legacy_torch:
working_directory: ~/transformers
docker:
- image: circleci/python:3.7
environment:
OMP_NUM_THREADS: 1
resource_class: xlarge
parallelism: 1
steps:
- checkout
- run: sudo pip install torch==1.0.0
- run: sudo pip install .[sklearn,testing]
- run: sudo pip install codecov pytest-cov
- run: python -m pytest -n 8 --dist=loadfile -s -v ./tests/ --cov
- run: codecov
run_tests_tf:
working_directory: ~/transformers
docker:
@@ -115,6 +129,6 @@ workflows:
- run_examples_torch
- run_tests_custom_tokenizers
- run_tests_torch_and_tf
- run_tests_torch
- run_tests_legacy_torch
- run_tests_tf
- deploy_doc: *workflow_filters