r/ProgrammerHumor • • 18d ago

Meme justUseMoreGPUsBro

Post image
4.8k Upvotes

129 comments sorted by

183

u/BlueScreenSwaps 18d ago

Its not RAM after all

980

u/Fantastic-Bloop 18d ago

It's funny cause it's true which is sad so now idk how to feel lmao

175

u/mflft 18d ago

Its so stupid because hes just optimizing his code. Even if they want to max out their resource usage just for the hell of it, it would still be better to run efficient code. Every tenet of good programming has been thrown out the window by these morons.

52

u/iKaei 18d ago

The issue is, generally in corporates, that optimizations do not pay, the new features do that’s why you always have to balance managements requests with your own wants for the product. That’s the sad truth

22

u/DuncanFisher69 18d ago

This and if the time factor of all that tweaking ends up costing more in programmer-hours vs. GPU time, especially if said framework has to be re-built for a different model or benchmarks six months from now.

2

u/mflft 17d ago

That makes sense

1

u/SchwiftySquanchC137 18d ago

I mean, hes joking, right? I cant imagine any real person asking to make code less efficient for absolutely no reason.

22

u/sweatierorc 18d ago

AI is gonna make it use less GPUs. RSI in 6 months

17

u/SarahIsBoring 18d ago

6 months away every 6 month

5

u/sweatierorc 18d ago

Streets remember when AI was always 20 years away.

14

u/SilasTalbot 18d ago

You gotta spend TFLOPS to make TFLOPS

1

u/gerbosan 17d ago

Goes against Ram Altman's wishes. Bring all that unused RAM and GPUs for our AI overlords.

955

u/GobiPLX 18d ago • Bravo

"An intern said he was optimising 3d models to use less polygons and save gpu power.
Told him this is Bethesda, just use more polygons" - Todd Howard, pre Starfield release

Reference: [link]

129

u/NotAFishEnt 18d ago

Dumb question. How hard is it to optimize the polygon count in a model like that sandwich? Surely there's a tool that can easily optimize it for you, right?

105

u/FartPiano 18d ago

absolutely. there are ones that can do it automatically, even dynamically based on how strained the client pc is, or how far away you are from the 3d model. sometimes games use a few set detail levels, with artists manually nitpicking the algorithmic vertex reduction if it looks weird

18

u/Psquare_J_420 18d ago

Are the games still laggy even after using these technologies and techniques or developers don't use those and that's why the games are laggy (why though? I)

38

u/FartPiano 18d ago

very much "it depends". games are made in a huge variety of ways. what makes a game laggy can come down to a lot of stuff. polygon count is just one thing that adds to the "overhead" of calculations that must be done for each frame. there are many other things that can become bottlenecks depending on the specific game and implementation. for example physics, hair, particle effects, shadows, lighting, shaders, raytracing etc etc

4

u/GobiPLX 17d ago

It shouldn't, maybe marginally. BUT storing such models still takes up more space on disc + makes loading of game longer, can cause some stutters when loading model on a go/calculating LOD levels etc. It's just wasteful to ship them.

People say that this model was used only in inventory, not in open world, so it shouldn't lag this much. But even in inventory, it's wasteful to have such detailed model. You would need to zoom like 100x times to see any difference (which is not happening of in game)

Also, bonus: 126 720 triangles for SIMPLE BOX. It uses a lot of triangles on flat surfaces which is crazy waste

Only this sandwich shouldn't cause game to be laggy. BUT:

Now imagine hundreds of such models and other questionable optimisation methods (because if they don't care about such simple thing, they also probably don't care about other aspects).
It adds up...
It adds up to Todd Howard saying "Players may need to upgrade PC for this game"
https://www.youtube.com/watch?v=RwD2492K9pc

8

u/T0biasCZE 18d ago

depends on how it will be used. whether it will be just something in the background placed somewhere, or in focus as part of cutscene...

as a background thing you could propable do with just like 50 polygons and some photo textures.
just two rectangles for the toast bread, few more rectangles for the cheese, ham, lettuce... slap textures with that thing on them, and voila, sandwich

21

u/bobert4343 18d ago

