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
OpenDAS
nni
Commits
3d6ddb9a
Unverified
Commit
3d6ddb9a
authored
Jun 28, 2022
by
J-shang
Committed by
GitHub
Jun 28, 2022
Browse files
[Test] change full test pool (#4967)
parent
d5921a73
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
19 deletions
+27
-19
docs/source/conf.py
docs/source/conf.py
+2
-2
pipelines/full-test-compression.yml
pipelines/full-test-compression.yml
+9
-7
pipelines/full-test-hpo.yml
pipelines/full-test-hpo.yml
+9
-5
pipelines/full-test-nas.yml
pipelines/full-test-nas.yml
+7
-5
No files found.
docs/source/conf.py
View file @
3d6ddb9a
...
@@ -196,7 +196,7 @@ master_doc = 'index'
...
@@ -196,7 +196,7 @@ master_doc = 'index'
#
#
# This is also used if you do content translation via gettext catalogs.
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
# Usually you set "language" from the command line for these cases.
language
=
None
language
=
'en'
# Translation related settings
# Translation related settings
locale_dir
=
[
'locales'
]
locale_dir
=
[
'locales'
]
...
@@ -406,5 +406,5 @@ epub_exclude_files = ['search.html']
...
@@ -406,5 +406,5 @@ epub_exclude_files = ['search.html']
# external links (for github code)
# external links (for github code)
# Reference the code via :githublink:`path/to/your/example/code.py`
# Reference the code via :githublink:`path/to/your/example/code.py`
extlinks
=
{
extlinks
=
{
'githublink'
:
(
'https://github.com/microsoft/nni/blob/'
+
git_commit_id
+
'/%s'
,
'Github link: '
)
'githublink'
:
(
'https://github.com/microsoft/nni/blob/'
+
git_commit_id
+
'/%s'
,
'Github link:
%s
'
)
}
}
pipelines/full-test-compression.yml
View file @
3d6ddb9a
...
@@ -31,14 +31,15 @@ stages:
...
@@ -31,14 +31,15 @@ stages:
condition
:
and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
condition
:
and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs
:
jobs
:
-
job
:
linux
-
job
:
linux
pool
:
nni-it
# move back after we complete the 1ES pool...
pool
:
vmImage
:
ubuntu-latest
timeoutInMinutes
:
60
timeoutInMinutes
:
60
steps
:
steps
:
-
template
:
templates/install-dependencies.yml
-
template
:
templates/install-dependencies.yml
parameters
:
parameters
:
platform
:
ubuntu-latest-gpu
platform
:
ubuntu-latest
python_env
:
venv
-
template
:
templates/install-nni.yml
-
template
:
templates/install-nni.yml
...
@@ -49,7 +50,8 @@ stages:
...
@@ -49,7 +50,8 @@ stages:
python -m pytest compression
python -m pytest compression
displayName
:
compression unit test
displayName
:
compression unit test
-
script
:
|
# add back after we complete the 1ES pool...
cd test
# - script: |
source scripts/model_compression.sh
# cd test
displayName
:
Model compression test
# source scripts/model_compression.sh
# displayName: Model compression test
pipelines/full-test-hpo.yml
View file @
3d6ddb9a
...
@@ -13,7 +13,7 @@ resources:
...
@@ -13,7 +13,7 @@ resources:
endpoint
:
github-filter-connection
endpoint
:
github-filter-connection
variables
:
variables
:
filter.modified.globs
:
'
examples/tuners/**,nni/algorithms/hpo/**'
filter.modified.globs
:
'
examples/tuners/**,nni/algorithms/hpo/**
,pipelines/full-test-hpo.yml,
'
filter.prbody.heading
:
'
####
Test
Options'
filter.prbody.heading
:
'
####
Test
Options'
filter.prbody.optionIndex
:
1
filter.prbody.optionIndex
:
1
...
@@ -31,14 +31,15 @@ stages:
...
@@ -31,14 +31,15 @@ stages:
condition
:
and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
condition
:
and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs
:
jobs
:
-
job
:
linux
-
job
:
linux
pool
:
nni-it
# move back after we complete the 1ES pool...
pool
:
vmImage
:
ubuntu-latest
timeoutInMinutes
:
60
timeoutInMinutes
:
60
steps
:
steps
:
-
template
:
templates/install-dependencies.yml
-
template
:
templates/install-dependencies.yml
parameters
:
parameters
:
platform
:
ubuntu-latest-gpu
platform
:
ubuntu-latest
python_env
:
venv
-
template
:
templates/install-nni.yml
-
template
:
templates/install-nni.yml
...
@@ -56,7 +57,10 @@ stages:
...
@@ -56,7 +57,10 @@ stages:
-
script
:
|
-
script
:
|
cd test
cd test
python training_service/nnitest/run_tests.py --config training_service/config/integration_tests.yml --ts local
python training_service/nnitest/run_tests.py \
--config training_service/config/integration_tests.yml \
--ts local \
--exclude mnist-pytorch-local-gpu
displayName
:
Integration test
displayName
:
Integration test
# TODO: should add a test on platforms other than linux
# TODO: should add a test on platforms other than linux
pipelines/full-test-nas.yml
View file @
3d6ddb9a
...
@@ -31,14 +31,15 @@ stages:
...
@@ -31,14 +31,15 @@ stages:
condition
:
and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
condition
:
and(succeeded(), ne(dependencies.filter.outputs['check.execution.skipsubsequent'], 'true'))
jobs
:
jobs
:
-
job
:
linux
-
job
:
linux
pool
:
nni-it
# move back after we complete the 1ES pool...
pool
:
vmImage
:
ubuntu-latest
timeoutInMinutes
:
60
timeoutInMinutes
:
60
steps
:
steps
:
-
template
:
templates/install-dependencies.yml
-
template
:
templates/install-dependencies.yml
parameters
:
parameters
:
platform
:
ubuntu-latest-gpu
platform
:
ubuntu-latest
python_env
:
venv
-
template
:
templates/install-nni.yml
-
template
:
templates/install-nni.yml
...
@@ -50,14 +51,15 @@ stages:
...
@@ -50,14 +51,15 @@ stages:
displayName
:
NAS test
displayName
:
NAS test
-
job
:
windows
-
job
:
windows
pool
:
nni-it-windows
# move back after we complete the 1ES pool...
pool
:
vmImage
:
windows-latest
timeoutInMinutes
:
60
timeoutInMinutes
:
60
steps
:
steps
:
-
template
:
templates/install-dependencies.yml
-
template
:
templates/install-dependencies.yml
parameters
:
parameters
:
platform
:
windows
platform
:
windows
python_env
:
noop
-
template
:
templates/install-nni.yml
-
template
:
templates/install-nni.yml
parameters
:
parameters
:
...
...
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