[GH-ISSUE #1991] Testing IQ2 & IQ3 with 4090 and 48GB RAM #790

Closed
opened 2026-11-04 01:45:54 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @FiringPin on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1991

Testing Strata's implementation of Qwen3.8 Flash Next IQ3_XXS across 6 different tests across 3 categories

Originally created by @FiringPin on GitHub (Oct 11, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1991 Testing Strata's implementation of Qwen3.8 Flash Next IQ3_XXS across 6 different tests across 3 categories
Author
Owner

@FiringPin commented on GitHub (Oct 11, 2026):

Benchmarks.xlsx

<!-- gh-comment-id:6112879293 --> @FiringPin commented on GitHub (Oct 11, 2026): [Benchmarks.xlsx](https://github.com/user-attachments/files/33311508/Benchmarks.xlsx)
Author
Owner

@hongxianzhi commented on GitHub (Oct 16, 2026):

Same quantization family on a 4090, measured today — sharing in case it is useful next to your tests.

My box differs from yours: 128 GiB of RAM, not 48 GiB, so how many experts stay in RAM and how
many are read over PCIe differs. Context 262,144 (the model native window), --kv int8 --kv-resident 32768, vision on, one request at a time. Each quantization was calibrated for this PC
first (setup.py --calibrate), then measured with tools/strata_bench.py --runs 3 --clients 4 --long
against a server that was already running. Medians of 3 runs, engine timings:

Quantization chat decode tok/s 4K prompt tok/s 16K prompt tok/s 32K prompt tok/s agent decode tok/s 4 clients total tok/s experts in RAM
IQ3_XXS 109.2 2634.9 4622.9 4771.2 132.3 95.3 39.97 GiB
IQ3_S 92.2 2158.7 4161.7 4228.6 119.8 74.8 46.84 GiB
Unsloth UD-Q4_K_XL 62.8 1310.9 2510.6 2498.1 80.7 47.8 71.73 GiB

Two things that surprised me and may be useful to you:

  • IQ3_S is slower than IQ3_XXS on this machine, at every length — −15.6 % chat decode, −18.1 % 4K,
    −10.0 % 16K, −11.4 % 32K, −9.4 % agent, −21.5 % with four clients — and it keeps 6.9 GiB more expert
    weights in RAM. That is consistent with the registry note in setup.py ("about 15% slower than
    IQ3_XXS and 7 GB more RAM"), which I could not find a measurement for before. The calibration probe
    on the same PC agreed: 126.9 tok/s for IQ3_S against 142.4 for IQ3_XXS.
  • UD-Q4_K_XL runs at about half of IQ3_XXS's speed here (chat 62.8 vs 109.2), so on this one card
    the IQ3-class files are the fast ones. The AMD numbers in docs/QUANTS.md are in the same order —
    IQ3_S 75 tok/s against UD-Q4_K_XL 63-64 — but the gap there is much smaller (~1.2× against ~1.5×
    here). I did not test why.

Recall, tools/needle_bench.py: IQ3_XXS found the needle at 128k and at 258,266 prompt tokens,
depths 10 % and 90 % (4 of 4); IQ3_S at 258,266 tokens, both depths (2 of 2). UD-Q4_K_XL was not
needle-tested in that session.

I put the four run folders (one per quantization plus a comparison summary) in PR #2795
(https://github.com/Niko1221/Strata/pull/2795) with the per-request results.json, and the description
there has the launch lines and the tuned settings. Caveat: it is a speed suite only — no quality or
coding evaluation was run, and the quality numbers in that summary are quoted from docs/QUANTS.md
on an AMD machine, not from mine.

<!-- gh-comment-id:6221451487 --> @hongxianzhi commented on GitHub (Oct 16, 2026): Same quantization family on a 4090, measured today — sharing in case it is useful next to your tests. **My box differs from yours: 128 GiB of RAM, not 48 GiB**, so how many experts stay in RAM and how many are read over PCIe differs. Context 262,144 (the model native window), `--kv int8 --kv-resident 32768`, vision on, one request at a time. Each quantization was calibrated for this PC first (`setup.py --calibrate`), then measured with `tools/strata_bench.py --runs 3 --clients 4 --long` against a server that was already running. Medians of 3 runs, engine timings: | Quantization | chat decode tok/s | 4K prompt tok/s | 16K prompt tok/s | 32K prompt tok/s | agent decode tok/s | 4 clients total tok/s | experts in RAM | | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | | IQ3_XXS | 109.2 | 2634.9 | 4622.9 | 4771.2 | 132.3 | 95.3 | 39.97 GiB | | IQ3_S | 92.2 | 2158.7 | 4161.7 | 4228.6 | 119.8 | 74.8 | 46.84 GiB | | Unsloth UD-Q4_K_XL | 62.8 | 1310.9 | 2510.6 | 2498.1 | 80.7 | 47.8 | 71.73 GiB | Two things that surprised me and may be useful to you: - **IQ3_S is slower than IQ3_XXS on this machine, at every length** — −15.6 % chat decode, −18.1 % 4K, −10.0 % 16K, −11.4 % 32K, −9.4 % agent, −21.5 % with four clients — and it keeps 6.9 GiB more expert weights in RAM. That is consistent with the registry note in `setup.py` ("about 15% slower than IQ3_XXS and 7 GB more RAM"), which I could not find a measurement for before. The calibration probe on the same PC agreed: 126.9 tok/s for IQ3_S against 142.4 for IQ3_XXS. - **UD-Q4_K_XL runs at about half of IQ3_XXS's speed here** (chat 62.8 vs 109.2), so on this one card the IQ3-class files are the fast ones. The AMD numbers in `docs/QUANTS.md` are in the same order — IQ3_S 75 tok/s against UD-Q4_K_XL 63-64 — but the gap there is much smaller (~1.2× against ~1.5× here). I did not test why. Recall, `tools/needle_bench.py`: IQ3_XXS found the needle at 128k and at 258,266 prompt tokens, depths 10 % and 90 % (4 of 4); IQ3_S at 258,266 tokens, both depths (2 of 2). UD-Q4_K_XL was not needle-tested in that session. I put the four run folders (one per quantization plus a comparison summary) in PR #2795 (https://github.com/Niko1221/Strata/pull/2795) with the per-request `results.json`, and the description there has the launch lines and the tuned settings. Caveat: it is a speed suite only — no quality or coding evaluation was run, and the quality numbers in that summary are quoted from `docs/QUANTS.md` on an AMD machine, not from mine.
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6270748681 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#790
No description provided.