aws-samples / easy-amazon-sagemaker-deployments

SageMaker custom deployments made easy
https://pypi.org/project/ezsmdeploy/
56 stars 16 forks source link

sudo: ./src/build-docker.sh command not found #9

Open shubh3ai opened 1 year ago

shubh3ai commented 1 year ago

I am trying to run my model inferencing scripts using the following code:

ez=ezsmdeploy.Deploy(model="best_model",
                     script="inference_script.py",
                     requirements=["thirdai==0.4.1","boto3"], 
                     wait=True,
                     instance_type="local")

I am getting the error sudo: ./src/build-docker.sh: command not found

but on inspecting the docker folder (src folder), I can see that there is a build-docker.sh present there. But if I run the above line repeatedly, the error goes away and docker containers are built.

This is probably an issue with checking the existence of build-docker.sh file.

w601sxs commented 1 year ago

Can you help show how to reproduce this issue? If the file exists in the src folder , not sure why it says it doesn't exist.

Also, several new sagemaker features are not included in the ezsmdeploy package so please do check out the official SDK as well.

On Mon, Nov 14, 2022, 4:53 AM shubh3ai @.***> wrote:

I am trying to run my model inferencing scripts using the following code:

ez=ezsmdeploy.Deploy(model="best_model", script="inference_script.py", requirements=["thirdai==0.4.1","boto3"], wait=True, instance_type="local")

I am getting the error sudo: ./src/build-docker.sh: command not found

but on inspecting the docker folder (src folder), I can see that there is a build-docker.sh present there. But if I run the above line repeatedly, the error goes away and docker containers are built.

This is probably an issue with checking the existence of build-docker.sh file.

— Reply to this email directly, view it on GitHub https://github.com/aws-samples/easy-amazon-sagemaker-deployments/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFPFPVETQHTFSQTWBNTA3WIIDZTANCNFSM6AAAAAAR7T5QLI . You are receiving this because you are subscribed to this thread.Message ID: @.***>