mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[GH-ISSUE #74] Low t/s speed on a NVIDIA RTX 3080 with 16GB VRAM #40
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shpati on GitHub (Sep 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/74
Fist of all, thank you so much for the great job!
I am experiencing low inference speeds of around 17 t/s on the machine with the below specs and wonder if there are any settings that can be adjusted to increase the speed.
Machine specs:
Processor: Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz (8 cores / 16 threads)
Installed RAM: 64 GB, DDR4-2666
GPU: NVIDIA GeForce RTX 3080 Laptop, 16GB GDDR6
SSD speed: 3400 MB/s (NVMe 4x 16 GT/s)
OS: Win11
Model: qwen3.8-flash-next-iq3_s
Engine: v0.1.18
Context: 65,536 tokens
KV cache: 8-bit, all in VRAM
Experts in VRAM: 3,219 (6.2 GB)
Speculation : MTP drafts up to 3 tokens, prompt lookup on
Images: on
@FF-AnthonyKaul commented on GitHub (Sep 28, 2026):
What is your CPU usage when this happens?
@shpati commented on GitHub (Sep 28, 2026):
Interestingly half the CPU threads (8 of 16) work at 95-99%, whereas the other half are used very little or not at all by the engine.
@FF-AnthonyKaul commented on GitHub (Sep 28, 2026):
That is the desired outcome since using all the threads ends up with a spin lock and would actually make things slower. You should be seeing higher than 30tps on your machine.
Post your strata-q3_s.json args
@shpati commented on GitHub (Sep 28, 2026):
@FF-AnthonyKaul commented on GitHub (Sep 28, 2026):
can you add
"--pool-workers",
"4"
to your args and see what that does? Curious
@shpati commented on GitHub (Sep 28, 2026):
I did that and the speed dropped by 2-3 t/s. Now 5 of the 16 CPU threads were used by the engine.
@FF-AnthonyKaul commented on GitHub (Sep 28, 2026):
what is your gpu % in nvtop or nvidia-smi when running a request?
@shpati commented on GitHub (Sep 28, 2026):
Volatile GPU-Util is at 100% in nvidia-smi during inference.
@FF-AnthonyKaul commented on GitHub (Sep 28, 2026):
I am not 100%, but i suspect vision is causing an issue. I have a similar setup to yours and i get 45-50tps on mine.
Here are my args
"args": [
"--pack",
"/home/user/Strata/packs/iq3_s",
"--native",
"/home/user/Strata/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf",
"--ple-gguf",
"/home/user/Strata/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf",
"--expert-profile",
"/home/user/Strata/data/expert-profile.bin",
"--expert-cache",
"auto",
"--prefill",
"2048",
"--spec",
"4",
"--spec-min-p",
"0.5",
"--mtp",
"/home/user/Strata/mtp/rt",
"--max-context",
"131072",
"--kv",
"int8",
"--pool-workers",
"12"
],
RTX 5000 ada 16gb
64gb DDR5 6000
AMD 7950X 16 core 32 threads
running CachyOS.
Give these a try and see what you get. If this is your primary video card you may want to keep this
"--vram-reserve-mib",
"700",
@shpati commented on GitHub (Sep 28, 2026):
Removing vision speeds up inference by only 2 t/s.
@uvhat commented on GitHub (Sep 28, 2026):
what does GPU-Z show for pci-e lines connection for your laptop GPU? It is possible for laptops gpu to be connected by x4 lines that could reduce performance.
Try also smaller model, maybe just too large model and it swapped ram to ssd.
@aPaladinesEC commented on GitHub (Sep 29, 2026):
I had a similar performance issue with an RTX 5070 12 GB, i9-10900 and 64 GB of DDR4.
At first I was getting much lower speeds, but after optimizing the system I can now reach around 30 tok/s with IQ3_S and 45+ tok/s with IQ2_XS.
A few things worth checking:
Also, don't judge performance only from the first short generation. In my case the expert cache improved as the model ran, and performance increased significantly after more experts were cached in VRAM.
For reference, my system is RTX 5070 12 GB + i9-10900 + 64 GB DDR4-3600, so even on an older DDR4/PCIe 3.0 platform the performance can be much higher than ~10 tok/s.
@Niko1221 commented on GitHub (Sep 29, 2026):
Could you try 0.1.22 (just run
START-HERE.bat) and post the linesdecode expert cache hit rate,PCIe(the probe) and theprompt ... tok/s, ... generated ... tok/sline from the engine log for one answer? Two things in your setup that matter: the laptop's DDR4-2666 limits the CPU experts (the part that runs in RAM), and the experimental speed projection is on in your config - trySTART-HERE.bat --setupwith it off to compare.@artmediayt commented on GitHub (Sep 29, 2026):
Disable hyperthreading - most apps don't know how to use it and it causes slowdowns in many cases.
@Niko1221 commented on GitHub (Sep 29, 2026):
Closing for now - please reopen with the lines asked above (cache hit rate, the PCIe probe and one prompt/answer line from 0.1.22's log) if it's still slow; on a DDR4-2666 laptop the CPU part of each token is the limit, and turning the experimental speed projection off is worth a try.
@shpati commented on GitHub (Sep 29, 2026):
Thanks to all for helping with the troubleshooting, I am hoping your suggestions may be useful to others as well.
Here are the results:
In the end it comes to slightly under 30 t/s after repeated rounds of chat. I believe it can go higher by eliminating some CPU throttling that is still present, but that is a machine-specific issue.
The biggest improvement so far came from the program update - well done guys!
Here is the latest log, in case it is of value to anyone as a reference linked to the machine specs above.