VOGONS


First post, by ElectroSoldier

User metadata
Rank Oldbie
Rank
Oldbie

Given how an inference model stresses a GPU so much more than any game does how when will site like this start using them to benchmark PCs you think?
Im thinking MLPerf Inference, HuggingFace Optimum etc

Reply 1 of 10, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++

The thing about benchmarks is that they have to be scripted.

Run the same query on a inference model multiple times and the results will vary and thus the load on the system will not be perfectly predictable.

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 2 of 10, by ElectroSoldier

User metadata
Rank Oldbie
Rank
Oldbie
cyclone3d wrote on 2026-08-05, 20:48:

The thing about benchmarks is that they have to be scripted.

Run the same query on a inference model multiple times and the results will vary and thus the load on the system will not be perfectly predictable.

Thats why you use a Benchmark with a predictable outcome, just like game benchmarks do. Which is why I asked.

Reply 3 of 10, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++

How are you going to make it have the same exact outcome every time though?

Inference means it infers things from the data it is fed.

I won't necessarily always come to the same conclusion or go through the same exact steps.

If it does, then it is not inference anymore.

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 4 of 10, by ElectroSoldier

User metadata
Rank Oldbie
Rank
Oldbie

Thats like saying you cant benchmark a game because in the game world you never get the exact same frame twice!

You can benchmark things like tokens per second, batch performance, memory efficiency, parallel requests, context window, VRAM usuage, model load times,

Reply 5 of 10, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++

The game benchmarks use scripted runs... Aka, the frames should be exactly the same every single run.

Yes, you could test those things, but how is that actually benching, in a repeatable way, the inference model itself? If the model takes different paths to come to a result, the speed at which it completes that exact prompt that was used for the bench, the time to completion may be wildly different from run to run.

And what if you have a mixed CPU and GPU setup where things can spill over to another asset if one or more run out of resources. If the RAM usage is different between runs, the assets used could also be different thus affecting the benchmark scores.

At the very least, you would need to take an average over many runs with th same exact prompt and any acquired "training" resulting from the prompt being run, erased between runs.

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 6 of 10, by ratfink

User metadata
Rank Oldbie
Rank
Oldbie

Maybe a shorter answer is "when that sort of benchmarking has some relevance to what the site is about".

Reply 7 of 10, by ElectroSoldier

User metadata
Rank Oldbie
Rank
Oldbie
cyclone3d wrote on 2026-08-06, 04:26:
The game benchmarks use scripted runs... Aka, the frames should be exactly the same every single run. […]
Show full quote

The game benchmarks use scripted runs... Aka, the frames should be exactly the same every single run.

Yes, you could test those things, but how is that actually benching, in a repeatable way, the inference model itself? If the model takes different paths to come to a result, the speed at which it completes that exact prompt that was used for the bench, the time to completion may be wildly different from run to run.

And what if you have a mixed CPU and GPU setup where things can spill over to another asset if one or more run out of resources. If the RAM usage is different between runs, the assets used could also be different thus affecting the benchmark scores.

At the very least, you would need to take an average over many runs with th same exact prompt and any acquired "training" resulting from the prompt being run, erased between runs.

I don't know where to start on this one.

An inference model is already trained, that part is finished. When you run it locally, you’re not training anything, you’re just doing a forward pass through fixed weights. Nothing inside the model changes between runs.

If you have a mixed CPU/GPU setup because the GPU can’t hold the whole model, then that’s simply the hardware configuration you’re benchmarking. It doesn’t “test the card differently” depending on the output. The workload per token is identical.

An inference model isn’t like a game engine. Games have to process the same sequence of frames to make a benchmark meaningful, because the amount of work changes depending on what’s on screen. LLMs don’t work that way.

With an inference model, whether it’s text to image, image to image, or an LLM writing a 10 page fantasy in the style of Poe the content of the output might change, but the amount of computation per token does not. A image of a zebra or an ocean doesn’t change the math. A different sentence doesn’t change the math. The model always performs the same operations for each token.

So even if the output varies, the computational workload is the same, which is why tokens per second is a valid and repeatable benchmark.

ratfink wrote on 2026-08-06, 05:02:

Maybe a shorter answer is "when that sort of benchmarking has some relevance to what the site is about".

Oh I'm very sorry... Next time I'll be sure to make sure it's about games and nothing but. But just for you!
For now in this thread maybe we can talk about benchmarking for inference models as they stress GPUs much much more than games do to the point where many GPUs that are still considered current for games played today are pitifully underpowered when considering an inference model.

Reply 8 of 10, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++

Ok, looking up stuff more, it is possible to have a model get trained by the input prompts, but is not normally done.

