mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[GH-ISSUE #4261] [Benchmark] NVFP4, RTX 5070 + RTX 5060 Ti: stage trim, arena pinning and a Cyrillic draft vocabulary take decode from 46.2 to 67.0 tok/s #1873
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#1873
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 @AdrinalinNS on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4261
Benchmark report, no engine change. One PC, two mismatched Blackwell cards, NVFP4 GPTQ of Qwen3.8-Flash-Next at 262,144 tokens. Measured on 2026-10-26 with a self-built engine 0.1.51 (
CMAKE_CUDA_ARCHITECTURES=120).Hardware: RTX 5070 12 GB + RTX 5060 Ti 16 GB, both sm_120, both on PCIe 5.0 x8 (engine probe 28.7–28.9 GB/s), neither drives a display. Ryzen 9 9950X3D2, 16 cores / 32 threads, AVX-512, one socket. 125.5 GiB RAM, page file 31.2 + 62.5 GiB, commit limit 219.3 GiB. Windows 11, driver 580.65+, CUDA 13.0.
Model:
Maximilian228/Qwen3.8-Flash-Next-NVFP4-GPTQ-Strata, 119.17 GiB; its ownpack/; bundledexpert-profile.bin(24,576 ranked pairs); PLE tableple-fp8.gguf(47.68 GiB). Context 262,144,--kv int8, no KV streaming, expert arena in RAM (neither--resident-expertsnor--mmap-experts),--ple-io direct,--expert-cache auto,--prefill auto,--spec 4 --spec-min-p 0.5,--host-core sibling,--vram-reserve-mib 0. Cards:"gpu": [1, 0]— 5060 Ti holds layers 0–27, 5070 holds 28–47 plus the output head and the draft layer.Result: decode 46.2 → 67.0 tok/s, prompt 1,567.7 → 2,161.4 tok/s. Three opt-in settings, each tested alone, 6 runs per point with the warm-up discarded:
STRATA_ARENA_PIN_GIB=40(30 slices, 39 GiB)STRATA_STAGE_TRIM=1,layer_split 281.
STRATA_STAGE_TRIM=1on NVFP4Opt-in upstream and, going by the community folder list, unmeasured on NVFP4. It gave the second card back 2.54 GiB of VRAM:
The point for other layer-split users: on a split the prompt chunk of every card is clamped to what the smallest cache can lend, so the small cache on the 12 GB card was capping the prompt speed of both cards. The engine says it itself —
WARNING: prompt chunk 5376, not 8192: CUDA1 has 1128 expert-cache slots, and a 8192-token chunk borrows 1128 of them. Removing that clamp is where the prompt gain comes from.Split-point sweep with trim on (K = layers on the first card):
K=28 was measured twice in two separate engine sessions (54.2, 53.5).
2. A trap with
autounder trimWith trim on,
layer_split: autopicks K=24 and decodes at 49.4, while the hand-set K=28 gives 53.9 — an 8% loss. The search prices decode without the new slot distribution and warns about it itself (the prediction may not rank them; it prices decode, not the prompt). Worth knowing before anyone adopts trim and then trustsautoto re-place the split.3. The shipped draft vocabulary does not cover Cyrillic
draft_vocab.binas shipped is a CJK subset: of the model's 18,580 Cyrillic tokens it holds 142 (0.76%). On Russian text the drafter can therefore propose almost nothing.draft_vocab_cyrillic.binThe Cyrillic subset is built from the English base plus the script, so it is smaller than the CJK one — the draft head gives back 123 MiB. English was measured separately at 67.3 tok/s (65.4–71.3, 5 runs): no loss, because the subset is the English base plus a script rather than a replacement. Note the file is shared by every model in the data folder and is replaced by a plain copy — there is no config key for it, and re-running model setup overwrites it.
Limitations, stated plainly
Numbers come from my own fixed prompt and scripts, not from
strata bench run, so they are not standard-protocol results and should not be compared row-for-row with them. One Russian prompt (max_tokens 700,temperature 1.0,top_p 0.95,top_k 20) plus one English prompt for the language-cost check, one sampling setting. Prompt figures are from the engine lineprompt N tokens = 0 reused + N read in … ms (… tok/s)on unique text (aGuidin every paragraph, soreused = 0), one run per point. The model was fully unloaded and reloaded between configurations (layer_splitandenvare read only at engine start).No TTFT, no needle/recall, no coding tasks with test runs, no tool calls, no concurrency, no power capture.
Spread inside one configuration (4–9 tok/s) is wider than the gap between neighbouring split points, so only the peak position and the large steps are meaningful.
Text is not bit-identical to the untrimmed run: with fewer experts in VRAM more rows are computed by the CPU pool, which rounds differently. Checked for encoding damage only (0
U+FFFD, 0 control characters in a 3,807-character answer), not for answer quality.Loading takes ~90 s instead of ~75 with trim on, because the later stages load their weights after the split search (
late_weights).Negative results, each rejected for a stated reason
--pipeline-windows 2(auto-off on CUDA; the fork's reported win came with its own re-tuned split search — upstream measured +5.4% on code against 2.8% noise and −13.2% withSTRATA_MTP_STAGE0=1),--adapt-async 1(not with a layer split in the arena mode),STRATA_PIN_BY_NEED=1(not with a layer split or a peer GPU),STRATA_EXCHANGE_ROTATE=1(page-lock of the 58 GiB complement refused on Windows),--kv fp16(real fp16, but halves the slots 4,294 → 3,072 and costs 12.6% decode),--ple-io ram(47.68 GiB of RAM for no gain: 40.1 vs 40.2),--mmap-experts(63.5 vs 67.7–73.3 in the arena),--resident-budget-gib N(reads the remainder from disk by definition; 63/70/100 give the same figure),--expert-cache-per-layer(−21% decode).@tomsun66-star commented on GitHub (Oct 27, 2026):
How do you manage to get both cards on 16-Lanes simultaneously?? I hardly believe that on a Threadripper or Epyc System yes on a Ryzen never.
The real comparison would be 5070 solely vs. 5060ti solely vs. 5070+ 5060ti combined and you have also to take into account which card is sitting in which slot and how is it connected direct CPU 16 lanes or 4 lanes direct CPU or 4 Lanes via Chipset. In my Tests with an even more asymmetric approach (different tier AND different generation RX9070XT+RX6800) the speed is somehow between the single speeds, so it just adds more RAM (VRAM). But it doesn't add performance. In my case Between 9070XT solely and 6800 solely leaning more towards the 9070XT.
@AdrinalinNS commented on GitHub (Oct 28, 2026):
PCI-E 5.0 x8/x8 ASRock X870 Taichi Creator for bouth cards.
@AdrinalinNS commented on GitHub (Oct 29, 2026):
Screen, change ram to 96gb, make 2 PC for LM with 96gb RAM, no need 128gb for full speed
@ladno64 commented on GitHub (Oct 29, 2026):
может стоит покопаться в настройках? это выдает одна 4060TI-16Gb.
@AdrinalinNS commented on GitHub (Oct 29, 2026):
@ladno64 определенно! пока версия 1.2.5 с пересобранным engine 0.1.51 работает на windows 11 с моделью NVFP4, а у тебя как запущено и что за модель? Наверно поставлю попробую еще под линуксом, что там покажет...
Модель имеет значение, iq_3s давала свыше 110 t/g и до 3000 префила и это в базе без тюнинга, с тюнингом может быть и до 150 и 4000 взяла, а NVFP4 по скорости как Unsloth но префил более чем в 2 раза выше на rt 50xx серии.
Хочу попробовать свежую, но пока агенты 24/7 делают задачи по плану проекта..
iq_3s давала сбои на длинных эстафетах (12+часов агент молотит), циклические мысли появлялись, агент завершал работу пока я отсуствовал.
@ladno64 commented on GitHub (Oct 29, 2026):
iq_3s стоит. мне ее достаточно под свои задачи програмирования. NVFP4 у меня видяха не поддерживает. Я периодически читаю все заметки и внедряю их в свою версию, без переписывания программы. она у меня заточена под меня. намного удобней, чем местный монстр расчитанный на всё сразу. У меня рускоязычный голосовой ввод, несколько профилей со своими промптами, бд и рабочими каталогами. фишек много. Начинал с 20 ток/сек. сейчас хочу DeepSeek-V4.1 последний прикрутить. если Niko1221 мое предложение прикрутит, по софт обрезке лишних экспертов, то воспользуюсь его разработкой, если нет, то сам запущу. в общем проект замечательный. я долго на лм студио бионик сидел, но там скорость аж плакать хочется. в страта Qwen3.8-Flash-Next работает быстрее чем мелкие ллм в лм студио. если читаешь по русски - отключай автоперевод.))
iq_3s давала сбои на длинных эстафетах (12+часов агент молотит), циклические мысли появлялись, агент завершал работу пока я отсуствовал.
ни разу такого не было в чате. по апи было. проблема в температуре оказалась. чем ниже тем выше вероятность зацикливания.
@AdrinalinNS commented on GitHub (Oct 29, 2026):
@ladno64 звучит впечатляюще)
У меня агенты в VS code на SourceCraft Code Assistant работают, по мелочи им дал: два поисковика свой с извлечением и deepseek запустил платный, векторную БД по проектам через тот же SourceCraft Code Assistant (сами базы вертятся на другом компе с разделением по проектам), ну и наверно все, только промпты под агенты и задачи.
Qwen3.8-Flash-Next iq_3s да, был прорывом после попыток работать под qwen3.8-27b, он очень много думал и очень мало делал почему то даже с низкими настройками размышления, хотя я не сильно его успел потетстить, случайно нашел в рилсах starta, и рискнул, и все..
Дипсик (облачный) использую исключительно подкрутить настройки модели в strata, там наверно часов 12 он молотил тесты, искал на форумах, читал репозиторий, проверял различные сочетания, балансировки слоев, сжатия контекстов, короче пока выдал то что описано в бенче как лучший результат за время всего теста...
Запускать ли DeepSeek в Strata - большой вопрос, смысл от 4-20 т/с, тут и при 60т/с задачи выполняются по 12 часов
С 110т/с на iq_3s было конечно шустрее, но пару раз пришел - блокировка SourceCraft Code Assistant сработала, или вижу что он там генерировал что то до бесконечности пока не опустился до 0,1т/с, может конечно баг прошлых engine и в новой сборке пока такого не наблюдал.
NVFP4 подкупила точностью и двойным префилом на rtx 50xx..
Еще скачаю модели Qwen3.8-Flash-Next — NVFP4 + Q8_0 mix for Strata и
Qwen3.8-Flash-Next-Q8_0-Strata автора Maximilian228,
потестирую, но ничего не жду, там чет совсем скорость по описанию падает..
@ladno64 commented on GitHub (Oct 29, 2026):
я страта дорабатывал прямо в страта!)) дип сик буду запускать когда прикручу софт-обрезку экспертов, чтобы модель помещалась в озу. 20т/с тоже нормально, когда надо аудит написанному ПО сделать. сторонние агенты не использую. Qwen свои написал с ноля и постоянно их дорабатывает. выборочные проверки отдельных скриптов в дипсик показывают отличное качество кода. осталось сделать аудит всему проекту в комплексе.
@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.