mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4517] [Benchmark] GTX 1070 Ti 8 GB (sm_61), Gyro-S: works, and the VRAM reserve is what decides it #2034
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#2034
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 @raidbeforebed on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4517
Summary
docs/OLDER_GPUS.mdsays under the P40 section: "Not tested: any other sm_61 card (Tesla P4,GTX 10 series)." This is that data point, and it grew a finding I did not expect.
A GTX 1070 Ti (8 GB, compute capability 6.1) runs Gyro-S on the released CUDA 12 engine. It
passes the standard protocol (21 of 21 required requests, 12 of 12 sanity checks), it
completes real multi-turn Hermes agent tasks with tool calls at a perfect score, and it loads in
13 to 18 seconds from a local NVMe.
The single most useful thing I can report is not a throughput number. It is that a request
which never returns is almost always the VRAM reserve, not the model, and your own log says so.
Details below. It cost me several hours of chasing page cache, swap and swappiness, all of which
looked plausible and were wrong.
Hardware and software
...-cuda-cuda12engineStrata Terminal 0.2.7, engine 0.1.52 linux-x86_64-cuda-cuda12, released binary.
Model
gyro Gyro-S(Qwen3.8-Flash-Next trellis pack), 58.5 GB plus the MTP layer, vision off.32 GB of RAM is below the 64 GB your matrices recommend, so setup chose low-memory mode.
1. The VRAM reserve, which is the real finding
On this card the engine leaves very little VRAM free, and below a 512 MiB reserve the NVIDIA
driver pages GPU memory to system RAM. The request then does a burst of work and stops, with no
error, no CPU load, no GPU load, and no result. Your log states it plainly:
Observed at 64K with no reserve: three separate requests produced no result after 150, 300 and
540 seconds. Host side, throughout: 22 GB of memory available, swap quiet, GPU spiking to 60 or
80 percent and then idle. Not a memory problem, not a model problem, and not a hang. The
suggestion in the warning is the fix, and it worked first time:
--vram-reserve-mib 1024--vram-reserve-mib 1344Two suggestions for the docs: the reserve needs to scale with
--max-contextrather than being aflat number, because at 48K a 1024 MiB reserve is generous and at 64K it is not enough (218 MiB
free was still measured with 1024 set at 64K). And a request that returns nothing at all is a
distinct outcome from a slow one, so it deserves a line in
BENCHMARK_PROTOCOL.md; otherwise asingle-request measurement on a small card reports noise.
2. Prompt throughput, all at one fixed reserve of 1024 MiB
Unique prompts,
max_tokens: 1, non-streaming,usage.prompt_tokensdivided by wall time, threewarm-up requests discarded.
tok/s.Decode is 27 to 34 tok/s across all of them and is not affected by the window. Prompt speed is.
The reserve is not free, and I originally reported the wrong figure. My first report said
32K is "free". It was measured without a reserve, at 178 to 505 MiB free, which is inside the
stall band. With the reserve it is 133 to 145 tok/s. Please treat the earlier number as unsafe
rather than as a better result.
3. A larger window can be faster than a smaller one
This surprised me enough to run it twice. At the same 1024 MiB reserve, 48K beats 32K at every
prompt length that both can hold:
The reason looks like arithmetic rather than anything clever: the reserve is a fixed cost, and
it is taken out of expert slots. At 48K the KV cache is large enough that the reservation
displaces proportionally fewer slots, so the expert cache survives it better. If that holds
generally, a flat
--vram-reserve-mibpenalises small windows disproportionately, and theguidance "take the largest context the card will accept" is the right advice for a small card.
4. The expert set does not fit the page cache, and that is the real prompt bottleneck
That is your planner's own summary and it is the clearest explanation of small-card behaviour I
have seen. It also tells me
--prefilltuning is pointless here, because the fewest-passesoption was already chosen.
The consequence for a 32 GB box: page cache tops out near 21 GiB and the set needs 24.2 GiB, so
it misses by about three gigabytes and every chunk re-reads the lot. Doubling RAM to 64 GB would
make the set fit, which should turn a 26-pass sweep into roughly one pass, about 519 GB of reads
per prompt down to about 24 GB. That, not a flag, is the upgrade this configuration needs, and
it is worth saying in the docs for anyone choosing between more VRAM and more RAM on a small card.
5. It runs real agent work, not just a benchmark harness
Your protocol's sanity checks are single-shot. The question I actually had was whether it can
drive a multi-turn agent with tools. Tested with a twelve-task agent harness where the score is
the artifact left on disk, not the prose, at 64K with a 1344 MiB reserve:
Four of four, no harness faults, every run exit 0. The conversation cache carried each task: 12
turns cost 133,065 input tokens, about 11K per turn, because the first turn's prompt is reused
rather than re-read. Without that cache this would not have been viable at all, so if it is
optional on other models it is load bearing here.
I have not yet run the harder three (
03-test-fix,10-multifile-refactor,06-multiturn-continuity). Four passes is a first pass, not a suite, and I would not claim more.6. One note for anyone using Strata as an agent backend
Not a Strata issue, but it decides the question: Hermes Agent refuses any model reporting a
context window below 64,000 tokens (
MINIMUM_CONTEXT_LENGTHinagent/model_metadata.py, raisedin
agent/agent_init.py), and there is no override for an OpenAI-compatible endpoint. So 8K,32K and 48K cannot host a Hermes agent at any speed, however well they measure, and only 64K is
usable. The child exits in under ten seconds with zero tokens and a misleading
"Execution outcome is unknown" message; the real
ValueErroris in~/.hermes/logs/managed-worker.log, not in the harness log. Worth knowing before someoneconcludes the engine is broken.
Requests
OLDER_GPUS.mdnext to the sm_61 table.MODELS.mdthat a small card should take the largest context it will accept, since abigger window measured faster here, not slower.
card.
The
README.mdandresults.jsonfrom the standard run are saved locally and I can open aresults pull request with them if that is more useful than this write-up.
Background load
COSMIC desktop on the same card. No other GPU work. Power limit stock. Host swap is 16 GB zram
with
vm.swappinessat 180 while measuring, which I mention only because it turned out not tomatter and someone else may lose time to it.
@raidbeforebed commented on GitHub (Oct 28, 2026):
Correction, and I have rewritten the report above rather than leave the wrong version standing.
The first version of this issue said a 32K context was "free" and recommended it. That measurement
was taken without
--vram-reserve-mib, at 178 to 505 MiB of free VRAM, which is exactly the rangeyour own
#2065warning calls unsafe. With a reserve in place the same window gives 133 to 145tok/s, not 211. The earlier number was not merely optimistic, it was taken in the state that later
cost me three requests that never returned.
What changed in the body:
error at all and cost me hours chasing page cache, swap and
vm.swappiness. All three lookedplausible. None of them was the cause.
also shows that a larger window was faster than a smaller one here (48K at 173 tok/s against
32K at 145 at the same reserve), which I did not expect and ran twice to confirm.
prefill planis now quoted directly, because it is the cleareststatement of why a small card behaves the way it does, and it makes the RAM-versus-VRAM trade
concrete: 24.2 GiB of experts against 21.3 GiB of cache is a 26-pass sweep of about 519 GB per
prompt.
single shot, and this was the question I actually had.
agent work irrespective of the throughput numbers.
Still outstanding: the three hardest tasks in that harness have not been run, so four passes is a
first pass and not a suite. I will report those when I have them, whichever way they go.
@raidbeforebed commented on GitHub (Oct 29, 2026):
Follow-up with the agent-task results, and two findings that matter more than the throughput
numbers:
Coder (IQ1_M)is materially the better pack here, andreasoning_effortchanges answers.Coder IQ1_M beats Gyro-S on this card, in both directions
Same card, same 64K window, same
--kv q4_0, samevram_reserve_mib=1344, same twelve tasks.Prompt speed holds flat at 178 to 181 tok/s from 9K out to 37K, where Gyro-S falls from 93 to 41
by 37K in some runs. I think that is your page-cache arithmetic working as intended: Coder's 23 GB
expert set is much closer to fitting the 21.3 GiB cache than Gyro-S's 24.2 GiB, so it does fewer
passes per chunk.
Decode is the price, 20 to 22 against 30 to 34. For agent work that is the right way round, since
reading dominates; for chat it is not.
The claim that half the experts keeps the quality up held on this suite.
03-test-fixgrades thetest file's hash so weakening the test scores zero, and Coder passed it.
Gyro-S's two misses were timeouts at the harness wall clock (2,640 s and 3,720 s), not wrong
answers: one had made 8 tool calls, the other had not started. I have not re-run them with a
larger budget, so I am not claiming Gyro-S fails them.
reasoning_effortis honoured, and off is not freeWorth documenting, because it is a real quality lever and it is not obvious that a local
OpenAI-compatible server would act on it:
reasoning_effortnonehighSo thinking costs about twenty times the output tokens on a short reasoning prompt, and disabling
it cost a correct answer on a known trap. All the agent scores above were produced with your
default, which is to think. Anyone benchmarking tokens/sec against another engine should say which
way they set it, or the comparison is not like for like.
One caution for anyone benchmarking through an agent harness
Not your bug, but it cost me a scare and may cost someone else one. My agent harness drives a CLI
client that has a provider fallback chain. When the local endpoint did not answer inside the task
window, the client escalated to a cloud model, and the harness caught it only because it compares
the responding model against the one requested:
Without that check the substitution would have looked like a local win. I verified all 24 other
records came from the pack actually requested, so the numbers above are clean, but anyone
benchmarking a slow local model through a client with fallbacks should switch them off first.
Raw results, logs and the harness are kept locally and I am happy to open a results PR if that is
useful to you.
@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you for measuring this and writing it up. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.