Skip to content
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

Add TF2.6 Inf to autopatch #4592

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dlc_developer_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ deep_canary_mode = false
[build]
# Add in frameworks you would like to build. By default, builds are disabled unless you specify building an image.
# available frameworks - ["autogluon", "huggingface_tensorflow", "huggingface_pytorch", "huggingface_tensorflow_trcomp", "huggingface_pytorch_trcomp", "pytorch_trcomp", "tensorflow", "pytorch", "stabilityai_pytorch"]
build_frameworks = []
build_frameworks = ["pytorch"]


# By default we build both training and inference containers. Set true/false values to determine which to build.
build_training = true
build_training = false
build_inference = true

# Set do_build to "false" to skip builds and test the latest image built by this PR
Expand Down Expand Up @@ -132,7 +132,7 @@ dlc-pr-tensorflow-2-habana-training = ""
### INFERENCE PR JOBS ###

# Standard Framework Inference
dlc-pr-pytorch-inference = ""
dlc-pr-pytorch-inference = "pytorch/inference/buildspec-2-6-ec2.yml"
dlc-pr-tensorflow-2-inference = ""
dlc-pr-autogluon-inference = ""

Expand Down
2 changes: 1 addition & 1 deletion pytorch/inference/buildspec-2-6-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ framework: &FRAMEWORK pytorch
version: &VERSION 2.6.0
short_version: &SHORT_VERSION "2.6"
arch_type: x86
# autopatch_build: "True"
autopatch_build: "True"

repository_info:
inference_repository: &INFERENCE_REPOSITORY
Expand Down
2 changes: 1 addition & 1 deletion pytorch/inference/buildspec-2-6-sm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ framework: &FRAMEWORK pytorch
version: &VERSION 2.6.0
short_version: &SHORT_VERSION "2.6"
arch_type: x86
# autopatch_build: "True"
autopatch_build: "True"

repository_info:
inference_repository: &INFERENCE_REPOSITORY
Expand Down
2 changes: 1 addition & 1 deletion pytorch/inference/buildspec.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
buildspec_pointer: buildspec-2-6-sm.yml
buildspec_pointer: buildspec-2-6-ec2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"captum": {
"version_specifier": "==0.6.0",
"skip": "True"
},
"torchaudio": {
"version_specifier": "==2.6.0+cpu",
"skip": "True"
},
"torchtext": {
"version_specifier": "==0.18.0+cpu",
"skip": "True"
},
"torchvision": {
"version_specifier": "==0.21.0+cpu",
"skip": "True"
},
"torchdata": {
"version_specifier": "==0.10.1+cpu",
"skip": "True"
},
"torchserve": {
"version_specifier": "==0.12.0"
},
"requests": {
"version_specifier": ">=2.32.3"
},
"torch-model-archiver": {
"version_specifier": "==0.12.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"captum": {
"version_specifier": "==0.6.0",
"skip": "True"
},
"torchaudio": {
"version_specifier": "==2.6.0+cpu",
"skip": "True"
},
"torchtext": {
"version_specifier": "==0.18.0+cpu",
"skip": "True"
},
"torchvision": {
"version_specifier": "==0.21.0+cpu",
"skip": "True"
},
"torchdata": {
"version_specifier": "==0.10.1+cpu",
"skip": "True"
},
"requests": {
"version_specifier": ">=2.32.3"
},
"torchserve": {
"version_specifier": "==0.12.0"
},
"torch-model-archiver": {
"version_specifier": "==0.12.0"
},
"sagemaker-pytorch-inference": {
"version_specifier": "==2.0.25"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"captum": {
"version_specifier": "==0.6.0",
"skip": "True"
},
"torchaudio": {
"version_specifier": "==2.6.0+cu124",
"skip": "True"
},
"torchtext": {
"version_specifier": "==0.18.0+cu124",
"skip": "True"
},
"torchvision": {
"version_specifier": "==0.21.0+cu124",
"skip": "True"
},
"torchdata": {
"version_specifier": "==0.10.1+cu124",
"skip": "True"
},
"requests": {
"version_specifier": ">=2.32.3"
},
"torchserve": {
"version_specifier": "==0.12.0"
},
"torch-model-archiver": {
"version_specifier": "==0.12.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"captum": {
"version_specifier": "==0.6.0",
"skip": "True"
},
"torchaudio": {
"version_specifier": "==2.6.0+cu124",
"skip": "True"
},
"torchtext": {
"version_specifier": "==0.18.0+cu124",
"skip": "True"
},
"torchvision": {
"version_specifier": "==0.21.0+cu124",
"skip": "True"
},
"torchdata": {
"version_specifier": "==0.10.1+cu124",
"skip": "True"
},
"requests": {
"version_specifier": ">=2.32.3"
},
"torchserve": {
"version_specifier": "==0.12.0"
},
"torch-model-archiver": {
"version_specifier": "==0.12.0"
},
"sagemaker-pytorch-inference": {
"version_specifier": "==2.0.25"
}
}