This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Support paiTrainingService on windows #1075
Merged
Merged
Changes from 113 commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
d77a99c
fix remote bug
695d866
Merge pull request #106 from Microsoft/master
SparkSnail b7e9799
Merge pull request #107 from Microsoft/master
SparkSnail 7cb03f9
add document
44d1565
add document
7ab7386
update
d9e1ea8
update
2c225a8
update
be23f55
update
6f760ab
Merge pull request #108 from Microsoft/master
SparkSnail 9161209
fix remote issue
e661c55
fix forEach
4e5d836
Merge pull request #109 from Microsoft/master
SparkSnail f80e737
fix conflict
aefc219
Merge branch 'Microsoft-master'
4fec2cc
update doc according to comments
dc45661
Merge pull request #111 from Microsoft/master
SparkSnail 11fec6f
update
a03a191
update
7c7832c
update
2c862dc
Merge pull request #112 from Microsoft/master
SparkSnail 85c015d
remove 'any more'
85cb472
Merge branch 'master' of https://github.com/SparkSnail/nni
3784355
Merge pull request #113 from Microsoft/master
SparkSnail d91c980
Merge pull request #114 from Microsoft/master
SparkSnail 9786650
Merge pull request #115 from Microsoft/master
SparkSnail ef176d2
Merge pull request #116 from Microsoft/master
SparkSnail 1089e80
Merge pull request #117 from Microsoft/master
SparkSnail 627e823
Merge pull request #119 from Microsoft/master
SparkSnail b633c26
Merge pull request #120 from Microsoft/master
SparkSnail 035d58b
Merge pull request #121 from Microsoft/master
SparkSnail cd549df
Merge pull request #122 from Microsoft/master
SparkSnail 964743a
Merge pull request #123 from Microsoft/master
SparkSnail 8422992
Merge pull request #124 from Microsoft/master
SparkSnail 40391ec
Merge pull request #125 from Microsoft/master
SparkSnail 1d84526
Merge pull request #126 from Microsoft/master
SparkSnail 1852457
Merge pull request #127 from Microsoft/master
SparkSnail 754a354
Merge pull request #128 from Microsoft/master
SparkSnail 1ee9735
Merge pull request #129 from Microsoft/master
SparkSnail 9f4485c
Merge pull request #130 from Microsoft/master
SparkSnail b1c3774
Merge pull request #131 from Microsoft/master
SparkSnail 5d7923e
Merge pull request #132 from Microsoft/master
SparkSnail 281f3dc
Merge pull request #133 from Microsoft/master
SparkSnail 2ce9157
Merge pull request #134 from Microsoft/master
SparkSnail 571a7af
Merge pull request #135 from Microsoft/master
SparkSnail f09d51a
Merge pull request #136 from Microsoft/master
SparkSnail 41a9a59
Merge pull request #137 from Microsoft/master
SparkSnail 21165b5
Merge pull request #138 from Microsoft/master
SparkSnail d25f7b5
Merge pull request #139 from Microsoft/master
SparkSnail 17e719e
Merge pull request #140 from Microsoft/master
SparkSnail e25ffbd
Merge pull request #141 from Microsoft/master
SparkSnail 5e777d2
Merge pull request #142 from Microsoft/master
SparkSnail 6ff24a5
Merge pull request #143 from Microsoft/master
SparkSnail ccf6c04
Merge pull request #144 from Microsoft/master
SparkSnail eb5e21c
Merge pull request #145 from Microsoft/master
SparkSnail f796c60
Merge pull request #146 from Microsoft/master
SparkSnail e1ae623
Merge pull request #147 from Microsoft/master
SparkSnail ec41d56
Merge pull request #148 from Microsoft/master
SparkSnail 080ae00
Merge pull request #149 from Microsoft/master
SparkSnail f0a2d39
Merge pull request #150 from Microsoft/master
SparkSnail 77526d3
Merge pull request #152 from Microsoft/master
SparkSnail d95c351
Merge pull request #155 from Microsoft/master
SparkSnail 346d49d
Merge pull request #156 from Microsoft/master
SparkSnail 6af4b86
Merge pull request #158 from Microsoft/master
SparkSnail cf5336d
Merge pull request #159 from Microsoft/master
SparkSnail aec4977
Merge pull request #160 from Microsoft/master
SparkSnail b1dfaff
Merge pull request #161 from Microsoft/master
SparkSnail 6c9360a
Merge pull request #162 from Microsoft/master
SparkSnail 0663218
Merge pull request #163 from Microsoft/master
SparkSnail 5187b2c
Merge pull request #164 from Microsoft/master
SparkSnail 5032694
Merge pull request #165 from Microsoft/master
SparkSnail c577553
Merge pull request #166 from Microsoft/master
SparkSnail 93d6502
Merge pull request #167 from Microsoft/master
SparkSnail defe000
init
ca797f0
debug pipeline
bbeef79
debug job name
ffd22a2
fix job image
c4b0fbe
debug
f22ebe9
add job dependency
dac10df
debug variable
514175a
test variable chagne
48c9860
debug variable
3ebaa8d
test variable
2d50c81
debug
9ccb655
test variable
9c3a4df
debug
c8b17ad
test variable
7805185
debug examples
07e7fc7
fix pool
b254e16
debug
ce0cfbc
fix name
b5eab4b
Merge pull request #168 from microsoft/master
SparkSnail 4c65664
test python version
da993eb
debug python version
28c8bec
debug python
3635b82
debug image
3ecbb1f
debug variable
e21413f
debug variable
8c2777d
debug variable
78adad1
debug variable
3fa4641
debug variable
b614554
debug variable
3a2bc72
debug variable
9466a8a
fix python command in config file
9d2c732
add validateCodeDir
7269b7c
fix count files
f39d69e
Merge pull request #169 from microsoft/master
SparkSnail 680214d
Merge branch 'master' of https://github.com/SparkSnail/nni into dev-w…
5fd7cdb
revert yarn.lock
b981ee6
refactor cmd in utils.ts
6a7c8e6
fix pathJoin
5936493
fix bug in hdfsClinet
930b4fa
fix root dir
ea687b9
fix comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
jobs: | ||
- job: 'build_docker_image' | ||
timeoutInMinutes: 0 | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- script: python3 -m pip install --upgrade pip setuptools --user | ||
displayName: 'Install python tools' | ||
|
||
- script: | | ||
cd deployment/pypi | ||
echo 'building prerelease package...' | ||
make build | ||
ls $(Build.SourcesDirectory)/deployment/pypi/dist/ | ||
condition: eq( variables['build_docker_img'], 'true' ) | ||
displayName: 'build nni bdsit_wheel' | ||
|
||
- script: | | ||
if [ $(build_docker_img) = 'true' ] | ||
then | ||
cd deployment/pypi | ||
docker login -u $(docker_hub_user) -p $(docker_hub_pwd) | ||
echo 'updating docker file for installing nni from local...' | ||
# update Dockerfile to install NNI in docker image from whl file built in last step | ||
sed -ie 's/RUN python3 -m pip --no-cache-dir install nni/COPY .\/dist\/* .\nRUN python3 -m pip install nni-*.whl/' ../docker/Dockerfile | ||
cat ../docker/Dockerfile | ||
export IMG_TAG=`date -u +%y%m%d%H%M` | ||
|
||
echo 'build and upload docker image' | ||
docker build -f ../docker/Dockerfile -t $(test_docker_img_name):$IMG_TAG . | ||
docker push $(test_docker_img_name):$IMG_TAG | ||
|
||
export TEST_IMG=$(test_docker_img_name):$IMG_TAG | ||
cd ../../ | ||
else | ||
export TEST_IMG=$(existing_docker_img) | ||
fi | ||
echo "##vso[task.setvariable variable=TEST_IMG]$TEST_IMG" | ||
displayName: 'build docker image' | ||
- script: | ||
echo $TEST_IMG | ||
echo "##vso[task.setvariable variable=docker_image;isOutput=true]$TEST_IMG" | ||
name: setvariableStep | ||
displayName: 'set image variable' | ||
|
||
- job: 'integration_test_pai' | ||
timeoutInMinutes: 0 | ||
dependsOn: build_docker_image | ||
variables: | ||
docker_image: $[ dependencies.build_docker_image.outputs['setvariableStep.docker_image'] ] | ||
|
||
steps: | ||
- script: | | ||
set PATH=$(ENV_PATH) | ||
python --version | ||
powershell.exe -file install.ps1 | ||
displayName: 'Install nni toolkit via source code' | ||
- script: | | ||
cd test | ||
set PATH=$(ENV_PATH) | ||
python --version | ||
python generate_ts_config.py --ts pai --pai_host $(pai_host) --pai_user $(pai_user) --pai_pwd $(pai_pwd) --vc $(pai_virtual_cluster) --nni_docker_image $(docker_image) --data_dir $(data_dir) --output_dir $(output_dir) --nni_manager_ip $(nni_manager_ip) | ||
|
||
python config_test.py --ts pai --exclude multi_phase,smac,bohb | ||
displayName: 'Examples and advanced features tests on pai' |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has different logic from pr 1073
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, changed to use logic in pr 1073