[PR #4426] [CLOSED] [Benchmark] DeepSeek V4.1-Flash on an RTX 4090 Laptop 16 GB with 94 GiB RAM: the release engine package 0.1.52 (sm_89), IST-DAS 2.25 and 2.00 bpw #5043

Closed
opened 2026-11-07 16:32:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4426
Author: @30crows
Created: 10/28/2026
Status: ❌ Closed

Base: main ← Head: community-rtx-4090-laptop-deepseek-v4.1


📝 Commits (1)

  • e86e187 bench: community report, RTX 4090 Laptop 16 GB + 94 GiB RAM, DeepSeek V4.1-Flash IST-DAS 2.25 and 2.00 bpw, engine package 0.1.52

📊 Changes

38 files changed (+7720 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/README.md (+277 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds200-faster.jsonl (+3 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds225-dspark.jsonl (+3 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds225-faster-again.jsonl (+3 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds225-faster.jsonl (+3 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds225-full.jsonl (+3 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds200-faster.json (+43 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds225-dspark.json (+43 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds225-faster.json (+43 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds225-full.json (+45 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds225-tune.json (+43 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/tune-after.json (+43 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/tune-before.json (+43 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds200-faster/initial-status.json (+64 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds200-faster/results.json (+561 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds200-faster/summary.json (+150 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds225-faster/initial-status.json (+64 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds225-faster/results.json (+561 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds225-faster/summary.json (+150 -0)
➕ bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/scripts/benchmark_ds.patch (+38 -0)

...and 18 more files

📄 Description

Problem and result

DEEPSEEK41.md says that the engine packages have carried sm_89 code since 0.2.7, but that it was "compiled here but not run". This report runs the release package strata-dsv41 0.1.52 (0.1.52-linux-x86_64-cuda-cuda13, from the update feed, not a local build) on an RTX 40 card. The machine is an RTX 4090 Laptop GPU (16 GB) with an i9-13900HX and 94 GiB of RAM.

It ran without errors in every test of a night run (22:41 to 01:31), with prompts up to 250,000 tokens at a 262,144-token context.

Results (medians, 3 runs per test):

2.25 bpw default (Faster, DSpark auto) 2.25 Full quality (--experts 6) 2.25 DSpark on 2.00 bpw default
chat decode tok/s 13.6 11.2 14.5 14.9
agent decode tok/s 16.0 13.5 15.4 16.4
code with thinking, decode tok/s 16.2 13.7 15.9 17.3
prompt tok/s at 4K / 32K 436 / 800 387 / 755 392 / 787 463 / 833
  • Long prompts (2.25):
    • 128K: read at 685 tok/s, 187 s to the first token.
    • 250K: read at 664 tok/s, 377 s to the first token.
    • Decode is still 13.9 tok/s after the 250K prompt.
  • 2.00 bpw: 2-19% faster than 2.25, except the 250K prompt, which was 6% slower.
  • Full quality: costs 15-18% of decode speed on this machine.
  • DSpark forced on: 76% of the drafted tokens were accepted on code, but decode did not change. The quick tuner measured the drafter 31% slower in its short test and kept nothing.
  • --dspark auto: its "not loaded" decision held on this 16 GB card. This differs from the 48 GB RTX 4090 in #3935, where --dspark on doubled decode.
  • Repeat: the default 2.25 run at the end of the night came within 4% of the first run.
  • #3935: the DeepSeek engine was refused on an RTX 4090 because the packages had no sm_89 code. 0.2.7 added it, and this is a run of that package on an RTX 40 card. Whether the issue can be closed is for the maintainers to decide.

Approach

Results only. The PR adds one folder: bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/. It holds the README, per-request data, sanitized configs, engine logs, telemetry summaries and the scripts. There is no engine, docs or index change; I left the COMMUNITY.md row to the maintainers, as before.

Tests:

  • tools/strata_bench.py --long, unchanged.
  • Three coding requests with thinking on.
  • The 2026-09-30 long-prompt script at 4K / 32K / 128K / 250K.

The long-prompt script needed a patch for DeepSeek, included in the folder. It now uses the pack's own pre-tokenizer and special-token ids, as serve/server.py does, and counts the start token that the engine adds. Without the patch it built a 3,098-token prompt when asked for 4,096.

Validation

Passed:

  • Setup: ./setup.sh --setup --yes --family deepseek41 --model IST-DAS-2.25bpw --context 262144 --no-start, and the same for IST-DAS-2.00bpw. Both ran on Strata 0.2.7 (main 5e8a4cca), Gentoo, driver 615.78.08. Setup fetched the package, checked the downloads, packed the models and passed its test question.
  • Engine: cuobjdump --list-elf on the installed strata-dsv41 lists sm_86, sm_89 and sm_120. Every server started and reported ready in 12-14 s.
  • Benchmark runs: every run of all 5 strata_bench suites, all 5 coding sets and both long-prompt sweeps (24 requests) finished with exit 0. No request failed.
  • Prompt sizes: with the patch, the long-prompt script's prompts matched the server's token count to within one token.
  • Answer checks:
    • The merge-intervals answers pass their own tests in all 5 runs.
    • The shell scripts pass sh -n. 4 of 5 list the files in a folder with spaces in its names correctly; one also prints a wc "total" line.
    • At 4K, 128K and 250K, the 2.25 answers named the last function of the prompt correctly.

Failed:

  • LRU-cache task: the 2,048-token cap cut off the answer in all four 2.25 runs, because thinking used most of the budget. That is a flaw in my test, not an engine failure; it is reported as such in the README.

Not run:

  • the 1.75 bpw set, 2.00 in Full quality, and --dspark on with 2.00
  • strata bench run (its protocol is for Qwen only)
  • a needle or recall test at depth, and thinking on with long prompts
  • concurrent requests, pictures, battery power, Windows, and a cold page cache after a reboot
  • any comparison with another build: the drift check repeats the same build

Limits

This is one machine on one night, with synthetic prompts. There is no measurement of answer quality between Faster and Full quality: three coding tasks are too few.

The speed depends heavily on RAM:

  • The RAM store held 54 GB of experts, and the page cache held much of the rest.
  • During the 250K prompts on 2.25, available RAM fell to 13.6 GiB and 4.8 GiB went to zram.
  • A machine with less RAM, or with a desktop and browser open, will likely be slower. That was not measured.

No graphical session was running during the tests.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/4426 **Author:** [@30crows](https://github.com/30crows) **Created:** 10/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `community-rtx-4090-laptop-deepseek-v4.1` --- ### 📝 Commits (1) - [`e86e187`](https://github.com/Niko1221/Strata/commit/e86e1872599861e8145290beaa946e3a24680c9e) bench: community report, RTX 4090 Laptop 16 GB + 94 GiB RAM, DeepSeek V4.1-Flash IST-DAS 2.25 and 2.00 bpw, engine package 0.1.52 ### 📊 Changes **38 files changed** (+7720 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/README.md` (+277 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds200-faster.jsonl` (+3 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds225-dspark.jsonl` (+3 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds225-faster-again.jsonl` (+3 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds225-faster.jsonl` (+3 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/coding/ds225-full.jsonl` (+3 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds200-faster.json` (+43 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds225-dspark.json` (+43 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds225-faster.json` (+43 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds225-full.json` (+45 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/ds225-tune.json` (+43 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/tune-after.json` (+43 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/configs/tune-before.json` (+43 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds200-faster/initial-status.json` (+64 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds200-faster/results.json` (+561 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds200-faster/summary.json` (+150 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds225-faster/initial-status.json` (+64 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds225-faster/results.json` (+561 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/long-prompts/ds225-faster/summary.json` (+150 -0) ➕ `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/scripts/benchmark_ds.patch` (+38 -0) _...and 18 more files_ </details> ### 📄 Description ## Problem and result [DEEPSEEK41.md](https://github.com/Niko1221/Strata/blob/main/docs/DEEPSEEK41.md) says that the engine packages have carried sm_89 code since 0.2.7, but that it was "compiled here but not run". This report runs the release package `strata-dsv41` 0.1.52 (`0.1.52-linux-x86_64-cuda-cuda13`, from the update feed, not a local build) on an RTX 40 card. The machine is an RTX 4090 Laptop GPU (16 GB) with an i9-13900HX and 94 GiB of RAM. It ran without errors in every test of a night run (22:41 to 01:31), with prompts up to 250,000 tokens at a 262,144-token context. Results (medians, 3 runs per test): | | 2.25 bpw default (Faster, DSpark auto) | 2.25 Full quality (`--experts 6`) | 2.25 DSpark on | 2.00 bpw default | |---|---|---|---|---| | chat decode tok/s | 13.6 | 11.2 | 14.5 | 14.9 | | agent decode tok/s | 16.0 | 13.5 | 15.4 | 16.4 | | code with thinking, decode tok/s | 16.2 | 13.7 | 15.9 | 17.3 | | prompt tok/s at 4K / 32K | 436 / 800 | 387 / 755 | 392 / 787 | 463 / 833 | - **Long prompts (2.25):** - 128K: read at 685 tok/s, 187 s to the first token. - 250K: read at 664 tok/s, 377 s to the first token. - Decode is still 13.9 tok/s after the 250K prompt. - **2.00 bpw:** 2-19% faster than 2.25, except the 250K prompt, which was 6% slower. - **Full quality:** costs 15-18% of decode speed on this machine. - **DSpark forced on:** 76% of the drafted tokens were accepted on code, but decode did not change. The quick tuner measured the drafter 31% slower in its short test and kept nothing. - **`--dspark auto`:** its "not loaded" decision held on this 16 GB card. This differs from the 48 GB RTX 4090 in #3935, where `--dspark on` doubled decode. - **Repeat:** the default 2.25 run at the end of the night came within 4% of the first run. ## Related discussion - #3935: the DeepSeek engine was refused on an RTX 4090 because the packages had no sm_89 code. 0.2.7 added it, and this is a run of that package on an RTX 40 card. Whether the issue can be closed is for the maintainers to decide. ## Approach Results only. The PR adds one folder: `bench/results/2026-10-27-community-rtx-4090-laptop-deepseek-v4.1/`. It holds the README, per-request data, sanitized configs, engine logs, telemetry summaries and the scripts. There is no engine, docs or index change; I left the `COMMUNITY.md` row to the maintainers, as before. **Tests:** - `tools/strata_bench.py --long`, unchanged. - Three coding requests with thinking on. - The 2026-09-30 long-prompt script at 4K / 32K / 128K / 250K. **The long-prompt script needed a patch for DeepSeek**, included in the folder. It now uses the pack's own pre-tokenizer and special-token ids, as `serve/server.py` does, and counts the start token that the engine adds. Without the patch it built a 3,098-token prompt when asked for 4,096. ## Validation **Passed:** - **Setup:** `./setup.sh --setup --yes --family deepseek41 --model IST-DAS-2.25bpw --context 262144 --no-start`, and the same for `IST-DAS-2.00bpw`. Both ran on Strata 0.2.7 (`main` 5e8a4cca), Gentoo, driver 615.78.08. Setup fetched the package, checked the downloads, packed the models and passed its test question. - **Engine:** `cuobjdump --list-elf` on the installed `strata-dsv41` lists sm_86, sm_89 and sm_120. Every server started and reported ready in 12-14 s. - **Benchmark runs:** every run of all 5 strata_bench suites, all 5 coding sets and both long-prompt sweeps (24 requests) finished with exit 0. No request failed. - **Prompt sizes:** with the patch, the long-prompt script's prompts matched the server's token count to within one token. - **Answer checks:** - The merge-intervals answers pass their own tests in all 5 runs. - The shell scripts pass `sh -n`. 4 of 5 list the files in a folder with spaces in its names correctly; one also prints a `wc` "total" line. - At 4K, 128K and 250K, the 2.25 answers named the last function of the prompt correctly. **Failed:** - **LRU-cache task:** the 2,048-token cap cut off the answer in all four 2.25 runs, because thinking used most of the budget. That is a flaw in my test, not an engine failure; it is reported as such in the README. **Not run:** - the 1.75 bpw set, 2.00 in Full quality, and `--dspark on` with 2.00 - `strata bench run` (its protocol is for Qwen only) - a needle or recall test at depth, and thinking on with long prompts - concurrent requests, pictures, battery power, Windows, and a cold page cache after a reboot - any comparison with another build: the drift check repeats the same build ## Limits This is one machine on one night, with synthetic prompts. There is no measurement of answer quality between Faster and Full quality: three coding tasks are too few. The speed depends heavily on RAM: - The RAM store held 54 GB of experts, and the page cache held much of the rest. - During the 250K prompts on 2.25, available RAM fell to 13.6 GiB and 4.8 GiB went to zram. - A machine with less RAM, or with a desktop and browser open, will likely be slower. That was not measured. No graphical session was running during the tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:32:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5043
No description provided.