But did they have The Toothbrush

41

u/bartekltg 18d ago

He phrase that wrong. "optimize code to run more stuff on our GPUs to earn more money". That they would have understood.

30

u/ToucansBANG 18d ago

I once got to sit through an hour long meeting to debate the ecological impact of running CI on commits pushed to branches, instead of only MRs.

13

u/Cualkiera67 18d ago

get a cardboard cutout of yourself, it's a real time saver

1

u/prochac 13d ago

In a air-conditioned room :D If EU wants to win the green deal, it should make work from home mandatory (whenever possible). I already do have a heating there.

0

u/nolan_999 18d ago

Is that bad?

14

u/ToucansBANG 18d ago

It was in this case. The person who called the meeting came with zero data, only threats to commit less often.

7

u/Wollzy 18d ago

Lol if they were concerned wouldnt they just push less often but still commit frequently?

1

u/tasos_lydia4 10d ago

Yes, if CI runs on pushes: local commits don't trigger it, but batching pushes trades fewer runs for slower feedback.

80

u/tochanenko 18d ago

European intern: I wanna optimize this code so it would require less energy to run, thus lowering the amount of CO2 emitted by power plants that produce electricity for our hardware

American dev: Why do you care bro, we have AC, we have clean water from the tap, what can go wrong in the future?

9

u/Cualkiera67 18d ago

wtf is "the future"???

268

u/Groentekroket 18d ago

Meanwhile Europe needs to deal with the adverse heat effects. The US is (except from some small (mostly oil) nations) emiting the most CO2 per capita. 

154

u/Noname_1111 18d ago

The US needs to be introduced to the wonders of datacenter-powered district heating.

63

u/arunphilip 18d ago

"Our heating"? Sounds like Commie shit.

/s

26

u/LetumComplexo 18d ago

Waaaaait a minute… this is just frostpunk before we get to the cannibalism part isn’t it.

12

u/AwkwardMacaron433 18d ago

Someone think of the poor oil and gas companies

23

u/TheRedLions 18d ago edited 18d ago

Not that it materially disproves anything you said, but for anyone else who's curious the 2026 CO2 (edit: per capita) rankings:

  • Qatar: 35.60 t
  • Bahrain: 25.70 t
  • Kuwait: 24.90 t
  • Trinidad and Tobago: 23.50 t
  • United Arab Emirates: 21.80 t
  • Brunei: 21.40 t
  • Saudi Arabia: 18.20 t
  • Australia: 15.00 t
  • United States: 14.90 t
  • Canada: 14.30 t

https://www.worldcountrydata.com/en/rankings/co2-per-capita

For totals it's different

  • China 33.1%
  • United States 11.7%
  • India 8.0%
  • Russia 5.1%
  • Japan 2.5%

https://www.theglobalstatistics.com/carbon-emissions-by-country/

-36

u/EverydayLentils 18d ago

We might take them seriously if they allowed people to have air conditioning. "Our people are dying of heat stroke because of high temperatures" is completely unrelatable to Americans who keep indoor temps 68F at home and in public when it's 100F outside.

32

u/Groentekroket 18d ago

“If they allowed people to have air conditioning”, buddy what are you on about? Do you think it’s illegal to have airco?

I don’t need an airco, I have a heatpump with floorheating warming in the winter and cooling in the summer. And it is using way less power than an airco. 

9

u/EnoughWarning666 18d ago

I don't know if this is a regional thing, but in Canada (and I assume the US) we don't make any real distinction between an air conditioner and a heat pump. If it spits out cold air, it's an air conditioner.

My parents got a new park model recently and it has a heat pump in it. In the summer we still say "Turn on the AC, it's too hot in here".

3

u/vwert 17d ago

I'm just gonna point out that a heat pump is literally an air conditioner, it's the same mechanics just with a few extra valves to run in reverse too.

17

u/BreakElectronic324 18d ago edited 18d ago

Apart from what the other commenter said, you realize that the problem is a bit bigger than "it's so hot I can't sleep".

Animals and nature is dying because of that shit. You cannot give them aircon, can you?

118

u/dont_tread_on_M 18d ago

