one assessment suggests that ChatGPT, the chatbot created by OpenAI in San Francisco, California, is already consuming the energy of 33,000 homes. It’s estimated that a search driven by generative AI uses four to five times the energy of a conventional web search. Within years, large AI systems are likely to need as much energy as entire nations.

  • @itsJoelle
    link
    310 months ago

    That was my thought too. I heard a take about how we may see us shift away from GPUs to purpose built PUs as a way to continue process progress now we’re getting pretty small on the silicon scale. Neural nets may be one of these special “PU”s we see.

    • El Barto
      link
      210 months ago

      How much power does the brain consume? In bagels. How many bagels does ChatGPT consume?

      • Jose A Lerma
        link
        210 months ago

        How much power does the brain consume? In bagels. How many bagels does ChatGPT consume?

        The great thing about math is that it’s interchangeable.

        https://rpsc.energy.gov/energy-data-facts#collapse-accordion-25-3

        The average U.S. household used about 77 million British thermal units (Btu) in 2015

        https://www.inchcalculator.com/convert/british-thermal-unit-to-kilocalorie/

        The energy in kilocalories is equal to the energy in british thermal units multiplied by 0.252164.

        33,000 households x 77,000,000 Btu/household x 0.252164 kcal/Btu = 640,748,724,000 kcal

        https://www.webmd.com/diet/health-benefits-bagels

        One plain medium-sized bagel –  about 100 grams – has about 264 calories

        https://www.healthline.com/nutrition/kcal-vs-calories

        Instead, the terms calories — capitalized or not — and kcal are used interchangeably and refer to the same amount of energy

        640,748,724,000 kcal / 264 kcal/bagel = 2,427,078,500 bagels

        Your homework is finding out how much energy the brain consumes in bagels

        • El Barto
          link
          1
          edit-2
          10 months ago

          I appreciate your answer, but I already asked that question. I’ll try to answer it myself, but let’s just say that you did the easy part.

          Also, your answer doesn’t have a unit of time. Is that what ChatGPT consumes per hour, per minute, per week?

          • Jose A Lerma
            link
            210 months ago

            The original article doesn’t specify a unit of time:

            Most experts agree that nuclear fusion won’t contribute significantly to the crucial goal of decarbonizing by mid-century to combat the climate crisis. Helion’s most optimistic estimate is that by 2029 it will produce enough energy to power 40,000 average US households; one assessment suggests that ChatGPT, the chatbot created by OpenAI in San Francisco, California, is already consuming the energy of 33,000 homes.

            Based on context clues, it’s probably consumption per year

            • El Barto
              link
              2
              edit-2
              10 months ago

              Ok, I’ll do it my way (though yours was interesting!):

              This article says that an average U.S. house consumes about 30 KWh per day. Let’s round it down to 24 KWh, so we can say that 1 household consumes 1 KW per hour.

              According to this article, 1 Joule = 0.238902957619 kcal. And 1 Watt = 1 Joule (per second.) So, 1 KW = 1,000 Joules per second, or about 239 kcals per second. You said that 1 bagel is about 264 kcals, so to simplify things, let’s round it down to 239 kcals (and yes, food calories are really kcals - go figure), so 1 KW = 1 bagel.

              So, 1 household consumes 1 bagel per second, or 3,600 bagels per hour. In my opinion, that sounds excessive, so maybe my math is not the best. But let’s assume I did everything correctly.

              So, ChatGPT consumes the equivalent of the energy consumed by 33,000 homes. So, ChatGPT consumes 3,600 bagels times 33,000 = 118,800,000 bagels per hour. That’s almost 119 million bagels per hour!

              You came up with 2.4 billion bagels, but we don’t know if that’s per hour, per day or what. Let’s divide both numbers and see if that gives us a clue: 2.4 billion divided by 119 million is roughly 20, which is close-ish to 24. So chances are, your calculations are bagels per day.

              Again, that’s a lot of bagels!!!

              Edit: As for the brain, this site says that the brain consumes 20 watts, or 0.0056 KW per hour. We established that 1 KW = 1 bagel, so 0.0056 KW is, well, 0.0056 bagels. If we multiply that by 3,600, we get 20.16. So the brain consumes 20 bagels per hour. That can’t be right. I wish I could eat as many as 20 bagels per hour just to power my brain - I’d be a happy man!

              But anyway, 20 bagels per hour is definitely a lot less than 119 million bagels per hour.

              Oh well, I did my best.

              • Jose A Lerma
                link
                210 months ago

                That’s some good diligence!

                It looks like the ecoflow values are lower:

                https://www.inchcalculator.com/convert/kilowatt-to-btu-per-hour/

                Since one kilowatt is equal to 3,412.14245 btu per hour

                30 KWh/day x 365 days x 3,412 Btu/KWh = 37,361,400 Btu

                Which is half the value I found for 2015. Does ecoflow have more current data and houses are twice as efficient? Maybe. They’re also trying to sell something, so maybe it’s based on data from their products. They don’t mention where they got it from.

                The welovecycling conversion is off by 1000 (maybe the kilocalorie threw them off?)

                https://www.inchcalculator.com/convert/joule-to-kilocalorie/

                Since one kilocalorie is equal to 4,184 joules

                1 kcal = 4,184 J so 1 J = 1/4,184 kcal = 0.00023900573613 kcal

                Otherwise, your math was right, just off by 3 zeros, so a household is more like 3.6 bagels per hour.

                The nist site also doesn’t specify a unit of time, but if it is 20 watts/hour (Wh) we’d only need to move it 3 places for KWh, or 0.020 KWh.

                Too many conversions can introduce errors, so we can go from KWh to kcal directly:

                https://www.inchcalculator.com/convert/kilowatt-to-kilocalorie-per-hour/

                Since one kilowatt is equal to 860.420815 kilocalories per hour

                0.020 KWh x 860 kcalh/KWh = 17.2 kcalh

                Which, yeah, is not much of a bagel per hour. Keep in mind that the daily recommended calories for an average adult is 2000 kcal.

                All in all, this was a fun thought experiment, so thanks for looking into it further!

                • El Barto
                  link
                  210 months ago

                  Nice! I knew my math was off by three zeros somewhere, but it was late at night, and the exercise per se was fun enough so I wrapped it up.

                  Your corrections make everything make more sense, at least on the brain side. Considering the 2000 calories per day recommendation for the whole body, which is 83 cals per hour, the brain consuming 17.2 cals, or 20% of it sounds about right - though from another point of view, 20% consumption of the whole energy intake sounds like a lot! The brain weighs about 3 lbs, so in an adult male weighing 190 lbs, that’s roughly 1.5%.

                  1.5% of the “cell population” consumes 20% of the total energy. That’s some Occupy Wall Street stuff right there!

                  And bringing it back to bagels, 17.2 cals represents less than 10% of a bagel. So, a bagel bite. The brain consumes a bagel bite per hour. Which is wild given how complex it is (at least, complex to us.)

                  Finally, I said “at least on the brain side” because a household requiring just 3.6 bagels per hour sounds quite low. You mean to tell me that if I burn 4 bagels, I can power my TV, my fridge and my AC for a full hour? Now I know what to do with expired bagels!!!

                  Anyway. Thanks for humoring me! Awesome exercise and awesome discussion. It was fun!