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.
Merge pull request microsoft#141 from Microsoft/master
merge master
- Loading branch information
Showing
8 changed files
with
65 additions
and
36 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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
jobs: | ||
- job: 'integration_test_local_ubuntu' | ||
|
||
steps: | ||
- script: python3 -m pip install --upgrade pip setuptools --user | ||
displayName: 'Install python tools' | ||
- script: | | ||
source install.sh | ||
displayName: 'Install nni toolkit via source code' | ||
- script: | | ||
python3 -m pip install scikit-learn==0.20.0 --user | ||
python3 -m pip install torch==0.4.1 --user | ||
python3 -m pip install torchvision==0.2.1 --user | ||
python3 -m pip install keras==2.1.6 --user | ||
python3 -m pip install tensorflow-gpu==1.10.0 --user | ||
sudo apt-get install swig -y | ||
nnictl package install --name=SMAC | ||
displayName: 'Install dependencies for integration tests' | ||
- script: | | ||
cd test | ||
source unittest.sh | ||
displayName: 'Unit test' | ||
- script: | | ||
cd test | ||
PATH=$HOME/.local/bin:$PATH python3 naive_test.py | ||
displayName: 'Naive test' | ||
- script: | | ||
cd test | ||
PATH=$HOME/.local/bin:$PATH python3 tuner_test.py | ||
displayName: 'Built-in tuners / assessors tests' | ||
- script: | | ||
cd test | ||
PATH=$HOME/.local/bin:$PATH python3 config_test.py --ts local --local_gpu | ||
displayName: 'Examples and advanced features tests on local machine' | ||
- script: | | ||
cd test | ||
PATH=$HOME/.local/bin:$PATH python3 metrics_test.py | ||
displayName: 'Trial job metrics test' |
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