Trying hybrid inference (GPU+CPU) with 200-400B models

First off I would like to thank this thread and Level 1 video about hybrid inference of using GPU + CPU. Using ik_llama.cpp Full DeepSeek Q1 with the "IK" version of llama.cpp on AM5 -- No Distills; Just a Quant - #112 by Panchovix

Recently I did a bit more testing, still in progress and I have posted this here: https://youtu.be/jGxrSHPIVak?si=m_YO2Qk7aiOJxXTx

The hardware is a bit old:

Dual Xeon 6154

Supermicro X11DPi-NT

384GB DDR4 ECC

3060 12GB (to be changed)

I am hoping to get Qwen 3.5 running with longer context window when I put back my 3090, if this works well I am thinking of getting a V100.

1 Like

very cool, have you tried greenboost? Ferran Duarri / nvidia_greenboost · GitLab

wow thanks, very interesting a different approach. Kernel module and just use RAM and only GPU.

UPDATE: using 32k context and context is full

  • GLM 4.7: 34.07 tok/s prefill, 3.47 tok/s generation
  • Minimax 2.5: 119.55 tok/s prefill, 6.53 tok/s generation
  • Qwen 3.5: 97.81 tok/s prefill, 9.26 tok/s generation

I am now running 128k context on a 3090 only using 13GB VRAM (to be retuned) on Qwen getting similar performance as 32k on a 3060. Even used it with OpenClaw, slow but it looks usable at 70k context. Today I am getting it to transplant its brain, the idea it will reconfigure the ik_llama.cpp and restart itself. This is because I don’t have any other hardware that can run hundred billion param models.

Done a few more tweaks with 3090 with 64k to 128k context, its actually usable despite it being slow. I use with OpenClaw together with other cloud/api models.

  • GLM 4.7 (64k): 15.26 tok/s prefill, 5.41 tok/s generation
  • MiniMax 2.5 (~127k): 87.11 tok/s prefill, 11.62 tok/s generation
  • Qwen 3.5 (128k): 71.43 tok/s prefill, 10.62 tok/s generation

I have decided to sell my 3060, I think the 3090 is overkill for this GPU compute its doing less utilization than the 3060. I will put back by 3090 on my main GPU rig, I have bought a 32GB V100 which hopefully would be a better match. Bigger VRAM, ok-ish GPU compute.

Since I am settling on Qwen 3.5 I got it faster on the prefill by using 72 batch threads, yes it does seem to help I guess its not 100% utilization so hyperthreading does help. I will have to put that on my video update, to change my initial assumtion that hyperthreading doesn’t help. It does get worse on generation though. So that is kept to 36 threads, we (me and benchmark bot) tried to have lower threads no it gets worse. So for Qwen 3.5 397B the current numbers are:

  • prefill 92.64 tok/s

  • generation 15.18 tok/s

Just got the V100 32GB a few days ago. As expected more MoE layers can go to GPU as 3090 24GB vs V100 32GB. However since I updated ik_llama.cpp it already had some weird deterioration (even on 3090) when you use the model on very long sessions. Typically on pinchbench when there is more than 4 big tasks, it doesn’t produce the tokens correctly or there is some context spill from the previous tasks. I did have to downgrade to CUDA 12.9 and 580 drivers, and compile with hardware 7.0 as V100 is not supported on current CUDA and drivers.

V100 is slightly slower than 3090, but not tuned. I did initially find weirdly more MoE on gpu made it slower.

Qwen 3.5 347B: 94.78 tok/s prefill, 8.93 tok/s generation

Qwen 3.5 122B: 190.16 tok/s prefill, 17.56 tok/s generation

Minimax 2.5 229B: 91.64 tok/s prefill, 10.31 tok/s generation

I think I might settle down for Qwen 122B given that its pretty much neck and neck with 397B, but need further testing as pinchbench completion is much worse if all the suite is tested in 1 run.

How it looks like when being used.

2 Likes

what quant are you using? The full weights? That ineffecient for outcomes. A 50% qunat is better output for each token in. I’d be interested in output variance across the sizes. As I use 9B with 65k context all day local in 16GB and it makes work look like claude.

I haven’t played with benchmarking models, they are different on every machine with tons of knobs to turn, nearly every machine will result differently. I’m eyeing up a V100 though for VRAM expansion, but <10t/s seems like RAM CPU models to me. My RVII pulls over 100t/s with qwen2.5 and 3.5 is aroun 65t/s. Is that workflow usable or just benchmarks?

I’ve been following for a bit and it’s good to see more exploring CPU offloading.

Do note that Qwen3.6 35B with thinking and preservation, now nearly matches Qwen3.5 122B in most benchmarks (scores), according to their model card and other independent testers.

The 3.6 27B dense model scores a bit higher in some aspects.

If all you are doing is coding, you want Qwen3.6. otherwise the 122B 3.5 is ideal for more deep knowledge.

A normal quant of either 35B or 27B should fit entirely into your VRAM. You should see 40-60 t/s on the V100, I think.

I’m getting 45 t/s on a Quadro A5500 (80W mobile GPU), but I’m using a rebuilt Q2 variant because 16GB VRAM.

3 Likes

I have been using Q6 quants for Minimax M3, and Qwen 397B with 128k context. For GLM-5.2 I had drop to Q4 and 96k context.

Yes this is true that the 27B 3.6 is very good, this is why I have been using Minimax M3 for this hardware. I added support for Minimax M3. I use 27B 3.6 as my workhorses 3 instances of lucebox.

I have been running 2 V100s, but I will be adding 2 more and using a 4 carrier board that is a full NVLink switch.

2 Likes

Some updates, been running on 4x V100 so far its been beating in TG the 5090 for Qwen 3.8 27B

I have been using it more for Qwen 3.8 Flash Next, beats x2 DGX Spark.

https://x.com/jkyamog/status/2096954517984346459?s=20