Writing a 100-word email using ChatGPT (GPT-4, latest model) consumes 1 x 500ml bottle of water It uses 140Wh of energy, enough for 7 full charges of an iPhone Pro Max

  • bandwidthcrisis@lemmy.world
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    5
    ·
    10 hours ago

    140Wh seems off.

    It’s possible to run an LLM on a moderately-powered gaming PC (even a Steam Deck).

    Those consume power in the range of a few hundred watts and they can generate replies in a seconds, or maybe a minute or so. Power use throttles down when not actually working.

    That means a home pc could generate dozens of email-sized texts an hour using a few hundred watt-hours.

    I think that the article is missing some factor, such as how many parallel users the racks they’re discussing can support.

    • DarkCloud@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 hour ago

      The study that suggests 10-50 interactions with ChatGPT evaporates a whole bottle of water, doesn’t account for the fact that cooling systems are enclosed…

      …and that “study” is based on a bunch of assumptions, which include evaporation from local power plants, as well as the entire buildings GPT’s servers are located in. It does this as if one user is served at a time, and the organizations involved (such as microsoft) do nothing BUT serve one use at a time. So the “study” (which isn’t peer reviewed and never got published) pretends those buildings don’t also serve bing, or windows, or all the other functions microsoft is involved with. It instead assumes whole buildings at microsoft are dedicated to serving just one user of ChatGPT at a time.

      It also includes the manufacture of all the serve and graphics cards equipment, even though the former was used before ChatGPT, and will be used for other things as well… and the latter is only used in training.

      You can check the study out yourself here:

      http://arxiv.org/pdf/2304.03271

      It’s completely junk. Worthless. Even uses a click bait title, and keeps talking about “the secret water foot print” as if it’s uncovering some conspiracy. It’s bunk science.

      P.S It also doesn’t seem to understand that the bulk of GPT’s training was a one time cost, paid in 2021, with one smaller update in 2023.

    • Naz@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      3 hours ago

      Datacenter LLM tranches are 7-8 H100s per user at full load which is around 4 kW per second.

      Multiply that by generation time and you get your energy used. Say it takes 62 seconds to write an essay (a highly conservative figure).

      That’s 68.8 Wh, so you’re right.

      Source: I’m an AI enthusiast

      • bandwidthcrisis@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 hours ago

        Well that’s of the same order of magnitude as the quoted figure. I was suggesting that it sounded vastly larger than it should be.

        • Naz@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 hours ago

          They’re probably factoring in cooling costs and a bunch of other overhead, I dunno

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      ·
      edit-2
      7 hours ago

      You are conveniently ignoring model size here…

      Which is a primary impact on power consumption.

      And any other processing and augmentation being performed. System prompts and other things that are bloating the token size …etc never mind the fact that you’re getting a response almost immediately for something that an at home GPU cluster (not casual PC) would struggle with for many minutes, this isn’t always a linear scale for power consumption.

      You are also ignoring the realities of a data center. Where the device power usage isn’t the only power consumption of the location, cooling must be taken into consideration as well. Redundant power switching also comes with a percentage loss in transmission efficiency which adds to power consumption and heat dispersion requirements.

      • bandwidthcrisis@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        It’s true, I don’t know how large the models are that are being accessed in data centers. Although if the article’s estimate is correct, it’s sad that such excessively-demanding models are always being used for use-cases that could often be handled with much lower power usage.

    • teh7077@lemmy.today
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      1
      ·
      edit-2
      4 hours ago

      That’s what I always thought when reading this and other articles about the estimated power consumption of GPT-4. Run a decent 7B LLM on consumer hardware like the steam deck and you got your e-mail in a minute with the fans barely spinning up.

      Then I read that GPT-4 is supposedly a 1760B model. (https://en.m.wikipedia.org/wiki/GPT-4#Background) I don’t know how energy usage would scale with model size exactly, but I’d consider it plausible that we are talking orders of magnitude above the typical local LLM.

      considering that the email by the local LLM will be good enough 99% of the time, GPT may just be horribly inefficient, in order to score higher in some synthetic benchmarks?

      • douglasg14b@lemmy.world
        link
        fedilink
        English
        arrow-up
        13
        ·
        7 hours ago

        Computational demands scale aggressively with model size.

        And if you want a response back in a reasonable amount of time you’re burning a ton of power to do so. These models are not fast at all.

        • teh7077@lemmy.today
          link
          fedilink
          English
          arrow-up
          7
          ·
          6 hours ago

          Thanks for confirming my suspicion.

          So, the whole debate about “environmental impact of AI” is not about generative AI as such at all. Really comes down to people using disproportionally large models for simple tasks that could be done just as well by smaller ones, run locally. Or worse yet, asking a behemoth model like GPT-4 about something that could and should have been a simple search engine query, which I (subjectively) feel has become a trend in everyday tech usage…