[CI] 2 fixes (#10248)

* fix invalid port

* missing requirements
This commit is contained in:
Stas Bekman 2021-02-17 14:12:39 -08:00 committed by GitHub
parent 7246785a67
commit d1eb88f42d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -250,6 +250,7 @@ jobs:
RUN_SLOW: yes
run: |
source .env/bin/activate
pip install -r examples/_tests_requirements.txt
python -m pytest -n 1 --dist=loadfile -s --make-reports=tests_torch_examples_multi_gpu examples
- name: Failure short reports

View File

@ -57,7 +57,7 @@ def require_deepspeed(test_case):
class TestDeepSpeed(TestCasePlus):
# this setup emulates a notebook where a launcher needs to be emulated by hand
@mockenv(MASTER_ADDR="localhost", MASTER_PORT="109999", RANK="0", LOCAL_RANK="0", WORLD_SIZE="1")
@mockenv(MASTER_ADDR="localhost", MASTER_PORT="10999", RANK="0", LOCAL_RANK="0", WORLD_SIZE="1")
def test_fake_notebook_no_launcher(self):
sys.path.append(self.tests_dir_str)
from test_trainer import get_regression_trainer