[GH-ISSUE #499] DeepSeek-V4.1-Flash-1017? 5) EXL3 2.9 bits (414 GB) fialed to start #201

Closed
opened 2026-10-29 21:22:30 +07:00 by bsakaguchi · 2 comments
Owner

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

Model? 2) DeepSeek-V4.1-Flash-1017
Which files of DeepSeek-V4.1-Flash-1017? 5) EXL3 2.9 bits (414 GB)

=== Step 1: checking this PC ===
[!] Windows support is new (experimental): Maya is developed and measured on Linux - tell us how it runs
NVIDIA GPUs:
GPU 0 (NVIDIA GeForce RTX 5090, 32 GB) - can be used
[ok] using GPU 0 (NVIDIA GeForce RTX 5090, 32 GB)
[ok] CUDA toolkit 13.3: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.3\bin\nvcc.EXE
[ok] NVIDIA driver 621.01
[ok] C++ compiler: Visual Studio Build Tools (C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat)
[ok] CMake 4.4
[ok] Python 3.14.5 (G:\project-maya.venv)
[!] RAM: 191 GB, 175 GB available now; with 32 GB of VRAM that is below the ~230 GB that hold all of DeepSeek-V4.1-Flash-1017's 211 GB of weights at 2.9 bits, so the experts that do not fit are read from the model's files on the SSD, much slower (2.9 bits, one RTX 3090 and 64 GB measured: prompts ~50 tokens/s, answers ~4-5 tokens/s). More GPUs (--gpus) or RAM make it faster
[ok] tensor parallel pairs equal GPUs: a GPU without an equal neighbour runs its layers alone
[ok] CPU: AMD Ryzen 7 9800X3D 8-Core Processor (AVX-512, 16 threads)

=== Step 2: your choices ===
[ok] files: EXL3 2.9bpw (LibertAIDAI's EXL3 quant at 2.9 bits)
Context? 4) 256K tokens
[ok] context: 262144 tokens
[ok] model folder: F:\models2\DeepSeek-V4.1-Flash-1017

=== Step 3: Python packages and llama.cpp's source ===
[ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil, jsonschema>=4.18,<5, tokenizers already installed
[ok] llama.cpp 3cf03257f2: G:\project-maya\third_party\llama.cpp

=== Step 4: the engine ===
[ok] engine already compiled for sm_120: G:\project-maya\build\maya-ds4.exe

=== Step 5: the model (DeepSeek-V4.1-Flash-1017) ===
[ok] DeepSeek-V4.1-Flash-1017: 54 files, 413.9 GB in F:\models2\DeepSeek-V4.1-Flash-1017

=== Step 6: the pack (the engine's index of the model files) ===
Indexing every tensor of the safetensors (the weights stay where they are), the Engram hash tables and the
tokenizer (about a minute) ...

G:\project-maya.venv\Scripts\python.exe G:\project-maya\tools\ds4\pack.py --model F:\models2\DeepSeek-V4.1-Flash-1017 --out F:\models2\DeepSeek-V4.1-Flash-1017\maya-ds4
Traceback (most recent call last):
File "G:\project-maya\tools\ds4\pack.py", line 227, in
sys.exit(main())
~~~~^^
File "G:\project-maya\tools\ds4\pack.py", line 215, in main
nk = check_k_map(model, st)
File "G:\project-maya\tools\ds4\pack.py", line 150, in check_k_map
if shape[-1] // 16 != int(w):
~~~^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict'

[X] command failed (exit 1): python.exe

Originally created by @anbow1 on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/499 Model? 2) DeepSeek-V4.1-Flash-1017 Which files of DeepSeek-V4.1-Flash-1017? 5) EXL3 2.9 bits (414 GB) === Step 1: checking this PC === [!] Windows support is new (experimental): Maya is developed and measured on Linux - tell us how it runs NVIDIA GPUs: GPU 0 (NVIDIA GeForce RTX 5090, 32 GB) - can be used [ok] using GPU 0 (NVIDIA GeForce RTX 5090, 32 GB) [ok] CUDA toolkit 13.3: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.3\bin\nvcc.EXE [ok] NVIDIA driver 621.01 [ok] C++ compiler: Visual Studio Build Tools (C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat) [ok] CMake 4.4 [ok] Python 3.14.5 (G:\project-maya\.venv) [!] RAM: 191 GB, 175 GB available now; with 32 GB of VRAM that is below the ~230 GB that hold all of DeepSeek-V4.1-Flash-1017's 211 GB of weights at 2.9 bits, so the experts that do not fit are read from the model's files on the SSD, much slower (2.9 bits, one RTX 3090 and 64 GB measured: prompts ~50 tokens/s, answers ~4-5 tokens/s). More GPUs (--gpus) or RAM make it faster [ok] tensor parallel pairs equal GPUs: a GPU without an equal neighbour runs its layers alone [ok] CPU: AMD Ryzen 7 9800X3D 8-Core Processor (AVX-512, 16 threads) === Step 2: your choices === [ok] files: EXL3 2.9bpw (LibertAIDAI's EXL3 quant at 2.9 bits) Context? 4) 256K tokens [ok] context: 262144 tokens [ok] model folder: F:\models2\DeepSeek-V4.1-Flash-1017 === Step 3: Python packages and llama.cpp's source === [ok] numpy, jinja2, regex, pyyaml, tqdm, requests, cmake, ninja, pillow, psutil, jsonschema>=4.18,<5, tokenizers already installed [ok] llama.cpp 3cf03257f2: G:\project-maya\third_party\llama.cpp === Step 4: the engine === [ok] engine already compiled for sm_120: G:\project-maya\build\maya-ds4.exe === Step 5: the model (DeepSeek-V4.1-Flash-1017) === [ok] DeepSeek-V4.1-Flash-1017: 54 files, 413.9 GB in F:\models2\DeepSeek-V4.1-Flash-1017 === Step 6: the pack (the engine's index of the model files) === Indexing every tensor of the safetensors (the weights stay where they are), the Engram hash tables and the tokenizer (about a minute) ... > G:\project-maya\.venv\Scripts\python.exe G:\project-maya\tools\ds4\pack.py --model F:\models2\DeepSeek-V4.1-Flash-1017 --out F:\models2\DeepSeek-V4.1-Flash-1017\maya-ds4 Traceback (most recent call last): File "G:\project-maya\tools\ds4\pack.py", line 227, in <module> sys.exit(main()) ~~~~^^ File "G:\project-maya\tools\ds4\pack.py", line 215, in main nk = check_k_map(model, st) File "G:\project-maya\tools\ds4\pack.py", line 150, in check_k_map if shape[-1] // 16 != int(w): ~~~^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' [X] command failed (exit 1): python.exe
Author
Owner

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

You need this fix, https://github.com/mw00/project-maya/pull/481

<!-- gh-comment-id:6416737548 --> @FlareP1 commented on GitHub (Oct 26, 2026): You need this fix, https://github.com/mw00/project-maya/pull/481
Author
Owner

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

working now

<!-- gh-comment-id:6422484257 --> @anbow1 commented on GitHub (Oct 26, 2026): working now
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#201
No description provided.