Skip to content

v1.1.93

Latest

Choose a tag to compare

@mw00 mw00 released this 03 Dec 08:16

GLM-5.3-Flash now runs on Intel Arc cards, on Windows and on Linux through WSL2, and a new Token usage page in
Settings shows every token Maya read and wrote. Many community PRs land too, most of them as switches you turn on
yourself. With every new switch off, answers on NVIDIA cards are the same as in v1.1.92 in all our checks, except
DFlash2 drafting on one GPU + RAM (see GLM-5.3-Flash).

GLM-5.3-Flash on Intel Arc (experimental)

  • GLM-5.3-Flash Maya-XS runs on one discrete Intel Arc card, on Windows and on Linux through WSL2.
    START-MAYA.bat --backend intel --model glm-maya-xs (Windows) or ./setup.sh --backend intel --model glm-maya-xs
    (WSL2) sets it up; files you already have are used with --model-dir. What does not fit in the card's VRAM and your
    RAM is read from the SSD while it answers, so it starts on any PC with the disk space; it is faster with more RAM.
    Text only, one conversation at a time, no drafting yet.
  • Speed on an Arc B580 (12 GB) with 64 GB of RAM, Windows: decode 8.9 tokens/s, prompt reading 236 tokens/s on a
    2K-token prompt and 391 tokens/s on an 8K-token prompt.
    Measured with --bench, Maya-XS, 32K context, oneMKL
    installed.
  • Under WSL2 the setup copies the model to the Linux disk and tells you how to give Linux more RAM. Files on a
    Windows drive (/mnt/c) read much more slowly from Linux, so the setup offers to copy them to the models folder on the
    Linux disk (yes by default). WSL2 gives Linux half of the PC's RAM unless .wslconfig says otherwise; the setup
    prints the line to add. On Linux the prompt's CPU lane is off by default (MAYA_GLM_PREFILL_CPU=1 turns it on).
  • Answers on Intel can differ slightly from the same model on an NVIDIA card: same weights, sums done in another
    order. In our checks the difference is inside what NVIDIA cards show between their own settings.
  • Setup under WSL2: no false "spinning hard disk" warning (WSL2's virtual disk reported itself as a hard disk).
  • Inkling 2 Mini on Intel is unchanged.

Token usage page

  • Settings > Usage > Token usage shows every token Maya read and wrote, and how much came from the cache. View
    today, the last 7 or 30 days, or everything; a chart shows each day's web chats and API clients, and a table splits
    the totals by model and by client. Start over sets it back to 0 (the savings page keeps its own count). Counts are
    stored beside your configs; no prompts, no addresses.

GLM-5.3-Flash

  • Decode steps are leaner by default fused DFlash2 drafting steps run as one CUDA graph (#1443),
    faster GEMV, hc and fetch kernels (#1445) and a route kernel that can use 16 scratch slots (#1402, opt-in
    MAYA_GLM_WIN_SCRATCH_16=1).
    Decode with DFlash2 on one GPU + RAM was 3% faster in our test. Same answers as v1.1.92 in our checks on NVIDIA and on an AMD Radeon 8065S, except that with DFlash2 on one GPU + RAM
    the expert pool can hold one expert fewer, which can change those answers slightly. Thanks @Maxrio9.
  • The verify window's work is shared out better (#1441, default) and can be batched (#1427, opt-in
    MAYA_GLM_WIN_FETCH_BATCH, MAYA_GLM_WIN_FETCH_OVERLAP), with a fused KDA step (#1425, MAYA_GLM_WIN_KDA_FUSED),
    CPU-lane pinning on one-socket PCs (#1446, MAYA_GLM_CPU_PIN_1S, MAYA_GLM_X3_OVERSUB) and host snapshots for
    --parallel (#1496, MAYA_GLM_MULTI_HOST_SNAP).
    Thanks @Maxrio9.
  • Prompt reading on newer cards: a one-pass DSA indexer on RTX 30/40/50 cards with 99 KB of shared memory a block
    (#1485; cards with more keep the larger kernel), opt-in tensor-core prompt attention on sm_80+ (#1490,
    MAYA_GLM_PREFILL_ATTN=mma64; it can change answers), and opt-in TF32 /
    BF16 tensor-core products (#1492, MAYA_GLM_SGEMM_TF32, MAYA_GLM_PREFILL_BF16_TC; they can change answers).
    Thanks @Maxrio9. We have no sm_80+ card: these ran on the author's cards.
  • Opt-in: a smaller prompt prestage on one GPU + RAM (#1493, MAYA_GLM_PRESTAGE_PROP=1): +41% prompt reading on
    2K-token prompts in our test with one GPU + RAM
    (answers can change; off by default). MAYA_GLM_PREFILL_CPU_BASE
    tunes the CPU lane's share. Thanks @Maxrio9.
  • Opt-in: the CPU lane's row cost timed on your CPU (#1500, MAYA_GLM_PREFILL_CPU_ROW_TIMED=1). Thanks
    @PrimusInterParis.
  • Opt-in: an answer reserve for thinking budgets (#1476, MAYA_GLM_ANSWER_RESERVE): when a request's thinking
    budget would use up max_tokens, part is kept for the answer. It works for every model with a thinking budget,
    Inkling 2 included. Thanks @kaichri.
  • The verify-window commit code is shared by DFlash2 and MTP (#1475 follow-up). Thanks @kaichri.
  • GLM link mode with a discrete AMD helper card beside an NVIDIA lead (#1275; MAYA_GLM_HELPER_REG_DISCRETE=1
    registers the helper's RAM tier, for an A/B).

    Checked on two NVIDIA cards standing in for the pair; we have no NVIDIA + Radeon PC, so please report in #1275.
    Thanks @router0mail.

DeepSeek-V4.1

  • Opt-in decode switches for two-card groups (#1388, #1461, #1462, #1463, #1464, #1472): MAYA_DS4_MOE_LATE_PART,
    MAYA_DS4_HC_MSN, DS4_ROUTE_WARP, MAYA_DS4_X_EARLY, DS4_PUB_FOLD, MAYA_DS4_KV_ONE, MAYA_DS4_FIN_FOLD,
    MAYA_DS4_ATTN_PF, MAYA_DS4_LATE_POST, MAYA_DS4_AR_POST; DS4_ROUTER_ROWS=2 now covers the router pair
    too.
    With
    MAYA_DS4_MOE_LATE_PART=1 and the attention read-ahead or the fused all-reduce, decode was 6-7% faster on two cards
    in our test. MAYA_DS4_MOE_LATE_PART changes answers slightly (the sums are added in another order); the others give
    the same answers. Thanks @pepuscz.
  • Expert copies: the staging buffer is reused in a safer order, which can shorten long waits on AMD cards
    (#1382).
    Thanks @LostVector.
  • DeepSeek helper mode with a discrete AMD lead card (#1278), which also fixes a hang in helper mode when the
    lead card cannot hold every expert. Checked on two NVIDIA cards standing in for the pair; please report in #1278. Thanks @router0mail.
  • On PCs with two or more NUMA nodes, prompt readers run on the GPU's own node (#1477, on by default); same
    answers. Thanks @yeze.
  • Opt-in pipelined decode across a layer split (#1467, MAYA_DS4_PIPE=1, with --threads off and --tp 1).
    Thanks @danielwoz.
  • DS4_PROF=1 now reports each decode window (#1479). Thanks @yeze.

EXL3

  • Faster EXL3 decode and prompt kernels on sm_80+ cards (#1442, #1486), a new 6-bit decode kernel on by default on
    RTX 50-series cards (#1494; MAYA_EXL3_MV12_OPT=1 for other sm_80+ cards), an opt-in FP16 weight cache for GLM
    EXL3 prompts (#1487, MAYA_GLM_PREFILL_W16_CACHE=1, can change answers), and a CPU check for the AVX-512 VBMI2
    path (#1438).
    Same outputs as v1.1.92 on the cards we have; the speed-ups were measured by the author on a
    Blackwell card (sm_120). Thanks @Maxrio9.

Other

  • Vision: the image encoder can run on a card you choose (#1050, "vision": {"gpu": <n>}). Thanks @acs48.
  • New settings (docs/SETTINGS.md): the new switches named above.

What we did not run

  • GLM-5.3-Flash on Intel: tested on one Arc B580 only (Windows and WSL2).
  • Blackwell / sm_80+ kernels (#1442 #1485 #1486 #1490 #1492 #1494): built and checked for same outputs where our
    cards can run them; their speed-ups come from the authors' cards.
  • NVIDIA + Radeon pairs (#1275, #1278): run on two NVIDIA cards standing in.
  • #1467 with --parallel on cards that hold every expert in VRAM (the author's setup).