forked from microsoft/nni
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
76 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,47 @@ | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
strategy: | ||
matrix: | ||
Python36: | ||
PYTHON_VERSION: '3.6' | ||
jobs: | ||
|
||
steps: | ||
- job: 'Install_through_pip' | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
strategy: | ||
matrix: | ||
Python36: | ||
PYTHON_VERSION: '3.6' | ||
|
||
steps: | ||
- script: python3 -m pip install --upgrade pip setuptools | ||
displayName: 'Install python tools' | ||
- script: | | ||
source install.sh | ||
displayName: 'Install dependencies' | ||
python3 -m pip install nni --user | ||
displayName: 'Install nni toolkit via pip' | ||
- script: | | ||
cd test | ||
export PATH=$HOME/.local/bin:$PATH | ||
python3 naive_test.py | ||
PATH=$HOME/.local/bin:$PATH python3 naive_test.py | ||
displayName: 'Integration tests' | ||
- script: | | ||
cd test | ||
export PATH=$HOME/.local/bin:$PATH | ||
python3 sdk_tuner_test.py | ||
PATH=$HOME/.local/bin:$PATH python3 sdk_tuner_test.py | ||
displayName: 'Built-in tuner tests' | ||
- job: 'Install_through_source_code' | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
strategy: | ||
matrix: | ||
Python36: | ||
PYTHON_VERSION: '3.6' | ||
|
||
steps: | ||
- script: python3 -m pip install --upgrade pip setuptools | ||
displayName: 'Install python tools' | ||
- script: | | ||
source install.sh | ||
displayName: 'Install nni toolkit via source code' | ||
- script: | | ||
cd test | ||
PATH=$HOME/.local/bin:$PATH python3 naive_test.py | ||
displayName: 'Integration tests' | ||
- script: | | ||
cd test | ||
PATH=$HOME/.local/bin:$PATH python3 sdk_tuner_test.py | ||
displayName: 'Built-in tuner tests' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pip3 install numpy | ||
python3 -m pip install numpy | ||
sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortran | ||
sudo pip3 install scipy | ||
sudo pip3 install sklearn | ||
sudo python3 -m pip install scipy | ||
sudo python3 -m pip install sklearn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters