Skip to content

Commit

Permalink
Revert "Fix for chaquo/chaquopy#1227"
Browse files Browse the repository at this point in the history
This reverts commit 134acfb.
  • Loading branch information
sawyerh committed Sep 1, 2024
1 parent fb1f638 commit 4b6f0b1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions aws/ai/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ frameworkVersion: "3"
provider:
name: aws
runtime: python3.10
architecture: x86_64
# "...significantly better price and performance"
# https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html#foundation-arch-adv
architecture: arm64
# "faster and have no downsides (unless you specifically use the generated change sets).
# They will become the default in Serverless Framework 4."
deploymentMethod: direct
Expand Down Expand Up @@ -41,9 +43,9 @@ functions:
layers:
- !Ref PythonRequirementsLambdaLayer
# https://aws-sdk-pandas.readthedocs.io/en/stable/layers.html
- arn:aws:lambda:${aws:region}:336392948345:layer:AWSSDKPandas-Python310:20
- arn:aws:lambda:${aws:region}:336392948345:layer:AWSSDKPandas-Python310-Arm64:3
# https://docs.powertools.aws.dev/lambda/python/latest/
- arn:aws:lambda:${aws:region}:017000801446:layer:AWSLambdaPowertoolsPythonV2:79
- arn:aws:lambda:${aws:region}:017000801446:layer:AWSLambdaPowertoolsPythonV2-Arm64:37
environment:
EMBEDDINGS_S3_BUCKET: highlights.sawyerh.com
EMBEDDINGS_S3_KEY: ai/embeddings.parquet
Expand Down

0 comments on commit 4b6f0b1

Please sign in to comment.