Didier Stevens

Tuesday 8 October 2024

Quickpost: The Electric Energy Consumption Of LLMs – No GPU

Filed under: Quickpost — Didier Stevens @ 0:00

A friend asked me if I had used a GPU for my tests described in blog post “Quickpost: The Electric Energy Consumption Of LLMs”. Because he had tried running an LLM on a machine without GPU, and it was too slow.

I did a quick test, just redoing previous test but without GPU (by setting environment variable CUDA_VISIBLE_DEVICES=-1).

Answering my query took 17 seconds, and required 1.13 Wh (again, for the whole PC).


Quickpost info

2 Comments »

  1. What device are you using to measure wattage for the LLM, etc?

    It would be nice if it’s a cmd line but if it’s a device; where would someone get that? 

    Thank you for the post; great info!

    Comment by Anonymous — Saturday 12 October 2024 @ 15:05

  2. You can’t do this from the command line, I use a specialized powermeter: a GW Instek GPM-8310.

    Comment by Didier Stevens — Tuesday 15 October 2024 @ 16:30


RSS feed for comments on this post. TrackBack URI

Leave a Reply (comments are moderated)

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.