mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #89] Speed report: 4x RTX 4090 24 GB, Xeon w7-3445, 62 GB RAM - Maya-S24, 118 tok/s decode / 4129 tok/s prefill (8K), 262K context runs + question about an uncensored variant #34
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#34
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 @0xPreDa on GitHub (Oct 10, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/89
Following the README's "Measured by users" section and CONTRIBUTING.md, here is a speed report for a machine that is not in the table yet: 4x RTX 4090 24 GB, Maya-S24, 118 tok/s decode / 4129 tok/s prefill (8K) on v1.0.31.
maya-bench.txtandmaya-report.txtare attached. At the end there is also a question about an uncensored variant.Hardware
[0,13) [13,24) [24,35) [35,45))./maya.sh --bench(131K context,STRATA_GLM_RAM_GB=40)--prefill auto(8192-token chunks on the split)--prefill 512--prefill 2048--prefill 2048, measured again the next day--prefill 2048(same session as the row above)--prefill 2048+PREFETCH_N=1 AT=fetch BLOCKS=4 RANK=2--prefill autochooses 8192-token chunks that borrow about 2 GB of each card's expert pool. That roughly halves prefill compared with 512 or 2048. On 24 GB cards, the auto setting may be too aggressive for a split.Rows from the README table, for comparison (the models differ):
Real workload (OpenAI API, temperature 1.0, thinking on)
Maya's
serve/server.pyruns behind our own model manager. A fixed set of 4 agent-style coding prompts (150 to 13K tokens) was run with a warm cache:--prefill 2048--prefill 2048The instance now runs v1.0.31 at 262K.
262K context, which is above the 131072 maximum that setup offers but well inside the 1M training context:
Two notes from the setup
STRATA_GLM_RAM_GB=40(this may be related to #77). The installer or the README could mention it for ZFS users.curlreached about 4 MB/s here. When I switched tohf download(xet), it did not resume from its own.incompletefiles after an interruption, so I renamed the partial files and resumed them withcurl -C -. All sha256 checks passed.Question: an uncensored GLM-5.3-Flash variant for red-team / penetration-testing use
We use Maya for authorized security work: internal red-team exercises, penetration-test reporting and exploit analysis on systems we are contracted to test. On these topics the stock model sometimes refuses or hedges, even when the context makes clear that the work is authorized.
--gguf-dir? Does it need to follow a particular quant layout, such as IQ2_XXS experts with Q4_K attention, to work with the GLM pack and MTP?Thanks for Maya. Going from a 27B dense model to a 321B MoE at about 100 tok/s on this machine is impressive.
maya-bench.txt(v1.0.31, 131K,--prefill 2048)maya-report.txt@mw00 commented on GitHub (Oct 11, 2026):
Thank you, this is a great report. 118 tok/s on four 4090s goes into the README's table (#100).
An uncensored variant: v1.0.32 added Maya-M-Derisked: Maya-M (116 GB) with a directional weight modification that reduces blanket refusals. It has the same IQ2_S files and MTP block, with some weights changed. It is experimental: how close it stays to Maya-M hasn't been measured yet. Set it up with
./setup.sh --setup --model Maya-M-Derisked. There's no S24-sized version of it yet. On your four cards Maya-M's 116 GB mostly fits in VRAM, so it should run well there.A community abliterated GGUF with
--gguf-dir: any GLM-5.3-Flash GGUF (architectureglm5-next) works. It doesn't need Maya's layout: the pack takes the quant types it finds. For MTP drafting it needs the NextN block (blk.45.*). Without it the engine decodes without drafts. Quants other than Maya's are experimental (they run, but we don't measure them).ZFS: good catch. #99 counts what ZFS's ARC holds above its floor as free RAM (the ARC gives it back under pressure), so the RAM tier is sized right without pinning
STRATA_GLM_RAM_GB. It goes into the next release.--prefill autoon a split of 24 GB cards: on your machine every expert is in VRAM. The 8192-token chunk borrows ~2 GB of each card's expert pool for a prompt, so the experts it pushes out come back from RAM and your SATA disks. The fix we're preparing is a "complete pool" mode: when VRAM holds every expert, prompts borrow only the free tail. It's measured on a Strix Halo; I'll ask you to try it on the four 4090s when there's a branch. Until then--prefill 2048is the right setting there.Your #92, #93 and #94 are being tested here now. Results go on each PR.
@mw00 commented on GitHub (Oct 11, 2026):
Out in v1.0.33: ZFS's ARC above its floor now counts as free RAM, so
STRATA_GLM_RAM_GBshouldn't be needed for that anymore, along with your #93 and #94. The complete-pool branch for--prefill autoon your four cards is #101; a run of it would tell us whether it gives the prefill back.@0xPreDa commented on GitHub (Oct 11, 2026):
Thanks for the detailed answer, and for merging #93 and #94 so quickly.
A Derisked build at S24 size? Maya-M-Derisked is exactly what I was after, but on 4x RTX 4090 it doesn't fit the way S24 does. Maya-M's 116 GB leaves ~30 GB of experts outside VRAM: about 78 GB of expert pool against ~111 GB of experts. With 62 GB of RAM and only SATA SSDs (raidz1 QVO), that spill is expensive. Today S24 runs at 110-118 tok/s with ~99.8% VRAM hits, 262K context and
STRATA_GLM_SEQS=4. I'd have to give up most of that to run M-Derisked.Would you consider publishing Maya-S24-Derisked, meaning the
maya-s24.jsonrecipe applied to Blackfrost's derisked weights? 24 GB cards are probably the most common setup among people asking for an uncensored variant, and S24 is the only size that stays fully in VRAM on them.If that's not planned, a pointer on how you built M-Derisked would help me try it myself. Did you requantize from the derisked FP8 with your activation statistics, or apply the weight modification to the existing Maya-M tensors? I can run the KL and zero-shot evals from
tools/maya_quanton the result and report back.@mw00 commented on GitHub (Oct 11, 2026):
On how Maya-M-Derisked was made: it isn't a requant. Blackfrost_AI applied a directional weight modification (DWM) directly to our Maya-M IQ2_S GGUF:
The method and its data (directions, prompt pairs, parameters) are Blackfrost_AI's own and not public, so it can't be redone with
tools/maya_quant. The model card has the details.So a Maya-S24-Derisked would mean the same edit applied to Maya-S24. There's no plan for one yet, but your case makes a good argument for it: 24 GB cards, and S24 being the size that stays in VRAM there. It's noted.
@mw00 commented on GitHub (Oct 11, 2026):
A follow-up on Maya-S24-Derisked: it isn't in the plan for now, but the door isn't closed. We'll come back to it, maybe soon, maybe after a while, and we'll say so here when we do. Thank you for your patience, and for making such a clear case for 24 GB cards.
@mw00 commented on GitHub (Oct 12, 2026):
Closing: the 4x RTX 4090 row is in the README's table, and the Maya-S24-Derisked idea stays noted - we'll post here if it happens. Thank you again.