mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #422] [BUG] EXL3 versions with --mmap-experts off and DS4_ENGRAM_RAM: 1, DS4_REQUIRE_ALL_RAM: 1 #167
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#167
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 @bandito1 on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/422
Hi,
Setup:
AMD Ryzen Threadripper PRO 3975WX 32-Cores
512GB RAM DDR4 (8x64GB)
4x RTX 3090 24GB (4x16 PCIE lane)
OS: Proxmox, LXC debian 13
When I run Maya with DS4_ENGRAM_RAM: 1, DS4_REQUIRE_ALL_RAM: 1 env parameters EXL3 models, some layers working from SSD. ~0.52Mb/s in my case.
If I run GUFF models, all working from memory, no SSD stream.
Other "bug" is: --mmap-experts off not recognized, just only config file. So I can't run --setup with DS4_ENGRAM_RAM: 1, DS4_REQUIRE_ALL_RAM: 1, because need also mmap-experts off, but I can't run.
root@gpu-1:~/project-maya# ./maya.sh --mmap-experts off usage: maya.py [-h] [--backend {cuda,hip}] [--setup] [--check] [--no-start] [--yes] [--plain] [--download-model] [--model {Maya-S-v2-IQ2_XXS,Maya-S24,Maya-M,Maya-M-Derisked,Maya-L,EXL3-3.05bpw,EXL3-4.05bpw,DeepSeek-V4.1-Flash-1017}] [--model-dir MODEL_DIR] [--ds4-quant {gguf-q8,gguf-q4,maya-s,maya-m,maya-xs,exl3,exl3-3.5}] [--draft {mtp,dflash2}] [--no-vision] [--gguf-dir GGUF_DIR] [--models-dir MODELS_DIR] [--gpu GPU] [--gpus GPUS] [--context CONTEXT] [--parallel N] [--vram-reserve-mib N] [--port PORT] [--host HOST] [--api-key API_KEY] [--env KEY=VALUE] [--nvcc NVCC] [--host-compiler HOST_COMPILER] [--llama-dir LLAMA_DIR] [--rebuild] [--repack] [--report] [--bench] [--calibrate] [--speed-calibration] [--drafting {measure,on,off}] [--no-speed-calibration] [--config CONFIG] maya.py: error: unrecognized arguments: --mmap-experts off@mw00 commented on GitHub (Oct 23, 2026):
Thanks! In v1.1.26
--mmap-experts auto|on|offis a setup option:./maya.sh --setup --mmap-experts offwrites it into the DeepSeek config and later setups keep it (before, a new--setupdropped it). Given on a normal start it is written into the config too.DS4_REQUIRE_ALL_RAMcovers the GGUF quants' expert copies (docs/SETTINGS.md); the EXL3 quants read their experts in place, so with EXL3 some layers can still come from the SSD - we are looking at giving EXL3 the same all-in-RAM option.@mw00 commented on GitHub (Oct 27, 2026):
Following up on our earlier answer: since v1.1.26 (
c8cb6ea),./maya.sh --setup --mmap-experts offwrites the option into the DeepSeek config, and later setups keep it. With it, the EXL3 quants copy every CPU-lane expert into RAM at load - the log saysN routed experts on the CPU lane (X GB of RAM, ...)- so nothing is read from the SSD after that.DS4_REQUIRE_ALL_RAMonly matters for the GGUF quants' copies. (On a 2-socket PC, v1.1.33 also fixes an OOM kill at load with this setting: #507.) Closing - please reopen if the latest release still reads experts from the SSD with--mmap-experts off.