How slow is local AI on "cheap" hardware

Seriously, how bad can it be? I really want to know.
If I single slotted some 24GB Tesla M40s or something on this old PCIe3.0 board.
I want to be able to compare quantized models with unquantized, without it taking weeks.


Side note, I told it to stop with the narration shit, but it just didn’t. Also, this is one of those uncensored models.

You probably already know this, but the entire model has to be read through the processor (CPU or GPU) for every token. PCIe 3.0 might not be that bad if the model fits in the GPU VRAM AND the GPU has high VRAM bandwidth. The cheapest fast combo might be a legacy motherboard, RAM, and CPU with current gen GPU.

A P40 is usable. With MoE offloading and a good engine like strata its usable for LLMs. I have one in my lab as a secondary and im using AI tts and stt on it. It helps alot if you pair it with fast storage and ram + a decent CPU. anything that supports AVX-512 helps alot.

You could also look at a V100 with 16GB of vram, or pony up for the 32GB one. They make pcie adapters for them.

I made a little blog about my setup here. I used to use P40’s but I moved to 2xV100’s and its great: Cheap-ish AI HomeLab on a budget: V100s, Custom boards, and NVLink - Angry Sysadmins

OT: could you describe your TTS and STT setup? remote speakers, Home Assistant, which models, etc?

I poked at the blog post but didn’t notice it as first glance.

Same X399 2950 threadripper here too as main rig, though I moved the AI off to an WRX80 build.

If I understand the ask, you want to host an Unquantized model? So, FP16 full weights? Then you would need about 2GB per 1 Billion parameters, with a small content window. So you’re looking at 9B parameter models at FP16 with just, 24GB of VRAM.

Multiple P40s can be used, but once you introduce TP=2 or more, then you’ve already divered from the original benchmark scores. Which may be negligible, but still something to note.

Last, you want to focus on what tensors the GPU in question has. The M40 nor the P40 has FP16 accelerators - it runs them at FP32 which kills the token gen. It’s ok around 16-25 on mine, but it’s not ideal.

Instead, for the P40, you want to find INT4 or INT8 kernels (not FP16) as those perform way way faster. However, that goes against your original unquantized request.

So comparing an FP16 unaccelerated generation speed to INT8 isn’t really a fair comparison. Can’t speak to the M40 or V100 builds.

Brother this reveals your powerlevel a bit too much.

Tesla M40 Radeon AI PRO R9700
VRAM 24 GB GDDR5 (ECC) 32 GB GDDR6
Memory BW 484 GB/s ~640 GB/s
FP16 compute 12 TFLOPS (no FP16 accel) ~95.7 TFLOPS + 128 AI accelerators
Interface PCIe 3.0 x16 (15.75 GB/s) PCIe 5.0 x16 (runs fine in Gen4/Gen3 slots)
TDP / cooling 250 W, passive (datacenter card) 300 W, dual-slot blower, front-to-back airflow (rack-friendly)
Multi-GPU No NVLink — TP over PCIe 3.0 vLLM TP=2 works on RDNA 4; 2–4 card pooling (64/96/128 GB)
Software CUDA only; sm_60 deprecated (but still supported) in CUDA 13; several new toolkits dropping Pascal ROCm 7.x first-class (RDNA 4), llama.cpp ROCm/Vulkan, PyTorch/ONNX, Windows + Linux

Unquatized perf

Model BF16 footprint Single R9700 (32GB) 2× R9700 (64GB) 4× R9700 (128GB) 4× M40 (96GB)
7B ~14GB o o o o (barely, 12 TF FP16)
13B ~26GB o (tight) o o x 24GB/card, TP over PCIe 3.0 = impractical
27B ~54GB o(short ctx) o x
32B ~64GB x(no KV headroom) o x
70B ~140GB x x x — FP8 (~70GB) fits x (Q4 only, no unquantized side)