[GH-ISSUE #212] Speed report: 1 / 2 / 3x Tesla P40 (Pascal, sm_61) - Maya-S24 28 tok/s and Maya-L 17 tok/s on two P40s, once global loads are cached in L1 (-Xptxas -dlcm=ca, 1.7-3x decode) #84

Closed
opened 2026-10-29 21:20:31 +07:00 by bsakaguchi · 3 comments
Owner

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

A speed report for Tesla P40s, which are below Maya's supported GPUs (compute capability 6.1; the setup asks for 7.0+). The engine builds for sm_61 with three small compile guards, and runs Maya-L and Maya-S24 on one, two and three P40s.

At first decode was slow (Maya-L 5.8 tok/s on one P40). A profile showed the dense Q6_K GEMV running at about a quarter of the card's memory bandwidth. The cause: GP102 caches global loads in L2 only unless told otherwise, and the GEMVs' many small loads miss L1. Building with -Xptxas -dlcm=ca made decode 1.7-3x as fast, with the same answers. Related: #189 reports three P40s with Maya-S24 at 9.2 tok/s, which matches what I measured without the flag (9.6, then 8.1). The flag may be the answer to its first question. It also mentions an experimental Pascal build (-DSTRATA_EXPERIMENTAL_SM60=ON); I could not find that option in this repository, so this report uses the guards below.

maya-report.txt is at the end, collapsed: ./maya.sh --report after a --bench of Maya-S24 on two P40s with the flag (28.1 tok/s).

The machine

Maya v1.1.11, commit 8931339, plus the guards and flag below (local)
GPUs 3x NVIDIA Tesla P40 24 GB, power limit 250 W, driver 580.126.20, CUDA 12.8 (nvcc V12.8.93). PCIe gen 3: GPU 1 and 2 at x16, GPU 0 at x8
CPU AMD EPYC 7302P (Zen 2, AVX2) as a KVM guest with 32 vCPUs (no SMT siblings visible, 1 NUMA node)
RAM 184 GB in the guest
OS Debian 12, kernel 6.1
Models Maya-L (156.3 GB) and Maya-S24 (94.7 GB, downloaded and checked by the setup), read over NFS (read-only, from another guest on the same host). Context 32768, --prefill auto, --kv-streaming on, the shipped expert profile, no vision. Every off-card expert fits in the RAM tier (0 disk reads a token)
Settings none but STRATA_GLM_SLOT_DIR (the NFS share is read-only)

How it was built and started

  • Architecture: CMAKE_CUDA_ARCHITECTURES=native with CUDA_VISIBLE_DEVICES on a P40, as maya.py's arch_setting() does for V100s (CMake refuses an explicit arch below 75).

  • Three guards for sm_70+ features (20 lines):

    • glm_batch.cu: the bodies of mla_attn_tc_kernel and mla_attn_tc_reg_kernel (wmma) compile to nothing for __CUDA_ARCH__ < 700. mla_attn already takes the F32 kernel when major < 7, so neither is ever launched there.
    • elementwise.cu (doorbell_wait_kernel) and verify_kernels.cu (wait_flag_ge_kernel, wait_flag_ge_or_kernel): __nanosleep is sm_70+, so below that the wait is a plain spin.

    Nothing else failed to compile, and the rest of the GLM path took its existing fallbacks (the log says prompt attention on the F32 cores on every card).

  • -DCMAKE_CUDA_FLAGS=-Xptxas -dlcm=ca: global loads cached in L1. Volta and newer do this by default; GP102 (like GP104) caches global loads in L2 only, unless a load goes through the read-only path.

  • Why the report says "not compiled yet" and "model ?": the setup refuses the card (MIN_CC), so the configs were written by hand from working ones and the server started directly (serve/server.py --engine strata --config ...). That is also why --report finds no MAYA-BUILD.json and no installer block. ./maya.sh --bench --config <cfg> works as is.

Why the flag: the profile

nsys profile -t cuda around ./maya.sh --bench, Maya-L on one P40, without the flag:

  • mv_kernel_t<14> (Q6_K) was 51% of GPU time: about 150 calls a token at 563 µs each, so ~84 ms of a ~150 ms token. That is a quarter or less of what the P40's 347 GB/s allows for the dense weights.
  • Then moe_fetch_kernel (17%), moe_cpu_wait_kernel (7%) and moe_gate_up_kernel<21> (IQ3_S, 7%).

The kernels' loads are small (get_int_b2, scales, the q8_1 activations every warp reads). Served from L2 each time on GP102, they starve the dot products. (The engine crashed inside libcupti near the end of the profiled run; the report was written. Profiling only.)

./maya.sh --bench

One, two and three P40s. One and two GPUs use the x16 cards (GPU 1, GPUs 1+2); three include the x8 card. Each cell is decode for the three questions, then the mean, in tok/s.

model, P40s without the flag with -dlcm=ca decode prefill 2048 / 8192, with the flag
Maya-L, 1 5.7 6.0 5.8 = 5.8 (twice) 9.7 10.4 9.8 = 9.9, again 10.0 x1.7 178 / 195 (without: 182 / 202)
Maya-L, 2 9.8 9.3 10.0 = 9.7 (twice) 17.1 16.6 17.1 = 16.9 x1.7 163 / 194 (164 / 203)
Maya-L, 3 8.7 8.5 8.8 = 8.7 (twice) 16.0 15.8 16.4 = 16.0 x1.8 166 / 188 (171 / 195)
Maya-S24, 1 5.3 5.4 5.3 = 5.3 (twice) 15.1 16.3 15.2 = 15.6 x2.9 194 / 204 (200 / 211)
Maya-S24, 2 9.4 9.0 9.9 = 9.4, then 9.3 27.5 27.4 29.1 = 28.0 x3.0 189 / 202 (196 / 210)
Maya-S24, 3 9.7 9.3 9.9 = 9.6, then 8.1 28.7 27.8 28.6 = 28.4 x3.0 192 / 200 (202 / 208)

Same answers: I checked greedy chat answers from both builds (Maya-S24, one P40, three prompts of up to 200 tokens). All three are identical to the character, at 5.3-5.5 and 14.9-16.7 tok/s. The flag only changes where loads are cached, not the arithmetic.

Where the experts sat on two P40s, both models (glm fast: lines):

model split (auto, pipelined) expert pool in VRAM RAM tier drafts accepted
Maya-L 0-23 / 24-44 18.9 + 19.0 GB 51.8 + 56.3 GB 80-94%
Maya-S24 0-23 / 24-44 19.8 + 19.8 GB 23.2 + 25.9 GB 83-95%
  • Two GPUs are the sweet spot: the two-GPU split runs the cards on consecutive tokens, while three run one after another, so a third P40 adds little (Maya-L) or nothing (Maya-S24).
  • Maya-S24 gained the most: its IQ2 experts decode through many small table lookups, the loads the flag helps most. Without the flag it was slower than Maya-L on these cards.
  • Prefill stays at 165-210 tok/s either way: the P40 reads prompts on its F32 cores.

Settings tried without the flag (no gain)

A separate harness: Maya-L on three P40s, a fresh engine start per row, six chat prompts of 350 tokens, greedy, thinking low. Baseline 8.38 tok/s. Everything else landed within about 2% of it:

  • STRATA_GLM_CPU_LANE 14 / 26: 8.47 / 8.43; 30 was clearly worse at 6.38.
  • STRATA_GLM_VRAM_EVICT=lru: 8.37.
  • STRATA_GLM_SPEC_HEAD=2: 8.24.
  • STRATA_GLM_MTP_KEEP 4 / 6 / 8: 8.35 / 8.30 / 8.26.
  • --kv int8: 8.28.

What I did not measure

  • Answer quality beyond the identical-output check and spot checks. I did not run the engine's parity tests on sm_61.
  • Long contexts.
  • Two GPUs that include the x8 card.
  • The settings above with the flag on.
  • Volta and newer, where L1 caching of global loads is the default.
  • v1.1.12 (batched decoding across layer-split GPUs, #204), released after these runs.

If this is of interest, I can open a PR with the three guards and the flag applied only to sm_6x builds. The setup's MIN_CC would still refuse the card, so it would need a decision on whether Pascal is offered at all.

maya-report.txt
## Maya
version 1.1.11, commit 8931339 2026-10-15, Python 3.11.2, linux

## System
Linux-6.1.0-43-amd64-x86_64-with-glibc2.36

## 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, Tesla P40, 24576 MiB, 0 MiB, 580.126.20, 3, 8, 16, 250.00 W, 24
1, Tesla P40, 24576 MiB, 0 MiB, 580.126.20, 3, 16, 16, 250.00 W, 47
2, Tesla P40, 24576 MiB, 0 MiB, 580.126.20, 3, 16, 16, 250.00 W, 52

## CPU and RAM
AMD EPYC 7302P 16-Core Processor, 32 threads, AVX2
RAM 184.3 GB, 182.2 GB available now

## Disks
NAME MODEL         ROTA TRAN  SIZE
sda  QEMU HARDDISK    1       1.5T
sr0  QEMU DVD-ROM     1 ata   632M

## Engine build
not compiled yet

## Setup report-s24-2gpu.json
model ?, context 32768, GPUs [1, 2], images off, settings {"STRATA_GLM_SLOT_DIR": "~/Maya-data/slots"}
model folder ~/Maya-data/models/Maya-S24: 94.7 GB of GGUF, 508 GB free, not a hard disk

## Engine log report-s24-2gpu.engine.log
not written yet (start Maya once and ask it something)

## Benchmark (maya-bench.txt, from --bench)
Project Maya v1.1.11 benchmark, 2026-10-15 20:02
GPUs: Tesla P40 24 GB, Tesla P40 24 GB, Tesla P40 24 GB; RAM 184 GB; CPU AMD EPYC 7302P 16-Core Processor
setup: report-s24-2gpu.json, context 32768, GPUs [1, 2]
decode (writing the answer): mean 28.1 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
    27.8 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
    27.3 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
    29.1 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 189 tokens/s, 2048 tokens
prefill (reading the prompt): 202 tokens/s, 8192 tokens

engine lines:
glm split auto: CUDA0 (Tesla P40) memory 347 GB/s, 23.68 GB free
glm split auto: CUDA1 (Tesla P40) memory 347 GB/s, 23.68 GB free
glm split auto: the host reads RAM at 105 GB/s (a part's CPU lane: 53); the routes from the default coverage curve (no usage counts); the pipelined decode: a token costs the slower part
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 15.5 ms predicted (CUDA0 14.5 ms, 140 slots a layer | CUDA1 15.5 ms, 132 slots a layer), 84% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2001 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 3.34 of 23.87 GB in use - dense weights 2.68, state/KV (32768 ctx) 0.33, activations 0.06, other (context, MTP, scratch, prompt path) 0.27
glm fast: the expert profile ~/project-maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs
glm fast: CUDA0 layers [0,24) expert pool 19.84 GB, 116-171 slots/layer (2986 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2001 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 3.37 of 23.87 GB in use - dense weights 2.56, state/KV (32768 ctx) 0.33, activations 0.07, other (context, MTP, scratch, prompt path) 0.42
glm fast: CUDA1 layers [24,45) expert pool 19.81 GB, 105-150 slots/layer, the draft layer 134 (2950 total)
glm fast: CUDA0 RAM tier 23.24 GB pinned, 3514 slots
glm fast: CUDA1 RAM tier 25.86 GB pinned, 3852 slots
glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 38 s (1.12 GB/s)
glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 33 s (1.38 GB/s)
glm fast: CUDA0 CPU lane: 10 threads, an expert 0.274 ms on the CPU vs 0.581 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6
glm fast: CUDA1 CPU lane: 10 threads, an expert 0.244 ms on the CPU vs 0.540 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 4 5 6
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 36.37 ms/tok (27.49 tok/s) | vram hit 80.84% | ram fetches 15.25/tok | disk 0.00 reads/tok in 0.31 waits/tok, 0.01 ms/tok | promotions 15.53/tok | cpu lane 54.36/tok in 19.15 ms/tok | prompt 64.2 ms/tok | vram 5816/5936 ram 6555/7366
glm stat: decode 35.94 ms/tok (27.83 tok/s) | vram hit 79.40% | ram fetches 16.78/tok | disk 0.00 reads/tok in 0.47 waits/tok, 0.01 ms/tok | promotions 17.20/tok | cpu lane 57.26/tok in 20.13 ms/tok | prompt 60.5 ms/tok | vram 5824/5936 ram 6547/7366
glm stat: decode 36.62 ms/tok (27.31 tok/s) | vram hit 81.90% | ram fetches 14.70/tok | disk 0.00 reads/tok in 0.48 waits/tok, 0.01 ms/tok | promotions 15.14/tok | cpu lane 52.19/tok in 18.04 ms/tok | prompt 59.7 ms/tok | vram 5815/5936 ram 6564/7366
glm fast: CUDA1 CPU lane timed again in decode: an expert 0.335 ms (planned with 0.244) -> RAM-tier experts to the CPU, of 0..8: 0 1 1 2 3 3 4 4 5 (PCIe share 0.33)
glm stat: decode 34.34 ms/tok (29.12 tok/s) | vram hit 80.01% | ram fetches 21.44/tok | disk 0.00 reads/tok in 1.09 waits/tok, 0.02 ms/tok | promotions 22.42/tok | cpu lane 47.66/tok in 16.39 ms/tok | prompt 59.6 ms/tok | vram 5828/5936 ram 6541/7366
glm stat (prompt only): prompt 5.3 ms/tok | vram 5566/5936 ram 6762/7366
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB
glm stat (prompt only): prompt 5.3 ms/tok | vram 5583/5936 ram 6739/7366
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 2 kept, 0.36 GB
glm stat (prompt only): prompt 4.9 ms/tok | vram 5336/5936 ram 7011/7366
Originally created by @Jw88888 on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/212 A speed report for Tesla P40s, which are below Maya's supported GPUs (compute capability 6.1; the setup asks for 7.0+). The engine builds for sm_61 with three small compile guards, and runs Maya-L and Maya-S24 on one, two and three P40s. At first decode was slow (Maya-L 5.8 tok/s on one P40). A profile showed the dense Q6_K GEMV running at about a quarter of the card's memory bandwidth. The cause: GP102 caches global loads in L2 only unless told otherwise, and the GEMVs' many small loads miss L1. Building with `-Xptxas -dlcm=ca` made decode 1.7-3x as fast, with the same answers. Related: #189 reports three P40s with Maya-S24 at 9.2 tok/s, which matches what I measured without the flag (9.6, then 8.1). The flag may be the answer to its first question. It also mentions an experimental Pascal build (`-DSTRATA_EXPERIMENTAL_SM60=ON`); I could not find that option in this repository, so this report uses the guards below. `maya-report.txt` is at the end, collapsed: `./maya.sh --report` after a `--bench` of Maya-S24 on two P40s with the flag (28.1 tok/s). ## The machine | | | | --- | --- | | Maya | v1.1.11, commit `8931339`, plus the guards and flag below (local) | | GPUs | 3x NVIDIA Tesla P40 24 GB, power limit 250 W, driver 580.126.20, CUDA 12.8 (nvcc V12.8.93). PCIe gen 3: GPU 1 and 2 at x16, GPU 0 at x8 | | CPU | AMD EPYC 7302P (Zen 2, AVX2) as a **KVM guest with 32 vCPUs** (no SMT siblings visible, 1 NUMA node) | | RAM | 184 GB in the guest | | OS | Debian 12, kernel 6.1 | | Models | Maya-L (156.3 GB) and Maya-S24 (94.7 GB, downloaded and checked by the setup), read over NFS (read-only, from another guest on the same host). Context 32768, `--prefill auto`, `--kv-streaming on`, the shipped expert profile, no vision. Every off-card expert fits in the RAM tier (0 disk reads a token) | | Settings | none but `STRATA_GLM_SLOT_DIR` (the NFS share is read-only) | ## How it was built and started - **Architecture:** `CMAKE_CUDA_ARCHITECTURES=native` with `CUDA_VISIBLE_DEVICES` on a P40, as `maya.py`'s `arch_setting()` does for V100s (CMake refuses an explicit arch below 75). - **Three guards for sm_70+ features** (20 lines): - `glm_batch.cu`: the bodies of `mla_attn_tc_kernel` and `mla_attn_tc_reg_kernel` (wmma) compile to nothing for `__CUDA_ARCH__ < 700`. `mla_attn` already takes the F32 kernel when `major < 7`, so neither is ever launched there. - `elementwise.cu` (`doorbell_wait_kernel`) and `verify_kernels.cu` (`wait_flag_ge_kernel`, `wait_flag_ge_or_kernel`): `__nanosleep` is sm_70+, so below that the wait is a plain spin. Nothing else failed to compile, and the rest of the GLM path took its existing fallbacks (the log says `prompt attention on the F32 cores` on every card). - **`-DCMAKE_CUDA_FLAGS=-Xptxas -dlcm=ca`:** global loads cached in L1. Volta and newer do this by default; GP102 (like GP104) caches global loads in L2 only, unless a load goes through the read-only path. - **Why the report says "not compiled yet" and "model ?":** the setup refuses the card (`MIN_CC`), so the configs were written by hand from working ones and the server started directly (`serve/server.py --engine strata --config ...`). That is also why `--report` finds no `MAYA-BUILD.json` and no `installer` block. `./maya.sh --bench --config <cfg>` works as is. ## Why the flag: the profile `nsys profile -t cuda` around `./maya.sh --bench`, Maya-L on one P40, without the flag: - **`mv_kernel_t<14>` (Q6_K)** was 51% of GPU time: about 150 calls a token at 563 µs each, so ~84 ms of a ~150 ms token. That is a quarter or less of what the P40's 347 GB/s allows for the dense weights. - Then `moe_fetch_kernel` (17%), `moe_cpu_wait_kernel` (7%) and `moe_gate_up_kernel<21>` (IQ3_S, 7%). The kernels' loads are small (`get_int_b2`, scales, the q8_1 activations every warp reads). Served from L2 each time on GP102, they starve the dot products. (The engine crashed inside `libcupti` near the end of the profiled run; the report was written. Profiling only.) ## `./maya.sh --bench` One, two and three P40s. One and two GPUs use the x16 cards (GPU 1, GPUs 1+2); three include the x8 card. Each cell is decode for the three questions, then the mean, in tok/s. | model, P40s | without the flag | **with `-dlcm=ca`** | decode | prefill 2048 / 8192, with the flag | | --- | --- | --- | ---: | --- | | Maya-L, 1 | 5.7 6.0 5.8 = **5.8** (twice) | 9.7 10.4 9.8 = **9.9**, again **10.0** | x1.7 | 178 / 195 (without: 182 / 202) | | Maya-L, 2 | 9.8 9.3 10.0 = **9.7** (twice) | 17.1 16.6 17.1 = **16.9** | x1.7 | 163 / 194 (164 / 203) | | Maya-L, 3 | 8.7 8.5 8.8 = **8.7** (twice) | 16.0 15.8 16.4 = **16.0** | x1.8 | 166 / 188 (171 / 195) | | Maya-S24, 1 | 5.3 5.4 5.3 = **5.3** (twice) | 15.1 16.3 15.2 = **15.6** | x2.9 | 194 / 204 (200 / 211) | | Maya-S24, 2 | 9.4 9.0 9.9 = **9.4**, then 9.3 | 27.5 27.4 29.1 = **28.0** | x3.0 | 189 / 202 (196 / 210) | | Maya-S24, 3 | 9.7 9.3 9.9 = **9.6**, then 8.1 | 28.7 27.8 28.6 = **28.4** | x3.0 | 192 / 200 (202 / 208) | **Same answers:** I checked greedy chat answers from both builds (Maya-S24, one P40, three prompts of up to 200 tokens). All three are identical to the character, at 5.3-5.5 and 14.9-16.7 tok/s. The flag only changes where loads are cached, not the arithmetic. Where the experts sat on two P40s, both models (`glm fast:` lines): | model | split (auto, pipelined) | expert pool in VRAM | RAM tier | drafts accepted | | --- | --- | --- | --- | --- | | Maya-L | 0-23 / 24-44 | 18.9 + 19.0 GB | 51.8 + 56.3 GB | 80-94% | | Maya-S24 | 0-23 / 24-44 | 19.8 + 19.8 GB | 23.2 + 25.9 GB | 83-95% | - **Two GPUs are the sweet spot:** the two-GPU split runs the cards on consecutive tokens, while three run one after another, so a third P40 adds little (Maya-L) or nothing (Maya-S24). - **Maya-S24 gained the most:** its IQ2 experts decode through many small table lookups, the loads the flag helps most. Without the flag it was slower than Maya-L on these cards. - **Prefill** stays at 165-210 tok/s either way: the P40 reads prompts on its F32 cores. ## Settings tried without the flag (no gain) A separate harness: Maya-L on three P40s, a fresh engine start per row, six chat prompts of 350 tokens, greedy, thinking low. Baseline 8.38 tok/s. Everything else landed within about 2% of it: - `STRATA_GLM_CPU_LANE` 14 / 26: 8.47 / 8.43; 30 was clearly worse at 6.38. - `STRATA_GLM_VRAM_EVICT=lru`: 8.37. - `STRATA_GLM_SPEC_HEAD=2`: 8.24. - `STRATA_GLM_MTP_KEEP` 4 / 6 / 8: 8.35 / 8.30 / 8.26. - `--kv int8`: 8.28. ## What I did not measure - Answer quality beyond the identical-output check and spot checks. I did not run the engine's parity tests on sm_61. - Long contexts. - Two GPUs that include the x8 card. - The settings above with the flag on. - Volta and newer, where L1 caching of global loads is the default. - v1.1.12 (batched decoding across layer-split GPUs, #204), released after these runs. If this is of interest, I can open a PR with the three guards and the flag applied only to sm_6x builds. The setup's `MIN_CC` would still refuse the card, so it would need a decision on whether Pascal is offered at all. <details><summary><code>maya-report.txt</code></summary> ``` ## Maya version 1.1.11, commit 8931339 2026-10-15, Python 3.11.2, linux ## System Linux-6.1.0-43-amd64-x86_64-with-glibc2.36 ## 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, Tesla P40, 24576 MiB, 0 MiB, 580.126.20, 3, 8, 16, 250.00 W, 24 1, Tesla P40, 24576 MiB, 0 MiB, 580.126.20, 3, 16, 16, 250.00 W, 47 2, Tesla P40, 24576 MiB, 0 MiB, 580.126.20, 3, 16, 16, 250.00 W, 52 ## CPU and RAM AMD EPYC 7302P 16-Core Processor, 32 threads, AVX2 RAM 184.3 GB, 182.2 GB available now ## Disks NAME MODEL ROTA TRAN SIZE sda QEMU HARDDISK 1 1.5T sr0 QEMU DVD-ROM 1 ata 632M ## Engine build not compiled yet ## Setup report-s24-2gpu.json model ?, context 32768, GPUs [1, 2], images off, settings {"STRATA_GLM_SLOT_DIR": "~/Maya-data/slots"} model folder ~/Maya-data/models/Maya-S24: 94.7 GB of GGUF, 508 GB free, not a hard disk ## Engine log report-s24-2gpu.engine.log not written yet (start Maya once and ask it something) ## Benchmark (maya-bench.txt, from --bench) Project Maya v1.1.11 benchmark, 2026-10-15 20:02 GPUs: Tesla P40 24 GB, Tesla P40 24 GB, Tesla P40 24 GB; RAM 184 GB; CPU AMD EPYC 7302P 16-Core Processor setup: report-s24-2gpu.json, context 32768, GPUs [1, 2] decode (writing the answer): mean 28.1 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 27.8 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 27.3 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 29.1 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 189 tokens/s, 2048 tokens prefill (reading the prompt): 202 tokens/s, 8192 tokens engine lines: glm split auto: CUDA0 (Tesla P40) memory 347 GB/s, 23.68 GB free glm split auto: CUDA1 (Tesla P40) memory 347 GB/s, 23.68 GB free glm split auto: the host reads RAM at 105 GB/s (a part's CPU lane: 53); the routes from the default coverage curve (no usage counts); the pipelined decode: a token costs the slower part glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 15.5 ms predicted (CUDA0 14.5 ms, 140 slots a layer | CUDA1 15.5 ms, 132 slots a layer), 84% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2001 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 3.34 of 23.87 GB in use - dense weights 2.68, state/KV (32768 ctx) 0.33, activations 0.06, other (context, MTP, scratch, prompt path) 0.27 glm fast: the expert profile ~/project-maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs glm fast: CUDA0 layers [0,24) expert pool 19.84 GB, 116-171 slots/layer (2986 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2001 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 3.37 of 23.87 GB in use - dense weights 2.56, state/KV (32768 ctx) 0.33, activations 0.07, other (context, MTP, scratch, prompt path) 0.42 glm fast: CUDA1 layers [24,45) expert pool 19.81 GB, 105-150 slots/layer, the draft layer 134 (2950 total) glm fast: CUDA0 RAM tier 23.24 GB pinned, 3514 slots glm fast: CUDA1 RAM tier 25.86 GB pinned, 3852 slots glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 38 s (1.12 GB/s) glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 33 s (1.38 GB/s) glm fast: CUDA0 CPU lane: 10 threads, an expert 0.274 ms on the CPU vs 0.581 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 4 4 5 6 glm fast: CUDA1 CPU lane: 10 threads, an expert 0.244 ms on the CPU vs 0.540 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 4 5 6 glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 36.37 ms/tok (27.49 tok/s) | vram hit 80.84% | ram fetches 15.25/tok | disk 0.00 reads/tok in 0.31 waits/tok, 0.01 ms/tok | promotions 15.53/tok | cpu lane 54.36/tok in 19.15 ms/tok | prompt 64.2 ms/tok | vram 5816/5936 ram 6555/7366 glm stat: decode 35.94 ms/tok (27.83 tok/s) | vram hit 79.40% | ram fetches 16.78/tok | disk 0.00 reads/tok in 0.47 waits/tok, 0.01 ms/tok | promotions 17.20/tok | cpu lane 57.26/tok in 20.13 ms/tok | prompt 60.5 ms/tok | vram 5824/5936 ram 6547/7366 glm stat: decode 36.62 ms/tok (27.31 tok/s) | vram hit 81.90% | ram fetches 14.70/tok | disk 0.00 reads/tok in 0.48 waits/tok, 0.01 ms/tok | promotions 15.14/tok | cpu lane 52.19/tok in 18.04 ms/tok | prompt 59.7 ms/tok | vram 5815/5936 ram 6564/7366 glm fast: CUDA1 CPU lane timed again in decode: an expert 0.335 ms (planned with 0.244) -> RAM-tier experts to the CPU, of 0..8: 0 1 1 2 3 3 4 4 5 (PCIe share 0.33) glm stat: decode 34.34 ms/tok (29.12 tok/s) | vram hit 80.01% | ram fetches 21.44/tok | disk 0.00 reads/tok in 1.09 waits/tok, 0.02 ms/tok | promotions 22.42/tok | cpu lane 47.66/tok in 16.39 ms/tok | prompt 59.6 ms/tok | vram 5828/5936 ram 6541/7366 glm stat (prompt only): prompt 5.3 ms/tok | vram 5566/5936 ram 6762/7366 glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB glm stat (prompt only): prompt 5.3 ms/tok | vram 5583/5936 ram 6739/7366 glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 2 kept, 0.36 GB glm stat (prompt only): prompt 4.9 ms/tok | vram 5336/5936 ram 7011/7366 ``` </details>
Author
Owner

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

Thanks for the careful profile and the clean A/B, @Jw88888. Yes - we'll offer Pascal (compute capability 6.x) as experimental. We'll review and test your #214 (the three guards and -Xptxas -dlcm=ca for sm_6x builds) for the next release, and post here when it is in.

<!-- gh-comment-id:6209704355 --> @mw00 commented on GitHub (Oct 16, 2026): Thanks for the careful profile and the clean A/B, @Jw88888. Yes - we'll offer Pascal (compute capability 6.x) as experimental. We'll review and test your #214 (the three guards and `-Xptxas -dlcm=ca` for sm_6x builds) for the next release, and post here when it is in.
Author
Owner

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

v1.1.14 is out: it builds and sets up Pascal cards as experimental - your guards and L1 flag (#214), and the setup accepts compute capability 6.x. Please update and tell us how it goes on your P40s.

<!-- gh-comment-id:6224245476 --> @mw00 commented on GitHub (Oct 16, 2026): v1.1.14 is out: it builds and sets up Pascal cards as experimental - your guards and L1 flag (#214), and the setup accepts compute capability 6.x. Please update and tell us how it goes on your P40s.
Author
Owner

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

Thank you, @Jw88888 - your two-P40 numbers (with the L1 flag that shipped in v1.1.14) are now in the README's speed table.

<!-- gh-comment-id:6295599201 --> @mw00 commented on GitHub (Oct 20, 2026): Thank you, @Jw88888 - your two-P40 numbers (with the L1 flag that shipped in v1.1.14) are now in [the README's speed table](https://github.com/mw00/project-maya#how-fast-is-it).
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#84
No description provided.