• conciselyverbose@kbin.social
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      If it’s actually High Bandwidth Memory, it’s the VRAM they use for some video cards/SoCs.

      It might be mostly the same components, but the high bandwidth part is important and harder to do. They get the much higher throughput by physically stacking the chips on top of each other directly on the chip. The much lower distance signals have to travel (combined with a lot of pins to send signal through) do more than you can do with traditional RAM.

      • lol3droflxp@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        I get that this is expensive. However, it should also work with RAM if you accept slower speeds I guess. The question is of course if it’s still usable then.

        • averyminya@beehaw.org
          link
          fedilink
          arrow-up
          4
          ·
          11 months ago

          Most current locally hosted software has some option to offload to RAM, CPU, and disk. VRAM is fastest, but RAM and CPU offloading lets you cut down to less than 4GB VRAM for certain applications, at plenty reasonable speed.

        • abhibeckert@beehaw.org
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          11 months ago

          GPT-4 is already kinda slow - it works best as a “conversational” tool where you ask follow up questions and clarify things that have already been said. That’s painful when you have to wait 10 seconds for a response. I couldn’t imagine it being useful if it was minutes.

    • abhibeckert@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      11 months ago

      To put some numbers on it - RAM runs at tens of gigabytes per second (bytes, not bits). High Bandwidth Memory runs at several hundred or sometimes terabytes per second (OpenAI is likely using the latter, and that memory isn’t just expensive it’s also supply constrained, so the prices are astronomically high right now).

      You can buy HBM, and you can use it as your main system RAM, but it’s painfully expensive. The actual amount of bandwidth also scales linearly with with the amount of memory you buy as well. So a 500GB is 10x faster than 50GB - because it write to all of the chips simultaneously (and then read from all of them when you access the data back).

      It’s pretty standard on high end GPUs these days. Apple also uses it on all their computers (if you buy a Mac with 64GB of RAM, it’ll run at 800MB/s - which isn’t quite as fast as a high end GPU but it’s close and it is HBM). It’s part of why Macs are so expensive (and also why the cheaper ones have very little RAM).