[GH-ISSUE #494] Speed report: 10x RTX 3090 (TP2) + 64 GB — DeepSeek-V4.1-Flash-1017 EXL3 2.9 bpw: 97 tok/s decode, 1,900–2,390 tok/s prefill, 1M context (v1.1.28) #197

Open
opened 2026-10-29 21:22:27 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @DoktorMincs on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/494

Ten RTX 3090s on one box, the 2.9 bpw EXL3 pack (414 GB: 211 GB trunk + 203 GB Engram) as five tensor-parallel
pairs (--tp 2), 1M context and DSpark drafting. The numbers below are a context sweep — two runs at each of four
lengths against the live server. The engine's own STAT line is the authority for prefill and decode; the client clock
only for TTFT.

Maya v1.1.28 (6afa525, 2026-10-25); stock engine built here for sm_86 with CUDA 13.3
GPU 10x RTX 3090 24 GB (24576 MiB), driver 610.43.02, PCIe 4.0 x4 (x16 slot), 200 W each, no clock lock
CPU Intel Xeon, 56 cores / 112 threads, AVX-512 (the container's cpuset gives the engine 24 threads; the CPU lane uses 22)
RAM 64 GB to the container, 2 NUMA nodes
Disk Force MP600 1.8 TB NVMe (the model's safetensors and the Engram tables are read from it)
Model DeepSeek-V4.1-Flash-1017, EXL3 2.9 bpw: 40 trunk layers, 384 experts, DSpark drafter and vision tower
Settings --max-context 1048576 --tp 2 --reserve-mib 600 --dspark on; DS4_ATTN_SLAB_MB=8, DS4_W16_MB=16, DS4_REQUIRE_ALL_RAM=0, DS4_PREFILL_STATS=1; --calibrate not used (it hangs on this pack — see below)

Context sweep (bench_ttft.py, 2 runs per length, 128 max tokens, a fresh nonce at the start of every prompt — 0
tokens reused in all 8 runs):

Length Prompt TTFT (reasoning) TTFT (answer) Prefill Decode GPU average / peak at the 200 W cap
short 1,049 tok 2.166 s 2.215 s 486 tok/s 98.6 tok/s 1,586 / 1,663 W 50%
medium 31,907 tok 15.211 s 15.262 s 2,118 tok/s 102.2 tok/s 1,702 / 1,817 W 42%
long 127,471 tok 53.885 s 53.942 s 2,390 tok/s 97.4 tok/s 1,789 / 1,862 W 53%
extra-long 398,235 tok 210.801 s 210.852 s 1,903 tok/s 89.7 tok/s 1,846 / 1,895 W 56%
  • Every run generated 74 tokens (the answer stopped before the 128-token limit), so decode is comparable across
    rows; mean 97.0 tok/s.
  • TTFT for the answer is only ~50 ms after the reasoning's first token — the reasoning closes after one token on this
    setup, so TTFT is essentially the prefill.
  • Prefill peaks at 128K (2,390 tok/s) and falls to 1,903 at 400K, the same shape as earlier sweeps on this box
    (2,092 / 2,341 / 1,806 at 32K / 128K / 400K with v1.1.26). The 400K prompt costs 210.8 s before its first token:
    the engine read 398,235 tokens at 1,889 tok/s, generated 74 in 843 ms (87.7 tok/s), expert cache 100.0% hit.
  • Power: 1,586–1,846 W average, 1,895 W peak of a 2,000 W cap (10 x 200 W), 42–56% of the samples in SW Power Cap; a 210 s run at ~1.85 kW did not trip the supply.
  • Engine load: 106–118 s from systemctl start to ready:.

What the engine reports: five tensor-parallel pairs (layers 0–5 | 6–13 | 14–23 | 24–31 | 32–39), memory.used
16,226–23,552 MiB per card and 576–7,902 MiB free. 641 routed experts live on the CPU lane (8.5 GB of RAM); during
the sweep the CPU lane served 0.0% of the experts and the expert cache hit 100.0%. DSpark kept 53 of 67 drafts
(79%) at 400K. The lead GPU (0) also holds the three DSpark blocks and the vision tower: 1.16 GB of dense weights
against 0.52–0.96 GB on the others, and 576 MiB free against 7,902 MiB on its pair member.

Two things worth knowing:

  • The first chunked prompt after a boot can hang. The first sweep attempt stuck on the first 1,046-token prompt:
    GPUs 0/1 sat at 0% and 210 MHz while the other eight ran at 100%, and the engine never answered (reading the prompt ... 40 s so far). A restart fixed it; a 1,480-token probe then passed in 3.7 s and the full sweep ran. This
    was seen at v1.1.26, v1.1.27 and v1.1.28, on this pack, always the first large prompt after a start.
  • --calibrate hangs deterministically (2 of 2) on this pack with 10 GPUs: the weight load finishes and the
    engine never prints ready:, leaving an orphan engine; it is not used. On one earlier crash (a different, locally
    re-packed variant) the same path logged exl3 mv: an illegal memory access and Xid 13 (out-of-range address) on
    GPUs 0/1 — possibly a useful lead for the hang.

The pack is a local EXL3 2.9 bpw build, not a stock download: its attn.wo_b matrices were re-packed into a
separate shard. Its quality numbers would not transfer to another install; the speed numbers above do not depend on it.

maya-report.txt (from ./maya.sh --report) is below. Happy to run any setting or kernel variant you would find
useful on a 10-GPU box.

maya-report.txt
## Maya
version 1.1.28, commit 6afa525 2026-10-25, Python 3.12.12, linux

## System
Linux-7.0.14-22-pve-x86_64-with-glibc2.41

## GPUs
index, name, memory.total [MiB], memory.used [MiB], driver_version, pcie.link.gen.max, pcie.link.width.current, pcie.link.width.max, power.limit [W], temperature.gpu
0, NVIDIA GeForce RTX 3090, 24576 MiB, 23552 MiB, 610.43.02, 4, 4, 16, 200.00 W, 38
1, NVIDIA GeForce RTX 3090, 24576 MiB, 16226 MiB, 610.43.02, 4, 4, 16, 200.00 W, 45
2, NVIDIA GeForce RTX 3090, 24576 MiB, 22368 MiB, 610.43.02, 4, 4, 16, 200.00 W, 43
3, NVIDIA GeForce RTX 3090, 24576 MiB, 22368 MiB, 610.43.02, 4, 4, 16, 200.00 W, 46
4, NVIDIA GeForce RTX 3090, 24576 MiB, 23550 MiB, 610.43.02, 4, 4, 16, 200.00 W, 40
5, NVIDIA GeForce RTX 3090, 24576 MiB, 23550 MiB, 610.43.02, 4, 4, 16, 200.00 W, 42
6, NVIDIA GeForce RTX 3090, 24576 MiB, 22406 MiB, 610.43.02, 4, 4, 16, 200.00 W, 48
7, NVIDIA GeForce RTX 3090, 24576 MiB, 22406 MiB, 610.43.02, 4, 4, 16, 200.00 W, 45
8, NVIDIA GeForce RTX 3090, 24576 MiB, 22816 MiB, 610.43.02, 4, 4, 16, 200.00 W, 42
9, NVIDIA GeForce RTX 3090, 24576 MiB, 22680 MiB, 610.43.02, 4, 4, 16, 200.00 W, 44

## CPU and RAM
Genuine Intel(R) 0000, 24 threads, AVX-512
RAM 64.0 GB, 44.7 GB available now

## Disks
NAME    MODEL                                    ROTA TRAN     SIZE
sda                                                 0 usb    931.5G
nvme0n1 Force MP600                                 0 nvme     1.8T

## Engine build
{"archs": [86], "nvcc": "/usr/local/cuda-13.3/bin/nvcc", "host_compiler": null, "date": "2026-10-25 17:53"}

## Setup maya-ds4.json
model DeepSeek-V4.1-Flash-1017, context 1048576, GPUs [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], images on, settings {"DS4_REQUIRE_ALL_RAM": "0", "DS4_PREFILL_STATS": "1", "DS4_ATTN_SLAB_MB": "8", "DS4_W16_MB": "16", "STRATA_DS4_STREAM": "0", "STRATA_DS4_SLOT_KEEP": "1", "STRATA_DS4_KEEP_THINKING": "1"}
model folder ~/models/DeepSeek-V4.1-Flash-1017: 0.0 GB of GGUF, 140 GB free, not a hard disk

## Engine log maya-ds4.log: the speed and memory lines (last 80 of 857)
ds4: 641 routed experts on the CPU lane (8.5 GB of RAM, 2 NUMA parts), 22 threads
ds4 slots: folder ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots: 0 conversation(s) kept from earlier runs (0.00 GB)
ds4: CUDA0 layers [0, 42] (tensor parallel 2, part 0): weights 1.16 GB, experts 20.75 GB (2275 of 2688 in VRAM), caches 0.19 GB, 578 MiB free
ds4: CUDA1 layers [0, 5] (tensor parallel 2, part 1): weights 0.72 GB, experts 13.94 GB (1891 of 2304 in VRAM), caches 0.19 GB, 7904 MiB free
ds4: CUDA2 layers [6, 13] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free
ds4: CUDA3 layers [6, 13] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free
ds4: CUDA4 layers [14, 23] (tensor parallel 2, part 0): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free
ds4: CUDA5 layers [14, 23] (tensor parallel 2, part 1): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free
ds4: CUDA6 layers [24, 31] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free
ds4: CUDA7 layers [24, 31] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free
ds4: CUDA8 layers [32, 39] (tensor parallel 2, part 0) + head: weights 0.95 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1312 MiB free
ds4: CUDA9 layers [32, 39] (tensor parallel 2, part 1): weights 0.81 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1448 MiB free
ds4: 641 routed experts on the CPU lane (8.5 GB of RAM, 2 NUMA parts), 22 threads
ds4 slots: folder ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots: 0 conversation(s) kept from earlier runs (0.00 GB)
ds4: CUDA1 prompt attention on the tensor cores (sm_86)
ds4: CUDA0 prompt attention on the tensor cores (sm_86)
ds4: CUDA3 prompt attention on the tensor cores (sm_86)
ds4: CUDA2 prompt attention on the tensor cores (sm_86)
ds4: CUDA5 prompt attention on the tensor cores (sm_86)
ds4: CUDA4 prompt attention on the tensor cores (sm_86)
ds4: CUDA6 prompt attention on the tensor cores (sm_86)
ds4: CUDA7 prompt attention on the tensor cores (sm_86)
ds4: CUDA9 prompt attention on the tensor cores (sm_86)
ds4: CUDA8 prompt attention on the tensor cores (sm_86)
ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 1 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 18090-token conversation (0.03 GB in RAM in 0.0 s); 2 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 3 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: took back a 18059-token conversation at token 18059 of 18089 from RAM (0.0 s); 1 new tokens to read
ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 3 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: took back a 18059-token conversation at token 18059 of 18090 from RAM (0.1 s); 1 new tokens to read
ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 4 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: took back a 18059-token conversation at token 18059 of 18089 from RAM (0.0 s); 1 new tokens to read
ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 4 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 1684-token conversation (0.01 GB in RAM in 0.1 s); 4 in RAM, 1 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 16676-token conversation as the engine ended (0.03 GB in RAM in 0.2 s); 4 in RAM, 2 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: wrote 4 conversation(s) to ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots; 6 there in all
ds4: CUDA0 layers [0, 42] (tensor parallel 2, part 0): weights 1.16 GB, experts 20.75 GB (2275 of 2688 in VRAM), caches 0.19 GB, 576 MiB free
ds4: CUDA1 layers [0, 5] (tensor parallel 2, part 1): weights 0.72 GB, experts 13.94 GB (1891 of 2304 in VRAM), caches 0.19 GB, 7902 MiB free
ds4: CUDA2 layers [6, 13] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free
ds4: CUDA3 layers [6, 13] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free
ds4: CUDA4 layers [14, 23] (tensor parallel 2, part 0): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free
ds4: CUDA5 layers [14, 23] (tensor parallel 2, part 1): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free
ds4: CUDA6 layers [24, 31] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free
ds4: CUDA7 layers [24, 31] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free
ds4: CUDA8 layers [32, 39] (tensor parallel 2, part 0) + head: weights 0.95 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1312 MiB free
ds4: CUDA9 layers [32, 39] (tensor parallel 2, part 1): weights 0.81 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1448 MiB free
ds4: 641 routed experts on the CPU lane (8.5 GB of RAM, 2 NUMA parts), 22 threads
ds4 slots: folder ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots: 6 conversation(s) kept from earlier runs (0.15 GB)
ds4: CUDA0 prompt attention on the tensor cores (sm_86)
ds4: CUDA1 prompt attention on the tensor cores (sm_86)
ds4: CUDA0 layers [0, 42] (tensor parallel 2, part 0): weights 1.16 GB, experts 20.75 GB (2275 of 2688 in VRAM), caches 0.19 GB, 576 MiB free
ds4: CUDA1 layers [0, 5] (tensor parallel 2, part 1): weights 0.72 GB, experts 13.94 GB (1891 of 2304 in VRAM), caches 0.19 GB, 7902 MiB free
ds4: CUDA2 layers [6, 13] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free
ds4: CUDA3 layers [6, 13] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free
ds4: CUDA4 layers [14, 23] (tensor parallel 2, part 0): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free
ds4: CUDA5 layers [14, 23] (tensor parallel 2, part 1): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free
ds4: CUDA6 layers [24, 31] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free
ds4: CUDA7 layers [24, 31] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free
ds4: CUDA8 layers [32, 39] (tensor parallel 2, part 0) + head: weights 0.95 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1312 MiB free
ds4: CUDA9 layers [32, 39] (tensor parallel 2, part 1): weights 0.81 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1448 MiB free
ds4: 641 routed experts on the CPU lane (8.5 GB of RAM, 2 NUMA parts), 22 threads
ds4 slots: folder ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots: 6 conversation(s) kept from earlier runs (0.15 GB)
ds4: CUDA1 prompt attention on the tensor cores (sm_86)
ds4: CUDA0 prompt attention on the tensor cores (sm_86)
ds4: CUDA2 prompt attention on the tensor cores (sm_86)
ds4: CUDA3 prompt attention on the tensor cores (sm_86)
ds4: CUDA4 prompt attention on the tensor cores (sm_86)
ds4: CUDA5 prompt attention on the tensor cores (sm_86)
ds4: CUDA7 prompt attention on the tensor cores (sm_86)
ds4: CUDA6 prompt attention on the tensor cores (sm_86)
ds4: CUDA9 prompt attention on the tensor cores (sm_86)
ds4: CUDA8 prompt attention on the tensor cores (sm_86)
ds4 slots: saved a 1487-token conversation (0.01 GB in RAM in 0.0 s); 1 in RAM, 6 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 1123-token conversation (0.01 GB in RAM in 0.0 s); 2 in RAM, 6 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 1123-token conversation (0.01 GB in RAM in 0.0 s); 3 in RAM, 6 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 31982-token conversation (0.04 GB in RAM in 0.1 s); 4 in RAM, 6 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 31981-token conversation (0.04 GB in RAM in 0.1 s); 4 in RAM, 7 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 127545-token conversation (0.13 GB in RAM in 0.2 s); 4 in RAM, 8 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 127545-token conversation (0.13 GB in RAM in 0.2 s); 4 in RAM, 9 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots
ds4 slots: saved a 398309-token conversation (0.38 GB in RAM in 0.7 s); 4 in RAM, 10 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots

## Engine log maya-ds4.log: the last 25 lines
[maya] reading the prompt: 387,505 of 398,235 tokens, 199 s so far
[maya] reading the prompt: 387,505 of 398,235 tokens, 200 s so far
[maya] reading the prompt: 387,505 of 398,235 tokens, 201 s so far
[maya] reading the prompt: 391,584 of 398,235 tokens, 202 s so far
[maya] reading the prompt: 391,584 of 398,235 tokens, 203 s so far
DS4_PREFILL gpu=3 tokens=398235 chunk=4096 expert_row_picks=19115280 vram_row_picks=19115280 unique_expert_uses=150921 vram_unique_expert_uses=150921 streamed_weight_bytes=0
DS4_PREFILL gpu=2 tokens=398235 chunk=4096 expert_row_picks=19115280 vram_row_picks=19115280 unique_expert_uses=150921 vram_unique_expert_uses=150921 streamed_weight_bytes=0
[maya] reading the prompt: 391,584 of 398,235 tokens, 204 s so far
[maya] reading the prompt: 395,567 of 398,235 tokens, 205 s so far
[maya] reading the prompt: 395,567 of 398,235 tokens, 206 s so far
[maya] reading the prompt: 395,567 of 398,235 tokens, 207 s so far
[maya] reading the prompt: 395,567 of 398,235 tokens, 208 s so far
DS4_PREFILL gpu=4 tokens=398235 chunk=4096 expert_row_picks=14400492 vram_row_picks=14386592 unique_expert_uses=101612 vram_unique_expert_uses=99309 streamed_weight_bytes=114130918656
DS4_PREFILL gpu=5 tokens=398235 chunk=4096 expert_row_picks=14400492 vram_row_picks=14386592 unique_expert_uses=101612 vram_unique_expert_uses=99309 streamed_weight_bytes=114130918656
[maya] reading the prompt: 395,567 of 398,235 tokens, 209 s so far
DS4_PREFILL gpu=6 tokens=398235 chunk=4096 expert_row_picks=128064 vram_row_picks=128064 unique_expert_uses=1332 vram_unique_expert_uses=1332 streamed_weight_bytes=0
DS4_PREFILL gpu=7 tokens=398235 chunk=4096 expert_row_picks=128064 vram_row_picks=128064 unique_expert_uses=1332 vram_unique_expert_uses=1332 streamed_weight_bytes=0
[maya] reading the prompt: 395,567 of 398,235 tokens, 210 s so far
DS4_PREFILL gpu=8 tokens=398235 chunk=4096 expert_row_picks=128064 vram_row_picks=128064 unique_expert_uses=1122 vram_unique_expert_uses=1122 streamed_weight_bytes=0
DS4_PREFILL gpu=9 tokens=398235 chunk=4096 expert_row_picks=128064 vram_row_picks=128064 unique_expert_uses=1122 vram_unique_expert_uses=1122 streamed_weight_bytes=0
[maya] thinking reached its budget (1 tokens): closed, answering
[maya] answering: 34 of max 128 tokens, 72.9 tok/s, 212 s
maya ds4 serve: prompt 398235 tokens = 0 reused + 398235 read in 210804 ms (1889.1 tok/s), 74 generated in 843 ms (87.74 tok/s); CPU lane 0.0% of the experts
maya ds4 serve: drafts 53 of 67 kept; per position (kept / reached): 1: 16/17 94% 2: 14/15 93% 3: 10/12 83% 4: 7/7 100% 5: 6/7 86%
[maya] done: 74 tokens in 212 s (87.6 tok/s) (stop, cancel=False), expert cache 100.0% hit

Note: the report's "model folder ... 0.0 GB of GGUF" is because this is an EXL3 pack: the weights are the model's
safetensors read in place, and the pack folder itself holds only metadata (241 MB).

Originally created by @DoktorMincs on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/494 Ten RTX 3090s on one box, the 2.9 bpw EXL3 pack (414 GB: 211 GB trunk + 203 GB Engram) as five tensor-parallel pairs (`--tp 2`), 1M context and DSpark drafting. The numbers below are a context sweep — two runs at each of four lengths against the live server. The engine's own STAT line is the authority for prefill and decode; the client clock only for TTFT. | | | | --- | --- | | Maya | v1.1.28 (`6afa525`, 2026-10-25); stock engine built here for sm_86 with CUDA 13.3 | | GPU | 10x RTX 3090 24 GB (24576 MiB), driver 610.43.02, PCIe 4.0 **x4** (x16 slot), 200 W each, no clock lock | | CPU | Intel Xeon, 56 cores / 112 threads, AVX-512 (the container's cpuset gives the engine 24 threads; the CPU lane uses 22) | | RAM | 64 GB to the container, 2 NUMA nodes | | Disk | Force MP600 1.8 TB NVMe (the model's safetensors and the Engram tables are read from it) | | Model | DeepSeek-V4.1-Flash-1017, EXL3 2.9 bpw: 40 trunk layers, 384 experts, DSpark drafter and vision tower | | Settings | `--max-context 1048576 --tp 2 --reserve-mib 600 --dspark on`; `DS4_ATTN_SLAB_MB=8`, `DS4_W16_MB=16`, `DS4_REQUIRE_ALL_RAM=0`, `DS4_PREFILL_STATS=1`; `--calibrate` not used (it hangs on this pack — see below) | **Context sweep** (`bench_ttft.py`, 2 runs per length, 128 max tokens, a fresh nonce at the start of every prompt — 0 tokens reused in all 8 runs): | Length | Prompt | TTFT (reasoning) | TTFT (answer) | Prefill | Decode | GPU average / peak | at the 200 W cap | | --- | --- | --- | --- | --- | --- | --- | --- | | short | 1,049 tok | 2.166 s | **2.215 s** | **486 tok/s** | **98.6 tok/s** | 1,586 / 1,663 W | 50% | | medium | 31,907 tok | 15.211 s | **15.262 s** | **2,118 tok/s** | **102.2 tok/s** | 1,702 / 1,817 W | 42% | | long | 127,471 tok | 53.885 s | **53.942 s** | **2,390 tok/s** | **97.4 tok/s** | 1,789 / 1,862 W | 53% | | extra-long | 398,235 tok | 210.801 s | **210.852 s** | **1,903 tok/s** | **89.7 tok/s** | 1,846 / 1,895 W | 56% | - Every run generated **74 tokens** (the answer stopped before the 128-token limit), so decode is comparable across rows; mean **97.0 tok/s**. - TTFT for the answer is only ~50 ms after the reasoning's first token — the reasoning closes after one token on this setup, so **TTFT is essentially the prefill**. - Prefill peaks at 128K (**2,390 tok/s**) and falls to 1,903 at 400K, the same shape as earlier sweeps on this box (2,092 / 2,341 / 1,806 at 32K / 128K / 400K with v1.1.26). The 400K prompt costs **210.8 s before its first token**: the engine read 398,235 tokens at 1,889 tok/s, generated 74 in 843 ms (87.7 tok/s), expert cache 100.0% hit. - Power: **1,586–1,846 W average, 1,895 W peak** of a 2,000 W cap (10 x 200 W), 42–56% of the samples in `SW Power Cap`; a 210 s run at ~1.85 kW did not trip the supply. - Engine load: **106–118 s** from `systemctl start` to `ready:`. **What the engine reports:** five tensor-parallel pairs (layers 0–5 | 6–13 | 14–23 | 24–31 | 32–39), memory.used 16,226–23,552 MiB per card and 576–7,902 MiB free. **641 routed experts live on the CPU lane (8.5 GB of RAM)**; during the sweep the CPU lane served **0.0% of the experts** and the expert cache hit 100.0%. DSpark kept 53 of 67 drafts (79%) at 400K. The lead GPU (0) also holds the three DSpark blocks and the vision tower: 1.16 GB of dense weights against 0.52–0.96 GB on the others, and 576 MiB free against 7,902 MiB on its pair member. **Two things worth knowing:** - **The first chunked prompt after a boot can hang.** The first sweep attempt stuck on the first 1,046-token prompt: GPUs 0/1 sat at 0% and 210 MHz while the other eight ran at 100%, and the engine never answered (`reading the prompt ... 40 s so far`). A restart fixed it; a 1,480-token probe then passed in 3.7 s and the full sweep ran. This was seen at v1.1.26, v1.1.27 and v1.1.28, on this pack, always the first large prompt after a start. - **`--calibrate` hangs deterministically (2 of 2)** on this pack with 10 GPUs: the weight load finishes and the engine never prints `ready:`, leaving an orphan engine; it is not used. On one earlier crash (a different, locally re-packed variant) the same path logged `exl3 mv: an illegal memory access` and Xid 13 (out-of-range address) on GPUs 0/1 — possibly a useful lead for the hang. The pack is a **local EXL3 2.9 bpw build**, not a stock download: its `attn.wo_b` matrices were re-packed into a separate shard. Its quality numbers would not transfer to another install; the speed numbers above do not depend on it. `maya-report.txt` (from `./maya.sh --report`) is below. Happy to run any setting or kernel variant you would find useful on a 10-GPU box. <details><summary>maya-report.txt</summary> ``` ## Maya version 1.1.28, commit 6afa525 2026-10-25, Python 3.12.12, linux ## System Linux-7.0.14-22-pve-x86_64-with-glibc2.41 ## GPUs index, name, memory.total [MiB], memory.used [MiB], driver_version, pcie.link.gen.max, pcie.link.width.current, pcie.link.width.max, power.limit [W], temperature.gpu 0, NVIDIA GeForce RTX 3090, 24576 MiB, 23552 MiB, 610.43.02, 4, 4, 16, 200.00 W, 38 1, NVIDIA GeForce RTX 3090, 24576 MiB, 16226 MiB, 610.43.02, 4, 4, 16, 200.00 W, 45 2, NVIDIA GeForce RTX 3090, 24576 MiB, 22368 MiB, 610.43.02, 4, 4, 16, 200.00 W, 43 3, NVIDIA GeForce RTX 3090, 24576 MiB, 22368 MiB, 610.43.02, 4, 4, 16, 200.00 W, 46 4, NVIDIA GeForce RTX 3090, 24576 MiB, 23550 MiB, 610.43.02, 4, 4, 16, 200.00 W, 40 5, NVIDIA GeForce RTX 3090, 24576 MiB, 23550 MiB, 610.43.02, 4, 4, 16, 200.00 W, 42 6, NVIDIA GeForce RTX 3090, 24576 MiB, 22406 MiB, 610.43.02, 4, 4, 16, 200.00 W, 48 7, NVIDIA GeForce RTX 3090, 24576 MiB, 22406 MiB, 610.43.02, 4, 4, 16, 200.00 W, 45 8, NVIDIA GeForce RTX 3090, 24576 MiB, 22816 MiB, 610.43.02, 4, 4, 16, 200.00 W, 42 9, NVIDIA GeForce RTX 3090, 24576 MiB, 22680 MiB, 610.43.02, 4, 4, 16, 200.00 W, 44 ## CPU and RAM Genuine Intel(R) 0000, 24 threads, AVX-512 RAM 64.0 GB, 44.7 GB available now ## Disks NAME MODEL ROTA TRAN SIZE sda 0 usb 931.5G nvme0n1 Force MP600 0 nvme 1.8T ## Engine build {"archs": [86], "nvcc": "/usr/local/cuda-13.3/bin/nvcc", "host_compiler": null, "date": "2026-10-25 17:53"} ## Setup maya-ds4.json model DeepSeek-V4.1-Flash-1017, context 1048576, GPUs [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], images on, settings {"DS4_REQUIRE_ALL_RAM": "0", "DS4_PREFILL_STATS": "1", "DS4_ATTN_SLAB_MB": "8", "DS4_W16_MB": "16", "STRATA_DS4_STREAM": "0", "STRATA_DS4_SLOT_KEEP": "1", "STRATA_DS4_KEEP_THINKING": "1"} model folder ~/models/DeepSeek-V4.1-Flash-1017: 0.0 GB of GGUF, 140 GB free, not a hard disk ## Engine log maya-ds4.log: the speed and memory lines (last 80 of 857) ds4: 641 routed experts on the CPU lane (8.5 GB of RAM, 2 NUMA parts), 22 threads ds4 slots: folder ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots: 0 conversation(s) kept from earlier runs (0.00 GB) ds4: CUDA0 layers [0, 42] (tensor parallel 2, part 0): weights 1.16 GB, experts 20.75 GB (2275 of 2688 in VRAM), caches 0.19 GB, 578 MiB free ds4: CUDA1 layers [0, 5] (tensor parallel 2, part 1): weights 0.72 GB, experts 13.94 GB (1891 of 2304 in VRAM), caches 0.19 GB, 7904 MiB free ds4: CUDA2 layers [6, 13] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free ds4: CUDA3 layers [6, 13] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free ds4: CUDA4 layers [14, 23] (tensor parallel 2, part 0): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free ds4: CUDA5 layers [14, 23] (tensor parallel 2, part 1): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free ds4: CUDA6 layers [24, 31] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free ds4: CUDA7 layers [24, 31] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free ds4: CUDA8 layers [32, 39] (tensor parallel 2, part 0) + head: weights 0.95 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1312 MiB free ds4: CUDA9 layers [32, 39] (tensor parallel 2, part 1): weights 0.81 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1448 MiB free ds4: 641 routed experts on the CPU lane (8.5 GB of RAM, 2 NUMA parts), 22 threads ds4 slots: folder ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots: 0 conversation(s) kept from earlier runs (0.00 GB) ds4: CUDA1 prompt attention on the tensor cores (sm_86) ds4: CUDA0 prompt attention on the tensor cores (sm_86) ds4: CUDA3 prompt attention on the tensor cores (sm_86) ds4: CUDA2 prompt attention on the tensor cores (sm_86) ds4: CUDA5 prompt attention on the tensor cores (sm_86) ds4: CUDA4 prompt attention on the tensor cores (sm_86) ds4: CUDA6 prompt attention on the tensor cores (sm_86) ds4: CUDA7 prompt attention on the tensor cores (sm_86) ds4: CUDA9 prompt attention on the tensor cores (sm_86) ds4: CUDA8 prompt attention on the tensor cores (sm_86) ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 1 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 18090-token conversation (0.03 GB in RAM in 0.0 s); 2 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 3 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: took back a 18059-token conversation at token 18059 of 18089 from RAM (0.0 s); 1 new tokens to read ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 3 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: took back a 18059-token conversation at token 18059 of 18090 from RAM (0.1 s); 1 new tokens to read ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 4 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: took back a 18059-token conversation at token 18059 of 18089 from RAM (0.0 s); 1 new tokens to read ds4 slots: saved a 18089-token conversation (0.03 GB in RAM in 0.0 s); 4 in RAM, 0 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 1684-token conversation (0.01 GB in RAM in 0.1 s); 4 in RAM, 1 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 16676-token conversation as the engine ended (0.03 GB in RAM in 0.2 s); 4 in RAM, 2 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: wrote 4 conversation(s) to ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots; 6 there in all ds4: CUDA0 layers [0, 42] (tensor parallel 2, part 0): weights 1.16 GB, experts 20.75 GB (2275 of 2688 in VRAM), caches 0.19 GB, 576 MiB free ds4: CUDA1 layers [0, 5] (tensor parallel 2, part 1): weights 0.72 GB, experts 13.94 GB (1891 of 2304 in VRAM), caches 0.19 GB, 7902 MiB free ds4: CUDA2 layers [6, 13] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free ds4: CUDA3 layers [6, 13] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free ds4: CUDA4 layers [14, 23] (tensor parallel 2, part 0): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free ds4: CUDA5 layers [14, 23] (tensor parallel 2, part 1): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free ds4: CUDA6 layers [24, 31] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free ds4: CUDA7 layers [24, 31] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free ds4: CUDA8 layers [32, 39] (tensor parallel 2, part 0) + head: weights 0.95 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1312 MiB free ds4: CUDA9 layers [32, 39] (tensor parallel 2, part 1): weights 0.81 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1448 MiB free ds4: 641 routed experts on the CPU lane (8.5 GB of RAM, 2 NUMA parts), 22 threads ds4 slots: folder ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots: 6 conversation(s) kept from earlier runs (0.15 GB) ds4: CUDA0 prompt attention on the tensor cores (sm_86) ds4: CUDA1 prompt attention on the tensor cores (sm_86) ds4: CUDA0 layers [0, 42] (tensor parallel 2, part 0): weights 1.16 GB, experts 20.75 GB (2275 of 2688 in VRAM), caches 0.19 GB, 576 MiB free ds4: CUDA1 layers [0, 5] (tensor parallel 2, part 1): weights 0.72 GB, experts 13.94 GB (1891 of 2304 in VRAM), caches 0.19 GB, 7902 MiB free ds4: CUDA2 layers [6, 13] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free ds4: CUDA3 layers [6, 13] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.34 GB, 1760 MiB free ds4: CUDA4 layers [14, 23] (tensor parallel 2, part 0): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free ds4: CUDA5 layers [14, 23] (tensor parallel 2, part 1): weights 0.96 GB, experts 20.96 GB (3612 of 3840 in VRAM), caches 0.58 GB, 578 MiB free ds4: CUDA6 layers [24, 31] (tensor parallel 2, part 0): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free ds4: CUDA7 layers [24, 31] (tensor parallel 2, part 1): weights 0.52 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1722 MiB free ds4: CUDA8 layers [32, 39] (tensor parallel 2, part 0) + head: weights 0.95 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1312 MiB free ds4: CUDA9 layers [32, 39] (tensor parallel 2, part 1): weights 0.81 GB, experts 20.50 GB (3072 of 3072 in VRAM), caches 0.39 GB, 1448 MiB free ds4: 641 routed experts on the CPU lane (8.5 GB of RAM, 2 NUMA parts), 22 threads ds4 slots: folder ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots: 6 conversation(s) kept from earlier runs (0.15 GB) ds4: CUDA1 prompt attention on the tensor cores (sm_86) ds4: CUDA0 prompt attention on the tensor cores (sm_86) ds4: CUDA2 prompt attention on the tensor cores (sm_86) ds4: CUDA3 prompt attention on the tensor cores (sm_86) ds4: CUDA4 prompt attention on the tensor cores (sm_86) ds4: CUDA5 prompt attention on the tensor cores (sm_86) ds4: CUDA7 prompt attention on the tensor cores (sm_86) ds4: CUDA6 prompt attention on the tensor cores (sm_86) ds4: CUDA9 prompt attention on the tensor cores (sm_86) ds4: CUDA8 prompt attention on the tensor cores (sm_86) ds4 slots: saved a 1487-token conversation (0.01 GB in RAM in 0.0 s); 1 in RAM, 6 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 1123-token conversation (0.01 GB in RAM in 0.0 s); 2 in RAM, 6 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 1123-token conversation (0.01 GB in RAM in 0.0 s); 3 in RAM, 6 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 31982-token conversation (0.04 GB in RAM in 0.1 s); 4 in RAM, 6 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 31981-token conversation (0.04 GB in RAM in 0.1 s); 4 in RAM, 7 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 127545-token conversation (0.13 GB in RAM in 0.2 s); 4 in RAM, 8 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 127545-token conversation (0.13 GB in RAM in 0.2 s); 4 in RAM, 9 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ds4 slots: saved a 398309-token conversation (0.38 GB in RAM in 0.7 s); 4 in RAM, 10 in ~/models/DeepSeek-V4.1-Flash-1017/maya-ds4-reexl/slots ## Engine log maya-ds4.log: the last 25 lines [maya] reading the prompt: 387,505 of 398,235 tokens, 199 s so far [maya] reading the prompt: 387,505 of 398,235 tokens, 200 s so far [maya] reading the prompt: 387,505 of 398,235 tokens, 201 s so far [maya] reading the prompt: 391,584 of 398,235 tokens, 202 s so far [maya] reading the prompt: 391,584 of 398,235 tokens, 203 s so far DS4_PREFILL gpu=3 tokens=398235 chunk=4096 expert_row_picks=19115280 vram_row_picks=19115280 unique_expert_uses=150921 vram_unique_expert_uses=150921 streamed_weight_bytes=0 DS4_PREFILL gpu=2 tokens=398235 chunk=4096 expert_row_picks=19115280 vram_row_picks=19115280 unique_expert_uses=150921 vram_unique_expert_uses=150921 streamed_weight_bytes=0 [maya] reading the prompt: 391,584 of 398,235 tokens, 204 s so far [maya] reading the prompt: 395,567 of 398,235 tokens, 205 s so far [maya] reading the prompt: 395,567 of 398,235 tokens, 206 s so far [maya] reading the prompt: 395,567 of 398,235 tokens, 207 s so far [maya] reading the prompt: 395,567 of 398,235 tokens, 208 s so far DS4_PREFILL gpu=4 tokens=398235 chunk=4096 expert_row_picks=14400492 vram_row_picks=14386592 unique_expert_uses=101612 vram_unique_expert_uses=99309 streamed_weight_bytes=114130918656 DS4_PREFILL gpu=5 tokens=398235 chunk=4096 expert_row_picks=14400492 vram_row_picks=14386592 unique_expert_uses=101612 vram_unique_expert_uses=99309 streamed_weight_bytes=114130918656 [maya] reading the prompt: 395,567 of 398,235 tokens, 209 s so far DS4_PREFILL gpu=6 tokens=398235 chunk=4096 expert_row_picks=128064 vram_row_picks=128064 unique_expert_uses=1332 vram_unique_expert_uses=1332 streamed_weight_bytes=0 DS4_PREFILL gpu=7 tokens=398235 chunk=4096 expert_row_picks=128064 vram_row_picks=128064 unique_expert_uses=1332 vram_unique_expert_uses=1332 streamed_weight_bytes=0 [maya] reading the prompt: 395,567 of 398,235 tokens, 210 s so far DS4_PREFILL gpu=8 tokens=398235 chunk=4096 expert_row_picks=128064 vram_row_picks=128064 unique_expert_uses=1122 vram_unique_expert_uses=1122 streamed_weight_bytes=0 DS4_PREFILL gpu=9 tokens=398235 chunk=4096 expert_row_picks=128064 vram_row_picks=128064 unique_expert_uses=1122 vram_unique_expert_uses=1122 streamed_weight_bytes=0 [maya] thinking reached its budget (1 tokens): closed, answering [maya] answering: 34 of max 128 tokens, 72.9 tok/s, 212 s maya ds4 serve: prompt 398235 tokens = 0 reused + 398235 read in 210804 ms (1889.1 tok/s), 74 generated in 843 ms (87.74 tok/s); CPU lane 0.0% of the experts maya ds4 serve: drafts 53 of 67 kept; per position (kept / reached): 1: 16/17 94% 2: 14/15 93% 3: 10/12 83% 4: 7/7 100% 5: 6/7 86% [maya] done: 74 tokens in 212 s (87.6 tok/s) (stop, cancel=False), expert cache 100.0% hit ``` </details> > Note: the report's "model folder ... 0.0 GB of GGUF" is because this is an EXL3 pack: the weights are the model's > safetensors read in place, and the pack folder itself holds only metadata (241 MB).
Author
Owner

@SunYong0821 commented on GitHub (Oct 26, 2026):

How did you manage to get the context to 1M? When I set it to 1M, it directly told me it's not supported.

Image
<!-- gh-comment-id:6406296990 --> @SunYong0821 commented on GitHub (Oct 26, 2026): How did you manage to get the context to 1M? When I set it to 1M, it directly told me it's not supported. <img width="1005" height="300" alt="Image" src="https://github.com/user-attachments/assets/0afff1ef-ee98-4c2d-a5f8-0f88de707358" />
Author
Owner

@DoktorMincs commented on GitHub (Oct 26, 2026):

Probably the problem is with your engine version. The 1M context for DSV4.1 is supported in the v1.1.28.

<!-- gh-comment-id:6420464721 --> @DoktorMincs commented on GitHub (Oct 26, 2026): Probably the problem is with your engine version. The 1M context for DSV4.1 is supported in the v1.1.28.
Author
Owner

@mw00 commented on GitHub (Oct 27, 2026):

Thank you - ten RTX 3090s at 97 tokens/s with a 1M context goes into the DeepSeek speed table for the next release, and the sweep up to 400K is very useful.

We're keeping this open for the two hangs: the first chunked prompt after a start, and --calibrate on this pack. v1.1.31 changed how a tensor-parallel group reads long prompts (#520), so a retest there would tell us whether the first-prompt hang is still around. If it is, the engine log around the stall would help.

<!-- gh-comment-id:6446360376 --> @mw00 commented on GitHub (Oct 27, 2026): Thank you - ten RTX 3090s at 97 tokens/s with a 1M context goes into the DeepSeek speed table for the next release, and the sweep up to 400K is very useful. We're keeping this open for the two hangs: the first chunked prompt after a start, and `--calibrate` on this pack. v1.1.31 changed how a tensor-parallel group reads long prompts (#520), so a retest there would tell us whether the first-prompt hang is still around. If it is, the engine log around the stall would help.
Author
Owner

@mw00 commented on GitHub (Oct 27, 2026):

Thanks again for the 10-GPU numbers. v1.1.34 fixes a tensor-parallel hang that matches the first half of this: one group's GPUs idle while the others spin (details in #539). A member could leave a chunk its partner was already running when a Stop came, or when another group's device ended its run early. With five groups, that second case is more likely. v1.1.34 also adds a watchdog: a request with no progress for 10 minutes ends the engine with a line maya ds4 serve: where it stopped: ..., and the server starts it again.

With v1.1.34, could you check whether the first prompt after a boot still stalls? If it does, please send that where it stopped line and the last ~100 lines of the engine log.

The --calibrate hang is a separate case: it stops before ready:, so the watchdog doesn't cover it. Next time it happens, could you send the last ~100 lines of the engine log the calibration writes (maya-ds4.log beside the config, or the path --calibrate prints)? Those show which load step it waits on.

Released in v1.1.34: https://github.com/mw00/project-maya/releases/tag/v1.1.34

<!-- gh-comment-id:6456002171 --> @mw00 commented on GitHub (Oct 27, 2026): Thanks again for the 10-GPU numbers. v1.1.34 fixes a tensor-parallel hang that matches the first half of this: one group's GPUs idle while the others spin (details in #539). A member could leave a chunk its partner was already running when a Stop came, or when another group's device ended its run early. With five groups, that second case is more likely. v1.1.34 also adds a watchdog: a request with no progress for 10 minutes ends the engine with a line `maya ds4 serve: where it stopped: ...`, and the server starts it again. With v1.1.34, could you check whether the first prompt after a boot still stalls? If it does, please send that `where it stopped` line and the last ~100 lines of the engine log. The `--calibrate` hang is a separate case: it stops before `ready:`, so the watchdog doesn't cover it. Next time it happens, could you send the last ~100 lines of the engine log the calibration writes (`maya-ds4.log` beside the config, or the path `--calibrate` prints)? Those show which load step it waits on. Released in **v1.1.34**: https://github.com/mw00/project-maya/releases/tag/v1.1.34
Author
Owner

@DoktorMincs commented on GitHub (Oct 28, 2026):

Reproduced on v1.1.34, so it's still there. One detail that may narrow it down: it happened on the first chunked prompt, not the first prompt.

Same box and same pack as before: ten 3090s, --tp 2 across five pairs (layers 0–5 | 6–13 | 14–23 | 24–31 | 32–39), --max-context 1048576 --reserve-mib 600 --dspark on, the local EXL3 2.9 bpw pack, engine built from the v1.1.34 tag (b042645) for sm_86 with CUDA 13.3.

After boot the first request was 38 prompt tokens and went through fine — 764 ms to read, 45 tokens in 2 s. The next one was 1,827 prompt tokens and hung. The log says "reading the prompt: 1,827 tokens, 10 s so far" and then every ten seconds up to 130 s, never the "1,827 of 1,827" line, no chunk progress. The client got nothing back and the connection just ended when we restarted the server.

While it was stuck, GPUs 0 and 1 sat at 0% and 210 MHz (P8, 30 and 27 W), and GPUs 2 through 9 were pinned at 100%, around 1,950 MHz and 150–170 W. Same picture as v1.1.26 through v1.1.28.

The last thing the engine printed before going quiet was "ds4: CUDA0 prompt attention on the tensor cores (sm_86)" and the same line for CUDA1. On a healthy run all ten print that before the token progress line. No Xid, no CUDA error, nothing else in the log, and the engine didn't end by itself — it took a SIGKILL after the server stopped it.

Worth knowing it isn't deterministic. Yesterday a 1,737-token probe passed 20 times in a row across two clean boots, and the request after a cancelled prefill answered in 0.6 s. The same ~1.8k prompt has passed at about 570 tok/s prefill on other boots. When it does hang, it's always this pair-0 signature.

<!-- gh-comment-id:6460293591 --> @DoktorMincs commented on GitHub (Oct 28, 2026): Reproduced on v1.1.34, so it's still there. One detail that may narrow it down: it happened on the first chunked prompt, not the first prompt. Same box and same pack as before: ten 3090s, --tp 2 across five pairs (layers 0–5 | 6–13 | 14–23 | 24–31 | 32–39), --max-context 1048576 --reserve-mib 600 --dspark on, the local EXL3 2.9 bpw pack, engine built from the v1.1.34 tag (b042645) for sm_86 with CUDA 13.3. After boot the first request was 38 prompt tokens and went through fine — 764 ms to read, 45 tokens in 2 s. The next one was 1,827 prompt tokens and hung. The log says "reading the prompt: 1,827 tokens, 10 s so far" and then every ten seconds up to 130 s, never the "1,827 of 1,827" line, no chunk progress. The client got nothing back and the connection just ended when we restarted the server. While it was stuck, GPUs 0 and 1 sat at 0% and 210 MHz (P8, 30 and 27 W), and GPUs 2 through 9 were pinned at 100%, around 1,950 MHz and 150–170 W. Same picture as v1.1.26 through v1.1.28. The last thing the engine printed before going quiet was "ds4: CUDA0 prompt attention on the tensor cores (sm_86)" and the same line for CUDA1. On a healthy run all ten print that before the token progress line. No Xid, no CUDA error, nothing else in the log, and the engine didn't end by itself — it took a SIGKILL after the server stopped it. Worth knowing it isn't deterministic. Yesterday a 1,737-token probe passed 20 times in a row across two clean boots, and the request after a cancelled prefill answered in 0.6 s. The same ~1.8k prompt has passed at about 570 tok/s prefill on other boots. When it does hang, it's always this pair-0 signature.
Sign in to join this conversation.
No labels
pull-request
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
mw00/project-maya#197
No description provided.