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
d1eb88f4
Unverified
Commit
d1eb88f4
authored
Feb 17, 2021
by
Stas Bekman
Committed by
GitHub
Feb 17, 2021
Browse files
[CI] 2 fixes (#10248)
* fix invalid port * missing requirements
parent
7246785a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.github/workflows/self-scheduled.yml
.github/workflows/self-scheduled.yml
+1
-0
examples/tests/deepspeed/test_deepspeed.py
examples/tests/deepspeed/test_deepspeed.py
+1
-1
No files found.
.github/workflows/self-scheduled.yml
View file @
d1eb88f4
...
@@ -250,6 +250,7 @@ jobs:
...
@@ -250,6 +250,7 @@ jobs:
RUN_SLOW
:
yes
RUN_SLOW
:
yes
run
:
|
run
:
|
source .env/bin/activate
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
python -m pytest -n 1 --dist=loadfile -s --make-reports=tests_torch_examples_multi_gpu examples
-
name
:
Failure short reports
-
name
:
Failure short reports
...
...
examples/tests/deepspeed/test_deepspeed.py
View file @
d1eb88f4
...
@@ -57,7 +57,7 @@ def require_deepspeed(test_case):
...
@@ -57,7 +57,7 @@ def require_deepspeed(test_case):
class
TestDeepSpeed
(
TestCasePlus
):
class
TestDeepSpeed
(
TestCasePlus
):
# this setup emulates a notebook where a launcher needs to be emulated by hand
# this setup emulates a notebook where a launcher needs to be emulated by hand
@
mockenv
(
MASTER_ADDR
=
"localhost"
,
MASTER_PORT
=
"10999
9
"
,
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
):
def
test_fake_notebook_no_launcher
(
self
):
sys
.
path
.
append
(
self
.
tests_dir_str
)
sys
.
path
.
append
(
self
.
tests_dir_str
)
from
test_trainer
import
get_regression_trainer
from
test_trainer
import
get_regression_trainer
...
...
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