[GH-ISSUE #298] Pruned experts on q2 model #142

Closed
opened 2026-11-04 01:40:24 +07:00 by bsakaguchi · 8 comments
Owner

Originally created by @merbanan on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/298

Based on the ideas of the coder model I pruned the experts of the q2 model. The reason for this is that I have a 8GiB VRAM RTX2060. I want to see if I can get something better then Qwen 3.6 35B running locally with only 8GiB of VRAM.

With the pruned model I get ~30t/s decode and ~150t/s prefill. Ca ~17.6 GiB resident in RAM, so in theory it could be possible to run this with 32GiB of system memory and the full size 26.8GiB of PLE served from NVME.

If this really is a better coder model then Qwen 3.6 35B is under testing. I am able to run a context up to 128k.

Originally created by @merbanan on GitHub (Sep 30, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/298 Based on the ideas of the coder model I pruned the experts of the q2 model. The reason for this is that I have a 8GiB VRAM RTX2060. I want to see if I can get something better then Qwen 3.6 35B running locally with only 8GiB of VRAM. With the pruned model I get ~30t/s decode and ~150t/s prefill. Ca ~17.6 GiB resident in RAM, so in theory it could be possible to run this with 32GiB of system memory and the full size 26.8GiB of PLE served from NVME. If this really is a better coder model then Qwen 3.6 35B is under testing. I am able to run a context up to 128k.
Author
Owner

@merbanan commented on GitHub (Sep 30, 2026):

Pruned q2 Qwen 3.8 Flash Next benchmark:
HumanEval (164 problems) │ 92.7% │ 28.9 tok/s
GPQA-Diamond (20 Qs) │ 25% │ 30.9 tok/s

It looks like it got stupid in the correct parts.

<!-- gh-comment-id:5920216053 --> @merbanan commented on GitHub (Sep 30, 2026): Pruned q2 Qwen 3.8 Flash Next benchmark: HumanEval (164 problems) │ 92.7% │ 28.9 tok/s GPQA-Diamond (20 Qs) │ 25% │ 30.9 tok/s It looks like it got stupid in the correct parts.
Author
Owner

@merbanan commented on GitHub (Sep 30, 2026):

Qwen3.6-35B-A3B benchmark:
GPQA-Diamond scored 35%
HumanEval (164 problems) 89%

<!-- gh-comment-id:5920735527 --> @merbanan commented on GitHub (Sep 30, 2026): Qwen3.6-35B-A3B benchmark: GPQA-Diamond scored 35% HumanEval (164 problems) 89%
Author
Owner

@merbanan commented on GitHub (Sep 30, 2026):

I'll continue testing but it seems like pruning the experts of the q2 model might be a better coder for 8GB VRAM computers then Qwen 3.6 35B.

@Niko1221 will you accept an expert pruning converter script for the q2 model ?

<!-- gh-comment-id:5920773708 --> @merbanan commented on GitHub (Sep 30, 2026): I'll continue testing but it seems like pruning the experts of the q2 model might be a better coder for 8GB VRAM computers then Qwen 3.6 35B. @Niko1221 will you accept an expert pruning converter script for the q2 model ?
Author
Owner

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

A pruning converter is welcome as an experimental tool under tools/ (outside setup), with a quality measurement against the full model. Closing as answered.

<!-- gh-comment-id:5925960205 --> @Niko1221 commented on GitHub (Oct 1, 2026): A pruning converter is welcome as an experimental tool under tools/ (outside setup), with a quality measurement against the full model. Closing as answered.
Author
Owner

@merbanan commented on GitHub (Oct 1, 2026):

With some more changes I get ~35t/s and much better prefill estimated 400+ t/s. With that you get a quite decent agentic coder. The big question then is the quality.

<!-- gh-comment-id:5928315996 --> @merbanan commented on GitHub (Oct 1, 2026): With some more changes I get ~35t/s and much better prefill estimated 400+ t/s. With that you get a quite decent agentic coder. The big question then is the quality.
Author
Owner

@merbanan commented on GitHub (Oct 1, 2026):

I did the math now and if everything checks out even 6GB VRAM should be doable with ok, but with less speed.

<!-- gh-comment-id:5928587575 --> @merbanan commented on GitHub (Oct 1, 2026): I did the math now and if everything checks out even 6GB VRAM should be doable with ok, but with less speed.
Author
Owner

@sathya731 commented on GitHub (Oct 4, 2026):

@merbanan is it possible to run it with 6 gb vram + 24 gb ram?

<!-- gh-comment-id:5975612511 --> @sathya731 commented on GitHub (Oct 4, 2026): @merbanan is it possible to run it with 6 gb vram + 24 gb ram?
Author
Owner

@merbanan commented on GitHub (Oct 4, 2026):

It needed 17-18GB so 24GB might be doable but there wasnt enough "brain" left. You need to stream the experts from nvme for the equation to hold if you also need a somewhat capable model.

<!-- gh-comment-id:5979678663 --> @merbanan commented on GitHub (Oct 4, 2026): It needed 17-18GB so 24GB might be doable but there wasnt enough "brain" left. You need to stream the experts from nvme for the equation to hold if you also need a somewhat capable model.
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#142
No description provided.