After a bit of back and forth, this is what ChatGPT output for a list of best practices for benching inference and I learned some things along the way.

Best practices for benchmarking LLM inference

1. Define what you are testing

Run separate tests for:

Cold start: model load through completed response

Warm inference: model already loaded, fresh request state

Prompt-cached inference: repeated prefix caching enabled

Sustained throughput: continuous requests over a longer period


For most practical comparisons, warm inference with a fresh KV cache is the most useful test.

2. Keep the test conditions fixed

Use the same:

Model and quantization

Inference software and version

Prompt and system prompt

Context length

Maximum generated-token count

Sampling settings

Hardware power and performance settings

Number of simultaneous requests

Speculative-decoding configuration


Use deterministic decoding where possible, such as greedy decoding or temperature 0.

3. Control caching correctly

For a standard warm-inference benchmark:

Keep the model loaded

Perform several warm-up runs first

Start each measured request with a fresh KV cache

Disable prompt or prefix caching

Disable response caching

Do not flush the operating-system disk cache

Do not unload and reload the model between runs

Show last 142 lines
Do not clear the GPU allocator cache between every run unless that is specifically what you are testing


For a cold-start benchmark, restart the inference process before every measured run.

4. Control output length

Output length strongly affects total time.

Best options:

Force the same number of generated tokens

Use a prompt unlikely to produce an early stop

Disable early stopping or stop strings when possible

Record the actual generated-token count for every run


Do not compare total completion times when the models generate substantially different numbers of tokens.

5. Warm up before measuring

Before collecting results:

Load the model

Run the exact workload several times

Allow kernels, memory allocations, and GPU clocks to stabilize

Exclude warm-up runs from the results


6. Measure the right metrics

Record:

Time to first token

Prompt-processing speed, in input tokens per second

Generation speed, in output tokens per second

End-to-end latency

Actual input and output token counts

Peak memory usage

Power consumption, when efficiency matters


For concurrent testing, also measure total system throughput and latency percentiles.

7. Run enough repetitions

Use at least:

3–5 warm-up runs

10 or more measured runs

More runs when results vary noticeably


Report:

Median

Mean

Minimum and maximum

Standard deviation or percentile spread


The median is generally more useful than reporting the fastest run.

8. Keep the system stable

During testing:

Stop unnecessary workloads

Use a consistent power profile

Avoid thermal throttling

Monitor GPU temperature, clocks, power, and utilization

Keep CPU affinity and thread counts consistent

Keep the same NUMA configuration

Avoid changing GPU offload or batch settings between comparisons


9. Test realistic prompt sizes

Benchmark several workloads rather than one tiny prompt:

Short prompt, short response

Long prompt, short response

Short prompt, long response

Long prompt, long response


This separates prompt-processing performance from token-generation performance.

Recommended default procedure

1. Load the model once.


2. Disable response and prefix caching.


3. Use a fresh KV cache for every request.


4. Fix the prompt, context, sampling settings, and generated-token count.


5. Run five unmeasured warm-up requests.


6. Run at least ten measured requests.


7. Record time to first token, prompt speed, generation speed, and total latency.


8. Report the median and variation.


9. Test cold-start and cached-prefix performance separately.
[\code]

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 9 of 10, by ratfink

User metadata
Rank Oldbie
Rank
Oldbie
ElectroSoldier wrote on 2026-08-06, 06:11:
ratfink wrote on 2026-08-06, 05:02:

Maybe a shorter answer is "when that sort of benchmarking has some relevance to what the site is about".

Oh I'm very sorry... Next time I'll be sure to make sure it's about games and nothing but. But just for you!
For now in this thread maybe we can talk about benchmarking for inference models as they stress GPUs much much more than games do to the point where many GPUs that are still considered current for games played today are pitifully underpowered when considering an inference model.

I answered your question, what IS your problem?

Reply 10 of 10, by ElectroSoldier

User metadata
Rank Oldbie
Rank
Oldbie
ratfink wrote on 2026-08-06, 08:43:
ElectroSoldier wrote on 2026-08-06, 06:11:
ratfink wrote on 2026-08-06, 05:02:

Maybe a shorter answer is "when that sort of benchmarking has some relevance to what the site is about".

Oh I'm very sorry... Next time I'll be sure to make sure it's about games and nothing but. But just for you!
For now in this thread maybe we can talk about benchmarking for inference models as they stress GPUs much much more than games do to the point where many GPUs that are still considered current for games played today are pitifully underpowered when considering an inference model.

I answered your question, what IS your problem?

But we talk about a lot more than just Very Old Games On New Systems on this site.
Your answer makes it sound like any talk other than that isnt wanted.