AWS Bites

110. Why should you use Lambda for Machine Learning?


Listen Later

In this episode, we discuss using AWS Lambda for machine learning inference. We cover the tradeoffs between GPUs and CPUs for ML, tools like ggml and llama.cpp for running models on CPUs, and share examples where we've experimented with Lambda for ML like podcast transcription, medical imaging, and natural language processing. While Lambda ML is still quite experimental, it can be a viable option for certain use cases.


💰 SPONSORS 💰

AWS Bites is brought to you by fourTheorem, an Advanced AWS Partner. If you are moving to AWS or need a partner to help you go faster, check us out at fourtheorem.com !
In this episode, we mentioned the following resources.

  • Episode "46. How do you do machine learning on AWS?": https://awsbites.com/46-how-do-you-do-machine-learning-on-aws/
  • Episode "108. How to Solve Lambda Python Cold Starts": https://awsbites.com/108-how-to-solve-lambda-python-cold-starts/
  • ggml (the framework): https://github.com/ggerganov/ggml
  • ggml (the company): https://ggml.ai
  • llama.cpp: https://github.com/ggerganov/llama.cpp
  • whisper.cpp: https://github.com/ggerganov/whisper.cpp
  • whisper.cpp WebAssembly demo: https://whisper.ggerganov.com/
  • ONNX Runtime: https://onnxruntime.ai/
  • An example of using whisper.cpp with the Rust bindings: https://github.com/lmammino/whisper-rs-example
  • Project running Whisper.cpp in a Lambda function: https://github.com/eoinsha/whisper_lambda_cpp
  • AWS Lambda Image Container Chest X-Ray Example: https://github.com/fourTheorem/lambda-image-cxr-detection
  • Episode "103. Building GenAI Features with Bedrock": https://awsbites.com/103-building-genai-features-with-bedrock/⁠

  • Do you have any AWS questions you would like us to address?

    Leave a comment here or connect with us on X, formerly Twitter:
    - ⁠⁠⁠⁠https://twitter.com/eoins⁠⁠⁠⁠
    - ⁠⁠⁠⁠https://twitter.com/loige⁠⁠

    ...more
    View all episodesView all episodes
    Download on the App Store

    AWS BitesBy AWS Bites

    • 4.6
    • 4.6
    • 4.6
    • 4.6
    • 4.6

    4.6

    11 ratings


    More shows like AWS Bites

    View all
    Hanselminutes with Scott Hanselman by Scott Hanselman

    Hanselminutes with Scott Hanselman

    383 Listeners

    The a16z Show by Andreessen Horowitz

    The a16z Show

    1,084 Listeners

    Software Engineering Daily by Software Engineering Daily

    Software Engineering Daily

    626 Listeners

    Risky Business by Patrick Gray

    Risky Business

    374 Listeners

    The Cloudcast by Massive Studios

    The Cloudcast

    153 Listeners

    Python Bytes by Michael Kennedy and Brian Okken

    Python Bytes

    215 Listeners

    Y Combinator Startup Podcast by Y Combinator

    Y Combinator Startup Podcast

    226 Listeners

    Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

    Syntax - Tasty Web Development Treats

    987 Listeners

    Cybersecurity Today by Jim Love

    Cybersecurity Today

    181 Listeners

    Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

    Kubernetes Podcast from Google

    181 Listeners

    Practical AI by Practical AI LLC

    Practical AI

    209 Listeners

    AWS Podcast by Amazon Web Services

    AWS Podcast

    203 Listeners

    AWS Morning Brief by Corey Quinn

    AWS Morning Brief

    79 Listeners

    The Real Python Podcast by Real Python

    The Real Python Podcast

    142 Listeners

    The AWS Developers Podcast by Amazon Web Services

    The AWS Developers Podcast

    25 Listeners