/ Модель

Характеристики

Контекст
1 048 576 токенов
Размер весов
275 ГБ
Лицензия
MIT
Архитектура
deepseek_v41 · dense
Базовая модель
DeepSeek-V4.1-Flash
Библиотека
mlx
Опубликована
10 сен 2026

DeepSeek-V4.1-Flash-REAP50-MLX-mixed-4_8bit

Генерация текстаТекст → текст5 профессий

DeepSeek-V4.1-Flash-REAP50-MLX-mixed-4_8bit — сборка модели DeepSeek-V4.1-Flash для Apple Silicon на базе MLX, подготовленная PipeNetwork.

967скачиваний за 30 дней0лайковвеса обновлены10 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Это текстовая генеративная модель с архитектурой mixture-of-experts и заявленным размером 754,6 млрд параметров. Вариант содержит 40 слоёв и 384 маршрутизируемых эксперта на слой, из которых после REAP-прунинга сохранены 192, то есть удалено 50% экспертов. Модель предназначена для генерации текста и запуска локальных inference-сценариев на системах Apple Silicon.

В архитектуре используются MLA с межслойным совместным использованием KV-кэша, hashed n-gram embedding engram с таблицами объёмом 196,6 млрд параметров, hyper-connections на основе Sinkhorn и attention sinks. Эксперты квантизированы до 4 бит, attention, shared-компоненты и embeddings — до 8 бит, таблицы engram — до 8 бит; отдельные компоненты оставлены без квантизации в форматах bf16 или fp32. Размер файлов составляет 274,7 ГБ, для запуска требуется система примерно с 320 ГБ оперативной памяти. Vision tower и aligner присутствуют, но текущий runtime работает только с текстом; слои multi-token prediction не включены.

Модель рассчитана на локальный запуск через специальный порт deepseek-v41-mlx, поскольку поддержка этой архитектуры отсутствует в transformers, mlx-lm и mlx-vlm. Порт прошёл проверки согласованности вычислений с эталонной реализацией DeepSeek. На тесте wikitext-2 заявлена perplexity 3,3833, однако прунинг ухудшает результат относительно непрореженной версии: отношение perplexity составляет 1,1681. Основные ограничения — очень высокие требования к памяти, необходимость использовать специализированный runtime, отсутствие текстового режима работы с изображениями и потенциальная потеря качества из-за удаления половины экспертов.

Модель распространяется по лицензии MIT, как и исходная модель; код порта также доступен по лицензии, указанной для upstream-модели.

Для каких профессий подходит5

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

DeepSeek-V4.1-Flash-REAP50-MLX-mixed-4_8bit

MLX (Apple Silicon) build of DeepSeek-V4.1-Flash — 754.6B parameters: 40 layers x 384 routed experts, MLA with cross-layer KV-cache sharing (4 compressor-owning layers serve all 40), a two-layer engram hashed n-gram embedding whose tables alone are 196.6B parameters (~40% of the checkpoint), staggered Sinkhorn hyper-connections, and per-layer attention sinks — quantized to 4-bit experts / 8-bit attention&shared / 8-bit engram.

These files are modified: dequantized from the FP8/FP4 release (bit-exact decode of the 32x32-block ue8m0 fp8 and per-32 fp4 packing) and re-quantized; the architecture is unchanged. The 3 multi-token-prediction layers (DSpark markov/confidence heads) are not included; the vision tower and aligner are carried unmodified but the runtime is text-only.

Runtime

deepseek_v41 exists in no runtime — not transformers, not mlx-lm, not mlx-vlm. This checkpoint loads only through the port:

git clone https://github.com/PipeNetwork/deepseek-v41-mlx && cd deepseek-v41-mlx && pip install -r requirements.txt
python scripts/smoke_generate.py /path/to/DeepSeek-V4.1-Flash-REAP50-MLX-mixed-4_8bit
from deepseek_v41_mlx.load import load
model, tokenizer = load("/path/to/DeepSeek-V4.1-Flash-REAP50-MLX-mixed-4_8bit")

The port was validated against DeepSeek's own inference/model.py (the only reference): fp32 tiny-config parity 1e-6 across prefill / cached decode / chunked prefill, the three QAT fake-quant ops bit-exact, and negative controls proving the fragile paths are load-bearing (rope-inverse 0.84, attention sinks 0.65, cross-layer sharing 0.56 logit shift when broken). Strict loading reports zero missing / zero unexpected tensors. One reference decode bug was found and documented (odd-step indexer reads the wrong layer's keys; 0.67 logit shift — the port uses the owner's cache): see docs/upstream-notes.md in the repo.

Size and what is quantized

274.7 GB on disk. RAM: 320 GB-class (275 GB resident).

groupshare of parametersthis build
routed experts (40 x 384, w1/w2/w3)543.6B (72%)4-bit, group 64
engram tables (2 x [384,006,168 x 256])196.6B (26%)8-bit, group 64
attention (MLA), shared experts, embeddings, head~14B8-bit, group 64
wo_a (block-diagonal output LoRA), hyper-connections, sinks, router biases, compressor, indexer keys, norms—unquantized (bf16/fp32)

REAP pruning

This build keeps 192 of 384 routed experts per layer (50% pruned; all 40 layers are routed MoE in V4.1 — no hash layers — so all are pruned; attention, shared experts, engram tables and the router structure are untouched), ranked by REAP saliency: mean applied routing weight x ‖expert output‖ over 65,536 calibration tokens (wikitext-2 train, ten languages of Wikipedia, code; zero 32-gram overlap with the eval set), collected by running the full quantized build. Kept experts carry 72.7% of saliency mass on average; two disjoint halves of the calibration set choose the same kept set 88.4% of the time. Pruning was applied to the already-quantized build (expert subsetting and affine quantization act on different axes — exactly equivalent to pruning bf16 and requantizing). Saliency retention is not a quality measure; the perplexity below is.

Quality

Per-layer divergence ladder vs the bf16-dequantized reference — every one of the 40 decoder layers run on identical inputs (16,384 tokens of wikitext-2), teacher-forced and free-running, with the ladder's arithmetic asserted bit-identical to this converter's:

recipeteacher-forced (mean)free-running (final layer)cosine (final)
8bit0.00840.12430.9910
6bit0.01770.13930.9886
4bit-engram40.05790.27140.9634
mixed 4/8, engram as shipped (fp8/ue8m0)0.03350.19480.9800
mixed 4/8, engram 6-bit (this set's 1 TB build)0.03350.19450.9801
mixed 4/8, engram 4-bit (this set's 512 GB build)0.03420.20900.9775

The engram finding that shapes this set: 6-bit engram is indistinguishable from the shipped fp8 tables (free-running 0.1945 vs 0.1948) while 4-bit engram costs +7.3% free-running — but the engram-6 build is 477 GB and a 512 GiB machine cannot run it, so the engram-4 build is the one that fits and the engram-6 build serves 1 TB machines.

Perplexity (wikitext-2 test, 286,580 tokens in 140 windows of 2048, through this runtime): 3.3833 [3.1696, 3.6153]. Greedy generation is coherent (collapse check). Paired against the unpruned build on identical windows: ratio x1.1681 [1.1407, 1.1991], worse on 138/140 windows.

License

MIT, as the upstream model. Port code: https://github.com/PipeNetwork/deepseek-v41-mlx.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · mlx

Нельзя запустить

MLX-модели работают только на Apple Silicon, на GPU NVIDIA они не запускаются.

Класс архитектуры
DeepseekV41ForCausalLM
Ревизия весов
65b2bc7

0 моделей