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
bcefce6a
Unverified
Commit
bcefce6a
authored
Aug 12, 2020
by
lin bin
Committed by
GitHub
Aug 12, 2020
Browse files
Add supporting sklearn=0.23.2 for nni (#2777)
parent
11825611
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
18 additions
and
18 deletions
+18
-18
azure-pipelines.yml
azure-pipelines.yml
+1
-1
deployment/docker/Dockerfile
deployment/docker/Dockerfile
+2
-2
deployment/docker/README.md
deployment/docker/README.md
+1
-1
deployment/docker/README_zh_CN.md
deployment/docker/README_zh_CN.md
+1
-1
deployment/pypi/setup.py
deployment/pypi/setup.py
+1
-1
docs/requirements.txt
docs/requirements.txt
+1
-1
setup.py
setup.py
+1
-1
src/sdk/pynni/nni/feature_engineering/gradient_selector/gradient_selector.py
...eature_engineering/gradient_selector/gradient_selector.py
+1
-1
src/sdk/pynni/nni/feature_engineering/gradient_selector/requirements.txt
...ni/feature_engineering/gradient_selector/requirements.txt
+1
-1
src/sdk/pynni/nni/metis_tuner/requirments.txt
src/sdk/pynni/nni/metis_tuner/requirments.txt
+1
-1
src/sdk/pynni/requirements.txt
src/sdk/pynni/requirements.txt
+1
-1
test/pipelines/pipelines-it-local-tf2.yml
test/pipelines/pipelines-it-local-tf2.yml
+1
-1
test/pipelines/pipelines-it-local-windows.yml
test/pipelines/pipelines-it-local-windows.yml
+1
-1
test/pipelines/pipelines-it-local.yml
test/pipelines/pipelines-it-local.yml
+1
-1
test/pipelines/pipelines-it-pai-windows.yml
test/pipelines/pipelines-it-pai-windows.yml
+2
-2
test/pipelines/pipelines-it-remote-windows-to-linux.yml
test/pipelines/pipelines-it-remote-windows-to-linux.yml
+1
-1
No files found.
azure-pipelines.yml
View file @
bcefce6a
...
@@ -141,7 +141,7 @@ jobs:
...
@@ -141,7 +141,7 @@ jobs:
powershell.exe -file install.ps1
powershell.exe -file install.ps1
displayName
:
'
Install
nni
toolkit
via
source
code'
displayName
:
'
Install
nni
toolkit
via
source
code'
-
script
:
|
-
script
:
|
python -m pip install scikit-learn==0.2
0.0
--user
python -m pip install scikit-learn==0.2
3.2
--user
python -m pip install keras==2.1.6 --user
python -m pip install keras==2.1.6 --user
python -m pip install torch==1.5.0+cpu torchvision==0.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html --user
python -m pip install torch==1.5.0+cpu torchvision==0.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html --user
python -m pip install tensorflow==1.15.2 --user
python -m pip install tensorflow==1.15.2 --user
...
...
deployment/docker/Dockerfile
View file @
bcefce6a
...
@@ -60,9 +60,9 @@ RUN python3 -m pip --no-cache-dir install torch==1.4.0
...
@@ -60,9 +60,9 @@ RUN python3 -m pip --no-cache-dir install torch==1.4.0
RUN
python3
-m
pip
install
torchvision
==
0.5.0
RUN
python3
-m
pip
install
torchvision
==
0.5.0
#
#
# sklearn 0.2
0.0
# sklearn 0.2
3.2
#
#
RUN
python3
-m
pip
--no-cache-dir
install
scikit-learn
==
0.2
0.0
RUN
python3
-m
pip
--no-cache-dir
install
scikit-learn
==
0.2
3.2
#
#
# pandas==0.23.4 lightgbm==2.2.2
# pandas==0.23.4 lightgbm==2.2.2
...
...
deployment/docker/README.md
View file @
bcefce6a
...
@@ -11,7 +11,7 @@ scipy 1.1.0
...
@@ -11,7 +11,7 @@ scipy 1.1.0
tensorflow-gpu 1.15.0
tensorflow-gpu 1.15.0
keras 2.1.6
keras 2.1.6
torch 1.4.0
torch 1.4.0
scikit-learn 0.2
0.0
scikit-learn 0.2
3.2
pandas 0.23.4
pandas 0.23.4
lightgbm 2.2.2
lightgbm 2.2.2
nni
nni
...
...
deployment/docker/README_zh_CN.md
View file @
bcefce6a
...
@@ -47,4 +47,4 @@
...
@@ -47,4 +47,4 @@
使用下列命令从 docker Hub 中拉取 NNI docker 映像。
使用下列命令从 docker Hub 中拉取 NNI docker 映像。
docker pull msranni/nni:latest
docker pull msranni/nni:latest
\ No newline at end of file
deployment/pypi/setup.py
View file @
bcefce6a
...
@@ -63,7 +63,7 @@ setuptools.setup(
...
@@ -63,7 +63,7 @@ setuptools.setup(
'scipy'
,
'scipy'
,
'coverage'
,
'coverage'
,
'colorama'
,
'colorama'
,
'scikit-learn>=0.2
0,<0.2
2'
,
'scikit-learn>=0.2
3.
2'
,
'pkginfo'
,
'pkginfo'
,
'websockets'
'websockets'
],
],
...
...
docs/requirements.txt
View file @
bcefce6a
...
@@ -13,6 +13,6 @@ peewee
...
@@ -13,6 +13,6 @@ peewee
nbsphinx
nbsphinx
schema
schema
tensorboard
tensorboard
scikit-learn
=
=0.2
0
scikit-learn
>
=0.2
3.2
thop
thop
https://download.pytorch.org/whl/cpu/torch-1.3.1%2Bcpu-cp37-cp37m-linux_x86_64.whl
https://download.pytorch.org/whl/cpu/torch-1.3.1%2Bcpu-cp37-cp37m-linux_x86_64.whl
setup.py
View file @
bcefce6a
...
@@ -41,7 +41,7 @@ setup(
...
@@ -41,7 +41,7 @@ setup(
'schema'
,
'schema'
,
'PythonWebHDFS'
,
'PythonWebHDFS'
,
'colorama'
,
'colorama'
,
'scikit-learn>=0.2
0,<0.2
2'
,
'scikit-learn>=0.2
3.
2'
,
'pkginfo'
,
'pkginfo'
,
'websockets'
'websockets'
],
],
...
...
src/sdk/pynni/nni/feature_engineering/gradient_selector/gradient_selector.py
View file @
bcefce6a
...
@@ -24,7 +24,7 @@ import numpy as np
...
@@ -24,7 +24,7 @@ import numpy as np
import
pandas
as
pd
import
pandas
as
pd
from
sklearn.base
import
BaseEstimator
from
sklearn.base
import
BaseEstimator
from
sklearn.feature_selection
.base
import
SelectorMixin
from
sklearn.feature_selection
import
SelectorMixin
from
sklearn.utils.validation
import
check_is_fitted
from
sklearn.utils.validation
import
check_is_fitted
import
torch
import
torch
...
...
src/sdk/pynni/nni/feature_engineering/gradient_selector/requirements.txt
View file @
bcefce6a
numpy==1.14.3
numpy==1.14.3
scikit-learn
=
=0.2
0.0
scikit-learn
>
=0.2
3.2
scipy==1.1.0
scipy==1.1.0
torch==1.1.0
torch==1.1.0
src/sdk/pynni/nni/metis_tuner/requirments.txt
View file @
bcefce6a
scikit-learn==0.20
scikit-learn>=0.23.2
\ No newline at end of file
src/sdk/pynni/requirements.txt
View file @
bcefce6a
...
@@ -8,4 +8,4 @@ scipy
...
@@ -8,4 +8,4 @@ scipy
hyperopt==0.1.2
hyperopt==0.1.2
# metis tuner
# metis tuner
scikit-learn
=
=0.2
0
scikit-learn
>
=0.2
3.2
test/pipelines/pipelines-it-local-tf2.yml
View file @
bcefce6a
...
@@ -10,7 +10,7 @@ jobs:
...
@@ -10,7 +10,7 @@ jobs:
displayName
:
'
Install
nni
toolkit
via
source
code'
displayName
:
'
Install
nni
toolkit
via
source
code'
-
script
:
|
-
script
:
|
set -e
set -e
python3 -m pip install scikit-learn==0.2
0.0
--user
python3 -m pip install scikit-learn==0.2
3.2
--user
python3 -m pip install torch==1.3.1 torchvision==0.4.2 -f https://download.pytorch.org/whl/torch_stable.html --user
python3 -m pip install torch==1.3.1 torchvision==0.4.2 -f https://download.pytorch.org/whl/torch_stable.html --user
python3 -m pip install tensorflow-gpu==2.2.0 tensorflow-estimator==2.2.0 --force --user
python3 -m pip install tensorflow-gpu==2.2.0 tensorflow-estimator==2.2.0 --force --user
python3 -m pip install keras==2.4.2 --user
python3 -m pip install keras==2.4.2 --user
...
...
test/pipelines/pipelines-it-local-windows.yml
View file @
bcefce6a
...
@@ -7,7 +7,7 @@ jobs:
...
@@ -7,7 +7,7 @@ jobs:
powershell.exe -file install.ps1
powershell.exe -file install.ps1
displayName
:
'
Install
nni
toolkit
via
source
code'
displayName
:
'
Install
nni
toolkit
via
source
code'
-
script
:
|
-
script
:
|
python -m pip install scikit-learn==0.2
0.0
--user
python -m pip install scikit-learn==0.2
3.2
--user
python -m pip install keras==2.1.6 --user
python -m pip install keras==2.1.6 --user
python -m pip install torchvision===0.4.1 torch===1.3.1 -f https://download.pytorch.org/whl/torch_stable.html --user
python -m pip install torchvision===0.4.1 torch===1.3.1 -f https://download.pytorch.org/whl/torch_stable.html --user
python -m pip install tensorflow-gpu==1.15.2 tensorflow-estimator==1.15.1 --force --user
python -m pip install tensorflow-gpu==1.15.2 tensorflow-estimator==1.15.1 --force --user
...
...
test/pipelines/pipelines-it-local.yml
View file @
bcefce6a
...
@@ -10,7 +10,7 @@ jobs:
...
@@ -10,7 +10,7 @@ jobs:
displayName
:
'
Install
nni
toolkit
via
source
code'
displayName
:
'
Install
nni
toolkit
via
source
code'
-
script
:
|
-
script
:
|
set -e
set -e
python3 -m pip install scikit-learn==0.2
0.0
--user
python3 -m pip install scikit-learn==0.2
3.2
--user
python3 -m pip install torchvision==0.4.2 --user
python3 -m pip install torchvision==0.4.2 --user
python3 -m pip install torch==1.3.1 --user
python3 -m pip install torch==1.3.1 --user
python3 -m pip install keras==2.1.6 --user
python3 -m pip install keras==2.1.6 --user
...
...
test/pipelines/pipelines-it-pai-windows.yml
View file @
bcefce6a
...
@@ -62,7 +62,7 @@ jobs:
...
@@ -62,7 +62,7 @@ jobs:
displayName
:
'
Install
nni
toolkit
via
source
code'
displayName
:
'
Install
nni
toolkit
via
source
code'
-
script
:
|
-
script
:
|
set PATH=$(ENV_PATH)
set PATH=$(ENV_PATH)
python -m pip install scikit-learn==0.2
1.0
--user
python -m pip install scikit-learn==0.2
3.2
--user
displayName
:
'
Install
dependencies
for
integration
tests'
displayName
:
'
Install
dependencies
for
integration
tests'
-
script
:
|
-
script
:
|
cd test
cd test
...
@@ -71,4 +71,4 @@ jobs:
...
@@ -71,4 +71,4 @@ jobs:
mount -o anon $(pai_nfs_uri) $(local_nfs_uri)
mount -o anon $(pai_nfs_uri) $(local_nfs_uri)
python nni_test/nnitest/generate_ts_config.py --ts pai --pai_token $(pai_token) --pai_host $(pai_host) --pai_user $(pai_user) --nni_docker_image $(docker_image) --pai_storage_config_name $(pai_storage_config_name) --nni_manager_nfs_mount_path $(nni_manager_nfs_mount_path) --container_nfs_mount_path $(container_nfs_mount_path) --nni_manager_ip $(nni_manager_ip) --vc $(virtual_cluster)
python nni_test/nnitest/generate_ts_config.py --ts pai --pai_token $(pai_token) --pai_host $(pai_host) --pai_user $(pai_user) --nni_docker_image $(docker_image) --pai_storage_config_name $(pai_storage_config_name) --nni_manager_nfs_mount_path $(nni_manager_nfs_mount_path) --container_nfs_mount_path $(container_nfs_mount_path) --nni_manager_ip $(nni_manager_ip) --vc $(virtual_cluster)
python nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts pai
python nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts pai
displayName
:
'
Examples
and
advanced
features
tests
on
pai'
displayName
:
'
Examples
and
advanced
features
tests
on
pai'
\ No newline at end of file
test/pipelines/pipelines-it-remote-windows-to-linux.yml
View file @
bcefce6a
...
@@ -16,7 +16,7 @@ jobs:
...
@@ -16,7 +16,7 @@ jobs:
powershell.exe -file install.ps1
powershell.exe -file install.ps1
displayName
:
'
Install
nni
toolkit
via
source
code'
displayName
:
'
Install
nni
toolkit
via
source
code'
-
script
:
|
-
script
:
|
python -m pip install scikit-learn==0.2
0.1
--user
python -m pip install scikit-learn==0.2
3.2
--user
displayName
:
'
Install
dependencies
for
integration
tests'
displayName
:
'
Install
dependencies
for
integration
tests'
-
task
:
SSH@0
-
task
:
SSH@0
inputs
:
inputs
:
...
...
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