vLLM on Kubernetes in Production

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • vLLM is a fast and easy-to-use library for LLM inference and serving. In this video, we go through the basics of vLLM, how to run it locally, and then how to run it on Kubernetes in production with GPU-attached nodes via a DaemonSet. It includes a hands-on demo explaining vLLM deployment in production.
    Blog post: opensauced.piz...
    John McBride(‪@JohnCodes‬)
    ►►►Connect with me ►►►
    ► Kubesimplify: kubesimplify.c...
    ► Newsletter: saiyampathak.c...
    ► Discord: saiyampathak.c...
    ► Twitch: saiyampathak.c...
    ► UA-cam: saiyampathak.c...
    ► GitHub: github.com/sai...
    ► LinkedIn: / saiyampathak
    ► Website: / saiyampathak
    ► Instagram: / saiyampathak
    ► / saiyampathak

КОМЕНТАРІ • 10

  • @JohnCodes
    @JohnCodes 3 місяці тому +3

    Thanks for having me on Saiyam!! It was alot of fun to show you how we use vLLM at OpenSauced!! Happy to answer any questions here people might have!

  • @aireddy
    @aireddy Місяць тому +1

    This is absolutely wonderful session to understand how can we deploy LLMs in production on Kubernetes cluster!!

  • @DaewonSuh
    @DaewonSuh 26 днів тому

    Thanks for the wonderful Demo!
    I was wondering why you deploy vllm pod through demonsets rather than deployments.
    With daemonset, you can only deploy one pod in one node and a pod occupying a single gpu.
    Considering that nodes are usually attached with multiple gpus, I am afraid that using daemonset might make a lot of gpus idle.

  • @umeshjaiswal5298
    @umeshjaiswal5298 3 місяці тому

    Thanks for this tutorial Saiyam.

    • @kubesimplify
      @kubesimplify  2 місяці тому

      Glad its useful, you building something with LLM?

  • @shivangsharma1
    @shivangsharma1 Місяць тому +1

    Loved it...❤

  • @divyamchandel8734
    @divyamchandel8734 Місяць тому

    Hi John / Saiyam. In the last part you mentioned "In lot of cases could be cheaper"
    What are those cases where locally hosting it is cheaper vs when using openai is cheaper:
    Is it just dependent on the load which we will have (RPD and max RPM)?

    • @matrix9083
      @matrix9083 Місяць тому

      openai is $.50 per million tokens for gpt 3.5 for example. If you rent a gpu server for that same amount, you can generate tens or hundred of millions of tokens in one hour depending on which text generation model you choose. something like mistral 7b, phi 3 series, llama 3 8b, gemma 2b,etc all deliver about the same results if not better than gpt 3.5 and also all fit on a gpu server that costs 44 cents per hour on runpod. (the A5000 gpu server for example.)