Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Bug: image_name is missing from command arguments #679

Open
aShevc opened this issue May 18, 2023 · 0 comments
Open

Bug: image_name is missing from command arguments #679

aShevc opened this issue May 18, 2023 · 0 comments
Labels
bug Something isn't working cli MLEM command-line interface deploy Related to model deployment plugins Plugins and extensions for MLEM!

Comments

@aShevc
Copy link

aShevc commented May 18, 2023

Summary / Background

Currently unable to set image_name when declaring sagemaker deployment, hence can not use prebuit images. The command attempted:


mlem declare deployment sagemaker app.mlem \
    --env env.mlem \
    --method predict \
    --use_prebuilt True \
    --instance_type ml.t2.medium \
    --env.ecr_repository 763104351884.dkr.ecr.us-east-2.amazonaws.com \
    --image_name pytorch-inference \
    --image_tag 1.12.1-cpu-py38

This returns:

No such option: --image_name (Possible options: --image_tag, --model_name)

When image_name is removed , but use_prebuilt is left intact, runnonig the command results in

image_name not specified

This blocks an ability to run prebuilt images
`

@aguschin aguschin added bug Something isn't working deploy Related to model deployment plugins Plugins and extensions for MLEM! cli MLEM command-line interface labels May 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working cli MLEM command-line interface deploy Related to model deployment plugins Plugins and extensions for MLEM!
Projects
None yet
Development

No branches or pull requests

2 participants