Live data from Hacker News

AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

github.com

11–20 of 21 posts

Re: AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

#11
Increasingly bullish on AWS Bedrock.

• Devs forever want choice.

• Open-source LLMs are getting better

• Anthropic ships fantastic models

• Doesn't expose your app’s data to multiple companies

• Consolidated security, billing, config in AWS

• Power of AWS ecosystem

Re: AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

#12
post #11

Increasingly bullish on AWS Bedrock. • Devs forever want choice. • Open-source LLMs are getting better • Anthropic ships fantastic models • Doesn't expose your app’s data to multiple companies • Consolidated security, billing, config in AWS • Power of AWS ecosystem

I am worried about AWS imposing their own political rules on the models. For example, they may impose censorship, or safety requirements. It is hard for me to trust them as a central platform in this ecosystem

Re: AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

#13

I have not read too deeply into this but, do any of these serverless environments offer GPUs? I'm sure there are ... reasons but the lack of GPU support in Lambda and Fargate remains a major paint point for AWS users. It's been keeping me wrangling EC2 instances for ML teams but I do wonder how much longer that will last.

The major clouds don't support serverless GPU because the architecture is fundamentally different from running CPU workloads. For Lambda specifically, there's no way of running multiple customer workloads on a single GPU with Firecracker.

A more general issue is that the workloads that tend to run on GPU are much bigger than a standard Lambda-sized workload (think a 20Gi image with a smorgasbord of ML libraries). I've spent time working around this problem and wrote a bit about it here: https://www.beam.cloud/blog/serverless-platform-guide

Re: AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

#14

I have not read too deeply into this but, do any of these serverless environments offer GPUs? I'm sure there are ... reasons but the lack of GPU support in Lambda and Fargate remains a major paint point for AWS users. It's been keeping me wrangling EC2 instances for ML teams but I do wonder how much longer that will last.

The only big one I know of is Cloud Run on GCP.

https://cloud.google.com/run/docs/configuring/services/gpu

Re: AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

#15
post #11

Increasingly bullish on AWS Bedrock. • Devs forever want choice. • Open-source LLMs are getting better • Anthropic ships fantastic models • Doesn't expose your app’s data to multiple companies • Consolidated security, billing, config in AWS • Power of AWS ecosystem

I am worried about AWS imposing their own political rules on the models. For example, they may impose censorship, or safety requirements. It is hard for me to trust them as a central platform in this ecosystem

+1 Bedrock supports custom model import, though I haven't used it and can't speak to limitations there. Also, this boilerplate provides a solid foundation for any LLM app, whether you use Bedrock or opt for models hosted elsewhere.

Re: AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

#16
post #6

Last time I checked Bedrock was quite expensive to operate in a small scale.

I'm confused, what's expensive about it? It's a serverless pay per token model?

Do you mean specifically the Bedrock Knowledgebase/RAG -- that uses serverless OpenSearch which costs at minimum $200ish/month bc it doesn't scale to zero?

Re: AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

#17
post #13

I have not read too deeply into this but, do any of these serverless environments offer GPUs? I'm sure there are ... reasons but the lack of GPU support in Lambda and Fargate remains a major paint point for AWS users. It's been keeping me wrangling EC2 instances for ML teams but I do wonder how much longer that will last.

The major clouds don't support serverless GPU because the architecture is fundamentally different from running CPU workloads. For Lambda specifically, there's no way of running multiple customer workloads on a single GPU with Firecracker. A more general issue is that the workloads that tend to run on GPU are much bigger than a standard Lambda-sized workload (think a 20Gi image with a smorgasbord of ML libraries). I'v…

> there's no way of running multiple customer workloads on a single GPU with Firecracker.

You can do this with SR-IOV enabled hardware.

https://docs.nvidia.com/networking/display/mlnxofedv581011/s...

Re: AWS AI Stack – Ready-to-Deploy Serverless AI App on AWS and Bedrock

#20
You can check out this technical deep dive on Serverless GPUs offerings/Pay-as-you-go way. This includes benchmarks around cold-starts, performance consistency, scalability, and cost-effectiveness for models like Llama2 7Bn & Stable Diffusion across different providers -https://www.inferless.com/learn/the-state-of-serverless-gpus... .Can save months of your time. Do give it a read.

P.S: I am from Inferless

Post reply on HN