-
Notifications
You must be signed in to change notification settings - Fork 500
Add bash file and modify docker #4773
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
Merged
+984
−233
Merged
Changes from all commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
d37aa99
add bashfile and modify docker
6f359b0
add cpu index
165be7b
fix cpu
ebbabef
increase size
095e988
rebuild and fix script
e2a0ba3
reformat
02f3932
modify test
b2dd1aa
Merge branch 'master' into bash
22933a4
fix test
c8084c9
modify part of test
24d1f18
revert some changes
7c62f90
modify telemetry test
102cb3d
refactor test to shell script
707843e
Merge branch 'master' into bash
Yadan-Wei eed9365
build sm image
7a87bca
rebuild and test
885b999
build inference ec2 image
9bc2073
build tf training image
63a9ba0
fix directory
57218d9
rebuild tf tr
22ecb86
build pt2.6 ec2 images
287d28d
format
e16509b
Merge branch 'master' into bash
Yadan-Wei 247d5fe
fix some error
8ad2fb5
build cpu without sitecustomize
9a4f84c
build TF218 without sitecustomize
282484e
modify tf tr test
19145dd
fix entrypoint test
36da104
rebuild pt2.6 ec2 without sitecustomize
b151274
fix pytorch test failure
c29fcec
fix cpu entrypoint
003e700
fix tf218 cpu entrypoint
2293704
rebuild with updated tf218 entrypoint
d2fb9f6
rebuild with updated pt2.6 entrypoint
e9335cc
test PT2.6 inf ec2
8ea000b
run TF 2.18 inference
2a99697
run TF 2.18 inference
937c056
run TF 2.18 inference fix entrypoint
89c62c8
build tf inf sm with new entrypoint
26047c2
build tf tr sm
b9ebd2a
build pt tr ec2
dffaf73
build pt tr sm
4b00b97
rebuild tf218 tr sm
8f35cd4
rebuild tf218 inf sm
27497b3
disable tf inf sm 218 autopatch
8a9e954
rebuild tf2.18 tr sm with updated entrypoint
0fc84a3
build pt2.6 tr ec2
9b3a228
build pt2.6 tr ec2
438ef6f
rebuild tf218 inf sm
59547b9
build PT2.6 Inf ec2
e53649b
build PT2.6 Inf sm
28023f4
test skip logic
871d87a
fix typo
27c4489
modify test and run for PT2.6 inf sm
9e9c6c6
modify test and run for PT2.6 inf sm remove version skip
f913ac9
fix test
6226baf
test PT inf ec2'
772cb40
test pt tr ec2
8cd0e65
test pt tr sm
2796e98
build tf tr 218 sm and test
2f51dba
revert temp change
d3088af
revert buildspec
b4796df
test PT2.6 tr ec2 autopatch
3c5e3aa
test PT2.5 tr ec2 prod
378838c
Revert "test PT2.5 tr ec2 prod"
2d1c8af
test PT2.5 tr ec2 prod
0535e84
disable autopatch
6d2b12e
test PT 2.4 training prod
6061fae
test pt2.6 tr autopatch
669ba11
Merge branch 'master' into bash
Yadan-Wei 9edcc0a
test arm64 training prod
dfe2836
test arm64 PT2.6
2f385a1
Merge branch 'master' into bash
Yadan-Wei 992ebb4
build arm64 inf
1c3b37f
Merge branch 'master' into bash
Yadan-Wei 849c315
test PT2.6 training autopatch image
56d37e8
set arm64 mode to false
fc7c663
fix confest
8d58d15
do not build
3c0ce32
do not build arm64 inf
bf701c1
do not build arm64 inf
a487a16
test PT2.5 Training Prod
bde0aa0
test TF 218 tr ec2
449206f
test TF218 inf
d139d8e
add skip tensorflow inference logic
005bb3f
test TF218 inf arm64
e1801ee
fix typo and revert some files
e48870d
revert toml
3164d8e
add base
3bdbde7
revert buildspec
dbacf9e
address comments
0b6b7ae
remove sitecustomize test
2833e85
Merge branch 'master' into bash
Yadan-Wei 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,12 @@ | ||
# telemetry.sh | ||
#!/bin/bash | ||
if [ -f /usr/local/bin/deep_learning_container.py ] && [[ -z "${OPT_OUT_TRACKING}" || "${OPT_OUT_TRACKING,,}" != "true" ]]; then | ||
( | ||
python /usr/local/bin/deep_learning_container.py \ | ||
--framework "${FRAMEWORK}" \ | ||
--framework-version "${FRAMEWORK_VERSION}" \ | ||
--container-type "${CONTAINER_TYPE}" \ | ||
&>/dev/null & | ||
) | ||
fi | ||
|
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
3 changes: 3 additions & 0 deletions
3
pytorch/training/docker/build_artifacts/dockerd_entrypoint.sh
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/usr/bin/env bash | ||
# Check if telemetry file exists before executing | ||
# Execute telemetry script if it exists, suppress errors | ||
bash /usr/local/bin/bash_telemetry.sh >/dev/null 2>&1 || true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Better to log error on fail, something like:
|
||
|
||
CUDA_AVAILABLE=$(python -c "import torch; print(torch.cuda.is_available())") | ||
if [ "$CUDA_AVAILABLE" = "True" ]; then | ||
|
5 changes: 5 additions & 0 deletions
5
pytorch/training/docker/build_artifacts/start_with_right_hostname.sh
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
# telemetry.sh | ||
# Execute telemetry script if it exists, suppress errors | ||
bash /usr/local/bin/bash_telemetry.sh >/dev/null 2>&1 || true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
|
||
|
||
CUDA_AVAILABLE=$(python -c "import torch; print(torch.cuda.is_available())") | ||
if [ "$CUDA_AVAILABLE" = "True" ]; then | ||
bash /usr/local/bin/start_cuda_compat.sh | ||
|
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
2 changes: 2 additions & 0 deletions
2
tensorflow/inference/docker/build_artifacts/dockerd_entrypoint.sh
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
6 changes: 6 additions & 0 deletions
6
tensorflow/training/docker/build_artifacts/dockerd_ec2_entrypoint.sh
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,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Execute telemetry script if it exists, suppress errors | ||
bash /usr/local/bin/bash_telemetry.sh >/dev/null 2>&1 || true | ||
|
||
eval "$@" |
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
29 changes: 0 additions & 29 deletions
29
test/dlc_tests/container_tests/bin/pytorch_tests/test_pt_dlc_telemetry_test
This file was deleted.
Oops, something went wrong.
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.