logoalt Hacker News

Serving Qwen via AWS Lambdas for fun and 80x negative profit

56 points • by octember • today at 3:28 AM • 10 comments • view on HN

Comments

catlifeonmars • today at 4:16 AM

I’m sure it’s still quite expensive but lambda can now access GPU instances via managed instances. I’d like to see the same thing implemented on some beefier GPU compute.

https://docs.aws.amazon.com/lambda/latest/dg/lambda-managed-...

➕ show 1 reply
cebert • today at 4:12 AM

I love it when folks experiment and try random approaches like this to see if it would even work.

➕ show 1 reply
hizlikovboy27 • today at 7:01 AM

I love this madness. Its serves as an answer to that "what if?" question you have been harboring all this time. Im looking forward to seeing your new experiments with AWS Lambda documentation :)

enjoyyourlife • today at 6:55 AM

Needs to try Cloudflare Workers next

janalsncm • today at 5:28 AM

Hey that’s pretty impressive even if it’s not economical.

First thing that came to mind is that you’re using a 4B model. If you can get away with something half the size, I think the numbers will be more favorable.

In order to do that you need an eval set, which you’ll want anyways if you care whether Jev or Open AI decisions or Gemini decisions are best for your problem.

Another thing is, you’ll probably be crushed on cold start unless you deliberately keep your lambdas warm.

➕ show 1 reply
jdw64 • today at 4:25 AM

>I need a GPU Who wouldn’t need a GPU? We all need one.