-
Notifications
You must be signed in to change notification settings - Fork 76
Fix IB Error in DSL Executor #683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+121
−78
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
968389a
wip
caiomcbr 775a69d
wip
caiomcbr c195a66
wip
caiomcbr 4f045d5
wip
caiomcbr d2434fb
wip
caiomcbr 4ec0e46
wip
caiomcbr c1d60c8
wip
caiomcbr c8929ac
wip
caiomcbr a9325e6
wip
caiomcbr 4f96dff
wip
caiomcbr 0924480
wip
caiomcbr 84784b9
wip
caiomcbr 7cc16e0
wip
caiomcbr 5ae5b9c
wip
caiomcbr fff8946
wip
caiomcbr 670c84c
wip
caiomcbr f06854f
wip
caiomcbr 95bcb37
wip
caiomcbr 2f1c508
wip
caiomcbr 70496c9
wip
caiomcbr 38b8ef9
wip
caiomcbr 63ce014
wip
caiomcbr 55d4c50
wip
caiomcbr 20897d2
wip
caiomcbr 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 hidden or 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,87 @@ | ||
| parameters: | ||
| - name: subscription | ||
| type: string | ||
| - name: vmssName | ||
| type: string | ||
| - name: sshKeySecureFile | ||
| type: string | ||
|
|
||
| steps: | ||
| - task: Bash@3 | ||
| name: Build | ||
| displayName: Build | ||
| inputs: | ||
| targetType: 'inline' | ||
| script: | | ||
| mkdir build && cd build | ||
| cmake -DCMAKE_BUILD_TYPE=Release -DMSCCLPP_BYPASS_GPU_CHECK=ON -DMSCCLPP_USE_CUDA=ON .. | ||
| make -j | ||
| workingDirectory: '$(System.DefaultWorkingDirectory)' | ||
|
|
||
| - task: DownloadSecureFile@1 | ||
| name: SshKeyFile | ||
| displayName: Download key file | ||
| inputs: | ||
| secureFile: ${{ parameters.sshKeySecureFile }} | ||
|
|
||
| - task: Bash@3 | ||
| name: InstallPackages | ||
| displayName: Install Packages | ||
| inputs: | ||
| targetType: 'inline' | ||
| script: | | ||
| sudo apt-get update -y | ||
| sudo apt-get install pssh -y | ||
| curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | ||
|
|
||
| - task: AzureCLI@2 | ||
| name: StartVMSS | ||
| displayName: Start VMSS | ||
| inputs: | ||
| azureSubscription: ${{ parameters.subscription }} | ||
| scriptType: bash | ||
| scriptLocation: inlineScript | ||
| inlineScript: | | ||
| az vmss start --name ${{ parameters.vmssName }} --resource-group mscclpp | ||
|
|
||
| - task: Bash@3 | ||
| name: DeployTestEnv | ||
| displayName: Deploy Test Env | ||
| inputs: | ||
| targetType: filePath | ||
| filePath: test/deploy/deploy.sh | ||
| arguments: single-node-test false | ||
| workingDirectory: $(System.DefaultWorkingDirectory) | ||
|
|
||
| - task: Bash@3 | ||
| name: PyTests | ||
| displayName: Run pytests | ||
| inputs: | ||
| targetType: inline | ||
| script: | | ||
| set -e | ||
| HOSTFILE=$(System.DefaultWorkingDirectory)/test/deploy/hostfile_ci | ||
| SSH_OPTION="StrictHostKeyChecking=no" | ||
| KeyFilePath=${SSHKEYFILE_SECUREFILEPATH} | ||
| : > [email protected] | ||
| tail -f [email protected] & | ||
| CHILD_PID=$! | ||
| parallel-ssh -t 0 -h ${HOSTFILE} -x "-i ${KeyFilePath}" -o . \ | ||
| -O $SSH_OPTION 'sudo docker exec -t mscclpp-test bash -c " \ | ||
| export PATH=/usr/local/mpi/bin:\$PATH \ | ||
| export LD_LIBRARY_PATH=/root/mscclpp/build:\$LD_LIBRARY_PATH; \ | ||
| cd /root/mscclpp; \ | ||
| mpirun --allow-run-as-root -tag-output -x MSCCLPP_HOME=/root/mscclpp -np 8 python3 -m pytest ./python/test/test_mscclpp.py::test_executor -x"' | ||
| kill $CHILD_PID | ||
| workingDirectory: '$(System.DefaultWorkingDirectory)' | ||
|
|
||
| - task: AzureCLI@2 | ||
| name: StopVMSS | ||
| displayName: Deallocate VMSS | ||
| condition: always() | ||
| inputs: | ||
| azureSubscription: ${{ parameters.subscription }} | ||
| scriptType: bash | ||
| scriptLocation: inlineScript | ||
| inlineScript: | | ||
| az vmss deallocate --name ${{ parameters.vmssName }} --resource-group mscclpp |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.