"Gas prices are up, my life is ruined" - words you only hear in the US from people driving large trucks with inefficient engines

68

u/4n0nh4x0r 18d ago

while having cheaper gas prices than the rest of world

41

u/lacb1 18d ago

Pay half as much for fuel, burn 4x more per mile because a chud convinced you that if you don't drive a pickup truck large enough to haul an entire farm on your daily commute to your office it means your dick is small. Freedom baby!

5

u/annonimity2 18d ago

No one is putting a gun to our head and making people buy f150's

16

u/e_before_i 18d ago

Yet it's the most popular car in America. You don't need a pickup for Costco.

There's a weird North American culture that leads to people buying large and high-consuming vehicles when most people would do just fine with a sedan.

Edit: And if that's what you like, go ahead! I don't want to tell you how to live your life, it just strikes me as odd to complain about the cost of gas while choosing to burn more than necessary.

-15

u/balrog687 18d ago

Yeah.. thanks to genocide.

You should be very proud

4

u/KeyPhilosopher8629 18d ago

Is everything you don't like genocide? Most overused word on the Internet. Massively dilutes its actual meaning

2

u/Nyctfall 18d ago

By UN definition, most wars right now are covered by that definition...

2

u/balrog687 18d ago

Is there any another word to justify killing millions to to keep gas prices low enough just for you to enjoy your car?

2

u/KeyPhilosopher8629 18d ago

I don't have a car lol. I take public transport everywhere

1

u/4n0nh4x0r 18d ago

why should i be proud for the US having the cheapest gas in the world? i ve got nothing to do with them lol, except that they are fucking over the entire world, and as such, my country included

11

u/lupercalpainting 18d ago

> "Gas prices are up, my life is ruined"

The entire EU when being told to stop buying Russian gas.

12

u/StCreed 18d ago

Only the factions that like Putin are complaining, helpfully prodded to do so by US ambassadors.

4

u/Past_Baker9553 18d ago

The EU largely has stopped using Russian oil and gas. They have also pledged to not purchase Russian oil or gas after a peace deal is signed...

What are you on about?

2

u/Extension-Weird-7784 17d ago

We did not, just buy it through a third party, instead of directly.

-1

u/lupercalpainting 18d ago

largely has stopped

This is another way to phrase, "Has not stopped."

3

u/FinancialTrade8197 17d ago

It's also a way to say they are using less Russian gas.

1

u/Clairifyed 18d ago

You can drive lighter cars, but you can’t make far northern winters less cold

2

u/vwert 17d ago

Build more renewables and nuclear power.

0

u/Clairifyed 17d ago

Sure, doesn't mean it's easy enough to do to be a valid comparison for the whataboutism.

2

u/bhison 17d ago

but you can promote sleeping in piles of humans via a radical cultural manipulation effort to normalise polyamory

1

u/Clairifyed 17d ago

I mean go for it. Works for me 🤷‍♀️

Threaten me with a high trust, highly social society reform will you

1

u/lupercalpainting 18d ago

Simply pay more for non-Russian gas.

0

u/Clairifyed 18d ago

I agree that nothing should be bought from Russia, you're just comparing the scope of the issues like they are equal and they are not.

1

u/lupercalpainting 18d ago

“Gas prices are up, my life is ruined” looking ass

0

u/Clairifyed 18d ago

You're trying to say these situations look equally valid to complain about? because replacing home infrastructure is not a small feat.

1

u/lupercalpainting 17d ago

How does simply paying more require replacing home infrastructure?

-2

u/Clairifyed 17d ago

The original comment is about Americans whinging about gas prices specifically because of the self inflicted nature of owning a large car. Your whataboutism was that Europeans complain as well. In both situations the higher price is the given.

In the American's position, the implied solution to higher prices of fuel would be to switch to a lighter more efficient car. My point was that Europe's problem is that a lot of fuel goes to home heating, and the equivalent "lower what you are paying for fuel under the increased price tag" solution is to get a house that is better at efficient heating with less fuel (more insulation, heat pumps, renewable powered electric, geothermal, etc).

