Skip to content

Commit

Permalink
updated to 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghodsieh Mashouf committed Jun 9, 2022
1 parent 939a09f commit ea12b66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@

# official autogluon images
image_uri = (
"763104351884.dkr.ecr.us-east-1.amazonaws.com/autogluon-training:0.3.1-cpu-py37-ubuntu18.04"
"763104351884.dkr.ecr.us-east-1.amazonaws.com/autogluon-training:0.4.2-cpu-py38-ubuntu20.04"
)
infere_image_uri = (
"763104351884.dkr.ecr.us-east-1.amazonaws.com/autogluon-inference:0.3.1-cpu-py37-ubuntu16.04"
"763104351884.dkr.ecr.us-east-1.amazonaws.com/autogluon-inference:0.4.2-cpu-py38-ubuntu20.04"
)


Expand Down Expand Up @@ -175,8 +175,8 @@ def get_pipeline(
region=region,
instance_count=1,
instance_type=training_instance_type,
framework_version="0.3.1",
py_version="py37",
framework_version="0.4",
py_version="py38",
base_job_name=f"{base_job_prefix}/abalone-train",
output_path=model_path,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ def __init__(self, *args, **kwargs):

class AutoGluonInferenceModel(MXNetModel):
def __init__(
self, model_data, role, entry_point, region, framework_version, instance_type, **kwargs
self, model_data, role, entry_point, region, framework_version, py_version, instance_type, **kwargs,
):
image_uri = image_uris.retrieve(
"autogluon",
region=region,
version=framework_version,
py_version="py37",
py_version=py_version,
image_scope="inference",
instance_type=instance_type,
)
Expand Down

0 comments on commit ea12b66

Please sign in to comment.