aws-samples / serverless-summarize-foundational-model

MIT No Attribution
9 stars 3 forks source link

Error: 'python3.10' runtime is not supported #1

Open twocoins-ca opened 1 year ago

twocoins-ca commented 1 year ago

$ sam build && sam deploy --guided Building codeuri: /home/ec2-user/workspace/serverless-summarize-foundational-model/handlers/transformer runtime: python3.10 metadata: {} architecture: arm64 functions: TextTransformerFunction

Build Failed Error: 'python3.10' runtime is not supported

dmahapatro commented 1 year ago

@twocoins-ca Do you have the latest version of SAM CLI?

twocoins-ca commented 1 year ago

Thanks for your quick response. Updated and it is better but still got the following issue:

Endpoint jumpstart-dft-hf-text2text-flan-t5-xxl of account 870229883416 not found. (Service: SageMakerRuntime, Status Code: 400, Request ID: b08078b1-f39a-4c76-b518-35e0940637c2)

Any quick tip on how to deploy the Foundational Model in our account?

dmahapatro commented 1 year ago

@twocoins-ca You will need your own version of FM running in Sagemaker. Mentioned here https://github.com/aws-samples/serverless-summarize-foundational-model#prerequisites

SageMaker Jumpstart can help. You can also refer to this Intelligent Document Processing using GenAI blog for additional details.