this post was submitted on 01 Dec 2023
114 points (82.8% liked)

Technology

59446 readers
4651 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
all 17 comments
sorted by: hot top controversial new old
[–] Zarxrax@lemmy.world 72 points 11 months ago* (last edited 11 months ago) (1 children)

No shit that using your PC for any purpose will consume electricity. A modern GPU can generate an image in a couple of seconds. Or I could just play a video game for an hour, and consume a few thousand times more energy

[–] Even_Adder@lemmy.dbzer0.com 16 points 11 months ago

Yeah, I can't imagine it's that different from playing a demanding game. I hear my video card fans spin up harder and sustain that speed for the duration of a play session.

[–] greater_potater@lemmy.world 29 points 11 months ago (1 children)

Wait so then does playing a game that maxes out my GPU for two hours use enough power to charge 1000 smartphones?

Because that's a lot.

[–] DreadPotato@sopuli.xyz 44 points 11 months ago (2 children)

A high(er) end smartphone has a battery capacity of approx. 0.019kWh (5000mAh), a gtx3080 has a max power draw of 320W so running that (at max load) for two hours is 0.64kWh, which is equivalent to fully charging ~34 smartphones.

[–] Cocodapuf@lemmy.world 11 points 11 months ago

Thanks for actually doing the math.

[–] jdaxe@infosec.pub 4 points 11 months ago* (last edited 11 months ago)

So the headline must be false, since you can generate a lot more than 34 generative AI images on a 3080 in 2 hours. That's if you just include inference though.

I wonder if they are somehow trying to factor in the training costs.

[–] kelvie@lemmy.ca 21 points 11 months ago* (last edited 11 months ago) (1 children)

While it is good to be cognizant of this, playing AAA games for the same amount of time as the inference (a few seconds ?) is the same as this, right? Since they use the same GPU on consumer hardware.

[–] Cyclist@lemmy.world 18 points 11 months ago (1 children)

Take away all those extra fingers and hands to save energy.

[–] Even_Adder@lemmy.dbzer0.com 4 points 11 months ago (1 children)
[–] DABDA@lemmy.world 2 points 11 months ago

I was totally expecting a link to Handi-off (SNL is vigilant about copyright claims on other platforms, sorry for NBC link)

[–] bioemerl@kbin.social 17 points 11 months ago* (last edited 11 months ago) (2 children)

This is outdated in a big way with stable diffusion turbo and the recent LCM models that can render images at 30fps on a 3090.

360w * 1s /60 seconds a minute / 60 minutes an hour = .1 wh/image

30 images a second? .033 wh

A phone battery is 3000 mah * 3.5volts = 10.5 wh

318 images per phone charge

My math is probably off, but you get the idea.

load more comments (2 replies)
[–] raptir@lemdro.id 6 points 11 months ago

It's probably a net savings over a digital artist creating images given the speed. Just powering your monitor for so much longer is going to take more power.

[–] autotldr@lemmings.world 3 points 11 months ago

This is the best summary I could come up with:


Their work, which is yet to be peer reviewed, shows that while training massive AI models is incredibly energy intensive, it’s only one part of the puzzle.

For each of the tasks, such as text generation, Luccioni ran 1,000 prompts, and measured the energy used with a tool she developed called Code Carbon.

Generating 1,000 images with a powerful AI model, such as Stable Diffusion XL, is responsible for roughly as much carbon dioxide as driving the equivalent of 4.1 miles in an average gasoline-powered car.

AI startup Hugging Face has undertaken the tech sector’s first attempt to estimate the broader carbon footprint of a large language model.

The generative-AI boom has led big tech companies to  integrate powerful AI models into many different products, from email to word processing.

Luccioni tested different versions of Hugging Face’s multilingual AI model BLOOM to see how many uses would be needed to overtake training costs.


The original article contains 1,021 words, the summary contains 153 words. Saved 85%. I'm a bot and I'm open source!

[–] RobotToaster@mander.xyz 3 points 11 months ago

The referenced part of the paper, for those interested in the maths.

Text-based tasks are, all things considered, more energy-efficient than image-based tasks, with image classification requiring less energy (median of 0.0068 kWh for 1,000 inferences) than image generation (1.35 kWh) and, conversely, text generation (0.042 KwH) requiring more than text classification (0.0023 kWh). For comparison, charging the average smartphone requires 0.012 kWh of energy 4, which means that the most efficient text generation model uses as much energy as 16% of a full smartphone charge for 1,000 inferences, whereas the least efficient image generation model uses as much energy as 950 smartphone charges (11.49 kWh), or nearly 1 charge per image generation, although there is also a large variation between image generation models, depending on the size of image that they generate.