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.
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
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.
"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
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?
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
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)
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
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)
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
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
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.
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?
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.
“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.
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".
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!
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.
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
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.
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
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.
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
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.
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)
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
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?
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
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
955
u/GobiPLX 18d ago •
"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]
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.
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?
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.
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
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
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?
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?
2
u/narasadow 18d ago
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.
-2
u/punninglinguist 18d ago
Also, we pronounce them "goo-poos".