The European's solution is a much harder thing to do, individually you could move, but everyone around you is also in the same position so someone has to actually upgrade existing homes and regional power generation.

0

u/lupercalpainting 17d ago

That’s a lot of words just to say, “Gas prices are up, my life is ending”

→ More replies

-1

u/Pijany_Matematyk767 17d ago

In the same way that you can make more efficient cars, you can also make more efficient heating systems

1

u/Clairifyed 17d ago

Am I supposed to object to that? The thing is more efficient cars already exist and can be produced without expensive retrofits. More efficient heating requires retrofits or even demolition and rebuilding

-1

u/JackNotOLantern 18d ago

I think Russia itself banned "unfriendly" countries from buying their gas

5

u/teh_lynx 18d ago

Never hear that from truck drivers. It's everyone else.

1

u/ProfessionalDegen23 17d ago

Yeah because the truck drivers know everyone else is gonna bully them if they complain

2

u/overdosingOnPie1313 18d ago

You just don't understand! How will I hide the fact of my micropenis without a really big truck and some guns?!

1

u/Got2Bfree 18d ago

I hear this everyday here in Germany while our government is gifting millions to oil companies by lowering the gas taxes...

The baseline doesn't really matter. Paying 50% more than before sucks.

1

u/djfried 16d ago

Gas prices increase the price of ALL goods not just fuel itself.

0

u/KiwasiGames 17d ago

Nope. The same is true across the world. Efficient vehicles don’t make you immune to price rises.

5

u/dont_tread_on_M 17d ago

Efficient engines don't make you immune but the US is a lot more dependent on fossil fuels than the rest of the developed world.

This is of course partially because the US are rich in fossil fuels themselves, but also because of political factors.

3

u/bhison 17d ago

Are you aware someone who buys 1000 litres of oil a month vs someone who buys 100 litres of oil a month with have a greater sensitivity to a price change? I'm struggling to understand what point you're making.

6

u/UIDENTIFIED_STRANGER 17d ago

Does European supply chain not rely on long haul trucks or something?

1

u/Lead103 17d ago

Kinda but our long haul trucks are more efficient and also a shit ton is done by track an boat 

1

u/djfried 16d ago

US rail system is a actually pretty dang good for freight just not passengers.

1

u/Lead103 16d ago

So why we talking avbout long haul trucking?

1

u/djfried 16d ago

You mentioned track and boat?

1

u/KiwasiGames 17d ago

My point is “words you only hear in the US” is complete BS.

1

u/Global-Tune5539 17d ago

but more resistant

16

u/sloppity 18d ago edited 18d ago

Reminds me of that reserved German soldier training with Americans:

"It's a machine gun!" https://youtube.com/shorts/vqNWuIxAV0w

8

u/Prinz_Morbo 17d ago

Haha, my old teacher was formerly in the artillery division in germany.

He once told us a story that in training with us-soldiers, that they did not have any regards on saving ammo.

The amount of shells they used for ranging the artillery was the amount the germans used for the whole training.

7

u/rintzscar 17d ago

Best comment there:

Germans: It’s taxpayer money
US: We know

3

u/fibojoly 18d ago

OK but this is actually funny :)
MORE DAKKA!

64

u/MettMachine 18d ago

Seeing performance increase, even if just a tiny bit, always gives me a weird amount of satisfaction over doing a teeny tiny bit of good for the environment

4

u/tugoubxs 18d ago

That guy should just join Deepseek?

2

u/Random_182f2565 18d ago

Would be a better fit

7

u/casualgoodness 18d ago

Someone call the fire department, we need more water!

7

u/speedster217 18d ago

When I joined the industry coworkers laughed at environmental concerns.

They're still laughing and even normal people have picked up that climate change is happening. What a weird long summer 

3

u/JocoLabs 18d ago

Brought to you by Nvidia

3

u/Ryaniseplin 18d ago

maximizing inefficiency

5

u/JoeyJoeJoeSenior 18d ago

I've got 2 extra cars and every day I start them and let them run idle all day.  Proud to be an American.

4

u/nimag42 18d ago

I mean, what about gpu's cost ? Dont american want to save on money ?

4

u/meerkat2018 18d ago

