generated from aws-ia/terraform-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GenAI stacks deployment and streamlit sagemaker invocation errors (…
…#224) * json encode prompt * Fix payload json format and ContentType * Use index 0 to access generated text * Switch to ECR python slim base image * Update requirements * Update model data sources and env vars
- Loading branch information
1 parent
512eed8
commit 957d704
Showing
5 changed files
with
45 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
aws-cdk-lib==2.122.0 | ||
python-dotenv==0.21.0 | ||
aws-cdk-lib==2.147.3 | ||
python-dotenv==1.0.1 | ||
streamlit | ||
boto3 | ||
sagemaker==2.218.0 | ||
sagemaker==2.224.2 | ||
sentence_transformers | ||
opensearch-py | ||
torch==2.1.1 | ||
torch==2.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters