Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/sagemaker/djl_inference/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def serving_image_uri(self, region_name):
str: The appropriate image URI based on the given parameters.
"""
if not self.djl_version:
self.djl_version = "0.21.0"
self.djl_version = "0.22.1"

return image_uris.retrieve(
self._framework(),
Expand Down
30 changes: 30 additions & 0 deletions src/sagemaker/image_uri_config/djl-deepspeed.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
{
"scope": ["inference"],
"versions": {
"0.22.1": {
"registries": {
"af-south-1": "626614931356",
"ap-east-1": "871362719292",
"ap-northeast-1": "763104351884",
"ap-northeast-2": "763104351884",
"ap-northeast-3": "364406365360",
"ap-south-1": "763104351884",
"ap-southeast-1": "763104351884",
"ap-southeast-2": "763104351884",
"ap-southeast-3": "907027046896",
"ca-central-1": "763104351884",
"cn-north-1": "727897471807",
"cn-northwest-1": "727897471807",
"eu-central-1": "763104351884",
"eu-north-1": "763104351884",
"eu-west-1": "763104351884",
"eu-west-2": "763104351884",
"eu-west-3": "763104351884",
"eu-south-1": "692866216735",
"me-south-1": "217643126080",
"sa-east-1": "763104351884",
"us-east-1": "763104351884",
"us-east-2": "763104351884",
"us-west-1": "763104351884",
"us-west-2": "763104351884"
},
"repository": "djl-inference",
"tag_prefix": "0.22.1-deepspeed0.8.3-cu118"
},
"0.21.0": {
"registries": {
"af-south-1": "626614931356",
Expand Down
30 changes: 30 additions & 0 deletions src/sagemaker/image_uri_config/djl-fastertransformer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
{
"scope": ["inference"],
"versions": {
"0.22.1": {
"registries": {
"af-south-1": "626614931356",
"ap-east-1": "871362719292",
"ap-northeast-1": "763104351884",
"ap-northeast-2": "763104351884",
"ap-northeast-3": "364406365360",
"ap-south-1": "763104351884",
"ap-southeast-1": "763104351884",
"ap-southeast-2": "763104351884",
"ap-southeast-3": "907027046896",
"ca-central-1": "763104351884",
"cn-north-1": "727897471807",
"cn-northwest-1": "727897471807",
"eu-central-1": "763104351884",
"eu-north-1": "763104351884",
"eu-west-1": "763104351884",
"eu-west-2": "763104351884",
"eu-west-3": "763104351884",
"eu-south-1": "692866216735",
"me-south-1": "217643126080",
"sa-east-1": "763104351884",
"us-east-1": "763104351884",
"us-east-2": "763104351884",
"us-west-1": "763104351884",
"us-west-2": "763104351884"
},
"repository": "djl-inference",
"tag_prefix": "0.22.1-fastertransformer5.3.0-cu118"
},
"0.21.0": {
"registries": {
"af-south-1": "626614931356",
Expand Down
6 changes: 4 additions & 2 deletions tests/unit/sagemaker/image_uris/test_djl.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"us-west-1": "763104351884",
"us-west-2": "763104351884",
}
DJL_DEEPSPEED_VERSIONS = ["0.21.0", "0.20.0", "0.19.0"]
DJL_FASTERTRANSFORMER_VERSIONS = ["0.21.0"]
DJL_DEEPSPEED_VERSIONS = ["0.22.1", "0.21.0", "0.20.0", "0.19.0"]
DJL_FASTERTRANSFORMER_VERSIONS = ["0.22.1", "0.21.0"]
DJL_NEURONX_VERSIONS = ["0.22.1"]
DJL_VERSIONS_TO_FRAMEWORK = {
"0.19.0": {"djl-deepspeed": "deepspeed0.7.3-cu113"},
Expand All @@ -52,6 +52,8 @@
"djl-fastertransformer": "fastertransformer5.3.0-cu117",
},
"0.22.1": {
"djl-deepspeed": "deepspeed0.8.3-cu118",
"djl-fastertransformer": "fastertransformer5.3.0-cu118",
"djl-neuronx": "neuronx-sdk2.9.0",
},
}
Expand Down