Popping the GPU Bubble

(moondream.ai)

67 points | by radq 1 hour ago

3 comments

  • blueblazin 1 hour ago
    I really appreciate this type of articles. I feel like a lot of knowledge in LLM training and inference is locked inside the heads of practitioners. Similar to compiler engineers before.

    To work in LLM training/inference you’re expected to know this stuff but to know this stuff you need to be working in the space.

    • radq 41 minutes ago
      Thank you for the kind words. We will write and share more of these.
    • rjzzleep 48 minutes ago
      Gentle reminder that while most money is spent on LLM inference, the vast majority of useful AI use is in fact not LLMs. Also, more and more work is poured into making small models. One thing I like about the whole export controls saga is that people are finding creative ways to squeeze performance out of these devices as witnessed in this post. But, if you then look at solutions like vLLM, vLLM will just fill whatever VRAM is available, no matter the context size, or the model size. So then you have two things to worry about:

      First, where do you know exactly what the optimal VRAM assignment per model, per context size is, which seems to be currently based purely on experience and second how do you make sure that only that amount is available to your infra/containers, which is being handled by DRA and stuff like https://project-hami.io

      While only tangentially related to the blog post here. The title is picked in such a way that I couldn't help, but put the shameless plug here. When he wrote popping the bubble, I thought we're talking about devices and reducing NVIDIA dependency, but this seems very focused on Cuda.

      Disclaimer: I work with Dynamia.ai, the founders of which created HAMi.

  • gardnr 1 hour ago
    Different bubble than the one I was hoping for.

    This appears to be different than the recent "Speculative Pipeline Decoding" paper: https://arxiv.org/abs/2605.30852

  • nl 1 hour ago
    > you find that the GPU often sits idle, not for lack of work, but because the CPU hasn't told it what to do next yet. This phenomenon is called a GPU bubble.

    This is true, but I've never heard anyone refer to this as a GPU bubble before.

    I think most people hear "GPU bubble" and think of a financial bubble of some kind.

    • SCdF 53 minutes ago
      It appears to be a real term? https://docs.vulkan.org/tutorial/latest/Synchronization/Asyn...

      Very odd, but perhaps more familiar to graphics programmers? I will say I'd probably call it a stall, which is exactly what the Vulkan docs call it moments later, so :shrug:

      • kibibu 46 minutes ago
        "bubble" used to be used a lot more when talking about very deep pipelines, eg Pentium 4 depth.
      • radq 45 minutes ago
        I feel like bubble is what this is commonly called in GPU programming circles (e.g. https://github.com/sgl-project/sglang/issues/5593 or any number of other issues). Didn't occur to me that it would be confusing to be honest. But yes stall is maybe a better word.
    • vkazanov 41 minutes ago
      I saw it in literature on cpu pipelines in quotes, never without.
      • IshKebab 12 minutes ago
        I've never seen it in quotes, but yeah it is a very common term in pipelined CPUs.
    • cma 55 minutes ago
      It's very common to call it a GPU bubble in gamedev, though not strictly for CPU induced bubbles.
    • rusk 1 hour ago
      The term I would use would be “underutilised”
      • barries11 57 minutes ago
        "stall" is the best term I can think of as in "pipeline stall".

        Better term, anyone?

    • nnevatie 1 hour ago
      Yes, the title seems off - I also thought I am going to be reading about the AI/pricing bubble.