Here in Murica we use gasoline powered 7 liter V8 GPUs.

2

u/misunderstood_kafka 18d ago

Americans: I missed the part where that's my problem

2

u/YakumoYamato 18d ago

remind me of that video

"It's a machine gun!" -American to European

2

u/Swarrlly 17d ago

My dyslexic Ameri-brain read that last line as “just use more guns”.

2

u/TerminalJammer 16d ago

I heard you were running out of GPUs in America though?

1

u/583999393 18d ago

If snotboogie is always using up the gpus why let him code?

Got to, this is America man.

1

u/Count_de_Ville 18d ago

Strong scaling vs weak scaling.

1

u/bhison 17d ago

muh gpus

1

u/Ange1ofD4rkness 17d ago

But did he optimize the code using AI? Using more energy? Or was he exceeding his own energy required?

1

u/DavidBrooker 17d ago

I've heard something like this about why the US doesn't fit its F-16s with conformal fuel tanks (even though they developed the things, and sell a majority of its modern exports with the fuel tanks). If they're short on fuel, they can always put out more tankers. If they're short on hard-points, they can always put out more fighters.

-1

u/ridicalis 18d ago

Anyone else reading "gpus" as "g pus"?

-7

u/cheezballs 18d ago

"use fewer GPUs" as if that's even a metric someone could measure.

9

u/Mojert 18d ago

If you can't measure it, you're bad at the job

-2

u/cheezballs 18d ago

How do you measure how many GPUs 2000 tokens amounts to?

7

u/Mojert 18d ago

You measure GPU time. If it's reduced enough, it means you can scale down the number of GPUs while having the same Wall Clock time. And by the way your question is ill-paused. You can always do it with 0 GPUs since you didn't include a Wall Clock time budget

It's not like I'm pulling stuff out of my ass. This kind of consideration is pretty standard if you're dealing with HPC and have to care about costs (i.e. aren't VC funded)

1

u/cheezballs 17d ago

.... Yea ok but how do I measure "GPUs" when I'm using Claude code or whatever that isn't my own hardware?

2

u/Mojert 17d ago

You can't because you do not have enough information to compute this. Also the post isn't about how much GPUs are in use when you query your LLM of choice, it's about writing efficient GPU code

1

u/cheezballs 17d ago

What is "GPU code" at this level. Genuinely asking. How do you "target fewer GPUs" - obviously if this isn't game code or LLM then what thell are we talking about?

1

u/Mojert 17d ago

GPU code is anything that can run on a GPU but often is cuda code. Cuda basically is a dialect of C++ where you can mark functions as running on the GPU and can call theses functions. Its main use is compute heavy applications that can be benefit from parallelism

As for targeting less GPUs I already told you the answer in a previous comment. It simply means optimizing your code enough that you can run it in a comparable wall clock time but without having to use as many GPUs

LLMs aren't the only task that is highly parallel and/or is about lots and lots of matrix multiplication. Nvidia develops libraries to make GPUs useful and easy to use for more and more applications. Quite a lot of High Performance Computing (HPC) can make use of GPUs. Applications include scientific / engineering simulations or quantitative trading. Actually that space has been doing massively parallel computation since decades before LLMs were a thing. Before GPUs were able to be as easily programmed as they are now, we already ran clusters of hundreds of machines networked together (if you've ever heard about "super computers", that's what they are). So it's not that surprising that they ended up using GPUs as well

If you want a more concrete example, my research group is working on the modeling of magnetism in molecules and we are looking at adapting our code so that it can use either GPUs or CPUs to do the compute. I know the lattice QCD (basically the theory of the strong nuclear force) community is using them as well

But at the end of the day, a GPU is simply an accelerator. Any application can make use of one if they need some compute done quickly and if that task is highly parallelizable

Bonus use of GPUs: Films in movie theaters are stored in an encrypted format. So the computer responsible for the projection has 2 GPUs. One is focused on decrypting the next frame while the other focuses on displaying it. Actually the DCP "file format" is kind of bonkers. It's a fun rabbit hole to fall into

-2

u/punninglinguist 18d ago

Also, we pronounce them "goo-poos".