• jsomae@lemmy.ml
    link
    fedilink
    English
    arrow-up
    28
    arrow-down
    16
    ·
    edit-2
    13 hours ago

    I know she’s exaggerating but this post yet again underscores how nobody understands that it is training AI which is computationally expensive. Deployment of an AI model is a comparable power draw to running a high-end videogame. How can people hope to fight back against things they don’t understand?

      • MotoAsh@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 hours ago

        Well you asked for six tits but you’re getting five. Why? Because the AI is intelligent and can count, obviously.

    • domdanial@reddthat.com
      link
      fedilink
      English
      arrow-up
      25
      ·
      13 hours ago

      I mean, continued use of AI encourages the training of new models. If nobody used the image generators, they wouldn’t keep trying to make better ones.

    • PeriodicallyPedantic@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      10 hours ago

      Right, but that’s kind of like saying “I don’t kill babies” while you use a product made from murdered baby souls. Yes you weren’t the one who did it, but your continued use of it caused the babies too be killed.

      There is no ethical consumption under capitalism and all that, but I feel like here is a line were crossing. This fruit is hanging so low it’s brushing the grass.

      • jsomae@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        9 hours ago

        Are you interpreting my statement as being in favour of training AIs?

        • PeriodicallyPedantic@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          I’m interpreting your statement as “the damage is done so we might as well use it”
          And I’m saying that using it causes them to train more AIs, which causes more damage.

          • jsomae@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 hours ago

            I agree with your second statement. You have misunderstood me. I am not saying the damage is done so we might as well use it. I am saying people don’t understand that it is the training of AIs which is directly power-draining.

            I don’t understand why you think that my observation people are ignorant about how AIs work is somehow an endorsement that we should use AIs.

            • PeriodicallyPedantic@lemmy.ca
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 hours ago

              I guess.

              It still smells like an apologist argument to be like “yeah but using it doesn’t actually use a lot of power”.

              I’m actually not really sure I believe that argument either, through. I’m pretty sure that inference is hella expensive. When people talk about training, they don’t talk about the cost to train on a single input, they talk about the cost for the entire training. So why are we talking about the cost to infer on a single input?
              What’s the cost of running training, per hour? What’s the cost of inference, per hour, on a similarly sized inference farm, running at maximum capacity?

              • jsomae@lemmy.ml
                link
                fedilink
                English
                arrow-up
                1
                ·
                4 hours ago

                Maybe you should stop smelling text and try reading it instead. :P

                Running an LLM in deployment can be done locally on one’s machine, on a single GPU, and in this case is like playing a video game for under a minute. OpenAI models are larger than by a factor of 10 or more, so it’s maybe like playing a video game for 15 minutes (obviously varies based on the response to the query.)

                It makes sense to measure deployment usage marginally based on its queries for the same reason it makes sense to measure the environmental impact of a car in terms of hours or miles driven. There’s no natural way to do this for training though. You could divide training by the number of queries, to amortize it across its actual usage, which would make it seem significantly cheaper, but it comes with the unintuitive property that this amortization weight goes down as more queries are made, so it’s unclear exactly how much of the cost of training should be assigned to a given query. It might make more sense to talk in terms of expected number of total queries during the lifetime deployment of a model.

    • FooBarrington@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      arrow-down
      1
      ·
      13 hours ago

      It’s closer to running 8 high-end video games at once. Sure, from a scale perspective it’s further removed from training, but it’s still fairly expensive.

      • brucethemoose@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        9 hours ago

        Not at all. Not even close.

        Image generation is usually batched and takes seconds, so 700W (a single H100 SXM) for a few seconds for a batch of a few images to multiple users. Maybe more for the absolute biggest (but SFW, no porn) models.

        LLM generation takes more VRAM, but is MUCH more compute-light. Typically one has banks of 8 GPUs in multiple servers serving many, many users at once. Even my lowly RTX 3090 can serve 8+ users in parallel with TabbyAPI (and modestly sized model) before becoming more compute bound.

        So in a nutshell, imagegen (on an 80GB H100) is probably more like 1/4-1/8 of a video game at once (not 8 at once), and only for a few seconds.

        Text generation is similarly efficient, if not more. Responses take longer (many seconds, except on special hardware like Cerebras CS-2s), but it parallelized over dozens of users per GPU.


        This is excluding more specialized hardware like Google’s TPUs, Huawei NPUs, Cerebras CS-2s and so on. These are clocked far more efficiently than Nvidia/AMD GPUs.


        …The worst are probably video generation models. These are extremely compute intense and take a long time (at the moment), so you are burning like a few minutes of gaming time per output.

        ollama/sd-web-ui are terrible analogs for all this because they are single user, and relatively unoptimized.

      • jsomae@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        3
        ·
        13 hours ago

        really depends. You can locally host an LLM on a typical gaming computer.

        • FooBarrington@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          arrow-down
          1
          ·
          12 hours ago

          You can, but that’s not the kind of LLM the meme is talking about. It’s about the big LLMs hosted by large companies.

        • floquant@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          12 hours ago

          True, and that’s how everyone who is able should use AI, but OpenAI’s models are in the trillion parameter range. That’s 2-3 orders of magnitude more than what you can reasonably run yourself

          • jsomae@lemmy.ml
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            4
            ·
            edit-2
            12 hours ago

            This is still orders of magnitude less than what it takes to run an EV, which are an eco-friendly form of carbrained transportation. Especially if you live in an area where the power source is renewable. On that note, it looks to me like AI is finally going to be the impetus to get the U.S. to invest in and switch to nuclear power – isn’t that altogether a good thing for the environment?

        • Thorry84@feddit.nl
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          12 hours ago

          Well that’s sort of half right. Yes you can run the smaller models locally, but usually it’s the bigger models that we want to use. It would also be very slow on a typical gaming computer and even a high end gaming computer. To make it go faster not only is the hardware used in datacenters more optimised for the task, it’s also a lot faster. This is both a speed increase per unit as well as more units being used than you would normally find in a gaming PC.

          Now these things aren’t magic, the basic technology is the same, so where does the speed come from? The answer is raw power, these things run insane amounts of power through them, with specialised cooling systems to keep them cool. This comes at the cost of efficiency.

          So whilst running a model is much cheaper compared to training a model, it is far from free. And whilst you can run a smaller model on your home PC, it isn’t directly comparable to how it’s used in the datacenter. So the use of AI is still very power hungry, even when not counting the training.

        • CheeseNoodle@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          12 hours ago

          Yeh but those local models are usually pretty underpowered compared to the ones that run via online services, and are still more demanding than any game.

        • FooBarrington@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          11 hours ago

          I compared the TDP of an average high-end graphics card with the GPUs required to run big LLMs. Do you disagree?

            • FooBarrington@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              10 hours ago

              They are, it’d be uneconomical not to use them fully the whole time. Look up how batching works.

              • Jakeroxs@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                2
                ·
                edit-2
                10 hours ago

                I mean I literally run a local LLM, while the model sits in memory it’s really not using up a crazy amount of resources, I should hook up something to actually measure exactly how much it’s pulling vs just looking at htop/atop and guesstimating based on load TBF.

                Vs when I play a game and the fans start blaring and it heats up and you can clearly see the usage increasing across various metrics

                • PeriodicallyPedantic@lemmy.ca
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  10 hours ago

                  He isn’t talking about locally, he is talking about what it takes for the AI providers to provide the AI.

                  To say “it takes more energy during training” entirely depends on the load put on the inference servers, and the size of the inference server farm.

                  • Jakeroxs@sh.itjust.works
                    link
                    fedilink
                    English
                    arrow-up
                    3
                    ·
                    9 hours ago

                    There’s no functional difference aside from usage and scale, which is my point.

                    I find it interesting that the only actual energy calculations I see from researchers is the training and the things going along with the training, rather then the usage per actual request after training.

                    People then conflate training energy costs to normal usage cost without data to back it up. I don’t have the data either but I do have what I can do/see on my side.

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

                  One user vs a public service is apples to oranges and it’s actually hilarious you’re so willing to compare them.

                  • Jakeroxs@sh.itjust.works
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    9 hours ago

                    It’s literally the same thing, the obvious difference is how much usage it’s getting at a time per gpu, but everyone seems to assume all these data centers are running at full load at all times for some reason?

                • FooBarrington@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  arrow-down
                  1
                  ·
                  10 hours ago

                  My guy, we’re not talking about just leaving a model loaded, we’re talking about actual usage in a cloud setting with far more GPUs and users involved.

      • jsomae@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        13 hours ago

        there is so much rage today. why don’t we uh, destroy them with facts and logic

        • Jakeroxs@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          13 hours ago

          Hahaha at this point even facts and logic is a rage inducing argument. “My facts” vs “Your facts”