alt.freeweights.deepseek / DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF
From: ISTA-DASLab <huggingface.co/ISTA-DASLab>Newsgroups: alt.freeweights.deepseekSubject:

DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF

Date: 2026-11-14Commit: 54229d3Signed: 2DC28CC7B26A283B ✓

Image text to text model. Gguf weights, 184 GB in all. Published by ISTA-DASLab under MIT.

deepseek184GBDeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUFggufpermissive
FactsParamsnot statedSize184 GBFormatsggufTaskimage text to textLicenseMITFrom sourcepermissive
$ fw get ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF
# manifest sha256 54df3310c893… · 184 GB · 14 files
$ fw verify ./DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF
From sourceHosted (signed)ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUFLast check: 2026-11-14 06:28 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of DeepSeek-V4.1-Flash-1017.

Works with

Convert with

Overview

Size
184 GB
Weights
72.1 GB (smallest of 2 GGUF variants)
Parameters
not stated
Formats
gguf
Task
image text to text
License
MIT (permissive)
Files
14, each with a sha256
Publisher
ISTA-DASLab
Added
2026-11-14
Section
alt.freeweights.deepseek
Lineage

Original release from the publisher.

Base model: deepseek-ai/DeepSeek-V4.1-Flash-1017

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 06:28 UTCpassed

Model card

From the publisher at commit 54229d3. Shown as plain text with links; images open at the publisher.

DeepSeek-V4.1-Flash-1017 GSQ-RCO Coder, expert-pruned GGUF

DeepSeek-V4.1-Flash-1017 &middot; GSQ-RCO Coder#

A 763B-parameter mixture-of-experts model at 1 bit per parameter, with half of its 384 experts per layer removed and the rest quantized, built for code and agentic workflows. 72.1 GB of transformer weights, 1.05 bits per parameter measured against the original model's transformer (see Overview).

arXiv: GSQ arXiv: RCO GSQ code RCO code DASLab license

Image: Coding benchmarks: Coder vs the base model


Overview#

This release is a capability-targeted compression of DeepSeek-V4.1-Flash-1017. Half of the routed experts are removed from the model rather than quantized, and the remaining weights keep the per-tensor quantization of the IQ2_XXS build (2.00 bpw).

The base model has 763.2B parameters, 551.9B of them in the transformer. The Coder stores that transformer in 72.1 GB, against 138.2 GB for the unpruned IQ2_XXS build. The two Engram lookup tables (110.6 GB, shared with the unpruned release) are read one row per token and may stay on disk.

How the 1 bit is counted. The Coder's 72.12 GB of transformer weights, divided by the 551.9B transformer parameters of the original model, give 1.05 bits per parameter, which we round to 1 bit. The count is against the original model, so every removed expert counts as zero bits. The figure is an effective rate: it amortises the removed experts over the original parameter count, and so expresses the combined effect of pruning and quantization. The 280.1B parameters the Coder keeps average 2.06 bits: they keep the per-tensor types of the IQ2_XXS build, and the dense tensors, held at higher precision, make up a larger share of what remains. Removing 192 of 384 experts per layer (50% of the routed-expert parameters) accounts for the remainder of the reduction. As in the unpruned release, the figure is reported over the transformer and excludes the Engram tables (196.6B parameters at a fixed 4.50 bpw); over the whole model including them, the rate is 1.92 bits per parameter.

Removing half of a model's experts necessarily reduces its capabilities. The contribution of this release is that the reduction is directed towards code, agentic tool use, long context and vision, and the retained experts are therefore those that support these domains. Degradation outside this set is an accepted cost of the method. For general-purpose use, the unpruned GSQ-RCO releases are the appropriate choice.

SWE-bench VerifiedLiveCodeBench v6
Base model (FP8 / FP4)81.2089.71
GSQ-RCO Coder (72.1 GB, 1 bit: 1.05 bpw)77.0088.57
retained94.8%98.7%

All accuracy numbers in this card were measured at reasoning effort 50.

LiveCodeBench v6 retains 98.7% of the base score. SWE-bench Verified, which evaluates extended agentic trajectories over real repositories, retains 94.8%. The gap between the two is consistent with the expectation that sustained multi-step tasks accumulate error across turns, and therefore tolerate capacity reduction less well than single-problem code generation.

This is an experimental release and feedback is welcome, particularly on capabilities that were not represented in the calibration data.


What Expert Pruning Is#

A mixture-of-experts layer holds many independent feed-forward blocks and a small router that picks a few per token. DeepSeek-V4.1-Flash-1017 has 384 routed experts per layer, with 6 active per token, so the experts hold the overwhelming majority of the parameters while only a fraction runs on any given token.

Expert pruning removes entire experts from the model. It is therefore distinct from quantization, which retains every parameter and reduces the precision at which it is stored. Pruning removes parameters from the model outright, reducing both file size and resident memory, and restricts the router to a smaller candidate pool. The two techniques are complementary and are combined here: 192 of 384 experts per layer are removed, and the remaining 192 keep the quantization of the IQ2_XXS build.

The central question is which experts to remove. Since experts specialise, importance is not an intrinsic property of an expert but is defined relative to a distribution of inputs. That distribution is supplied by the calibration data, which consequently determines which capabilities survive compression.


How the Experts Are Chosen#

Selection was done with RCO (paper, code), optimizing the KL divergence between the pruned and the unpruned model on calibration data, rather than ranking experts by a heuristic importance score. The search runs on the quantized IQ2_XXS build, which is both the model being pruned and the reference, so it chooses the experts whose removal changes that build's outputs least, under the quantization they are shipped with.

The GGUF format constrains the problem in a particular way. It stores a single expert count for the entire model, so every layer must retain the same number of experts. A single global budget would permit the search to remove more experts from insensitive layers and fewer from sensitive ones, which generally yields a better model, but produces per-layer counts that the format cannot represent without padding that forfeits the memory saved.

RCO enforces budgets exactly by treating the feasible set as a smooth manifold, and admits multiple simultaneous budgets. Replacing the global budget with one budget per layer expresses the format's structural requirement directly as constraints. These constraints are mutually independent, as no expert belongs to more than one layer, so the projection and retraction steps decompose into per-layer operations and remain inexpensive.

The constraints decompose, but the objective does not: the loss is the KL divergence of the full model, so the gradient for any layer reflects the state of all others. The layers are optimised jointly and only budget enforcement proceeds per layer. This distinguishes the method from the common alternative of retaining a fixed number of top-ranked experts per layer under a heuristic importance score, with no joint search. A penalty-based formulation would additionally require one coefficient per layer, and these coefficients interact; RCO requires none.


Drawing and Animation#

SVG and three.js generation are part of the calibration data, so the Coder keeps the ability to write graphics code. As an informal qualitative check, the "pelican riding a bicycle" prompt is used, which requires object knowledge, spatial composition and correct SVG syntax simultaneously. The Coder's answer is animated: the wheels and cranks turn, the legs pedal, the throat pouch jiggles, and the sea, headlands, clouds and road scroll at different speeds.

Image: Animated SVG of a pelican riding a bicycle along a coastal road, drawn by the pruned model


Available Files#

The Coder backbone is a GGUF in five shards in the folder IQ2_XXS/, named DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-0000i-of-00006.gguf, i = 1 to 5. The name keeps the identifier of the IQ2_XXS build, whose per-tensor quantization types the Coder keeps. Shard 1 holds the metadata only, shards 2 to 5 the transformer weights with 192 of 384 experts per layer.

The Engram file is shard 6 of the Coder. It is the same file as in the unpruned release (also shard 6 there), so llama.cpp needs a link to it named IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00006-of-00006.gguf (one command, see llama.cpp).

FileSizeNotes
IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-0000i-of-00006.gguf, i = 1 to 572.12 GBTransformer weights, 192 of 384 experts per layer, 1.05 bits per parameter of the original transformer
DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf110.60 GBShard 6: the two Engram lookup tables (IQ4_NL, 4.50 bpw), neither pruned nor searched; identical to the file of the unpruned release
Total182.72 GBagainst 248.84 GB for the unpruned IQ2_XXS build

The Engram tables are a lookup rather than a matmul weight, so they are held at a fixed 4.50 bpw and excluded from both the quantization search and the pruning. If you already downloaded the unpruned release, its Engram file is the same and does not need to be downloaded again. The vision projector, mmproj-DeepSeek-V4.1-Flash-1017-BF16.gguf (0.97 GB), is also the file of the unpruned release. GB is 109 bytes.

The repository also contains the chat template the GGUF embeds (chat_template.jinja) and the result of the expert search: expert-selection/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS.kept-experts.json lists the 192 experts kept in each layer. Expert j of a layer in the Coder is the j-th listed expert of the base model, and every other tensor equals the IQ2_XXS build.


Usage#

Strata Engine#

Strata runs these GGUFs on a single NVIDIA GPU, with a one-click installer and an OpenAI-compatible endpoint on localhost. The builds were optimized together with Strata for local inference.

llama.cpp#

Requires llama.cpp b11870 or newer, which supports DeepSeek-V4.1.

# download the Coder and the Engram file (requires: pip install -U "huggingface_hub[cli]")
hf download ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF \
  --include "IQ2_XXS/*" "*Engram*" --local-dir .

# the Engram file is shard 6 of the Coder
ln -s ../DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf \
  IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00006-of-00006.gguf

llama-cli -m IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00001-of-00006.gguf -ngl 99

-m takes the first shard; llama.cpp opens shards 2 to 6 from the same directory. If you already have the Engram file of the unpruned release, leave "*Engram*" out of the download and point the link at your copy. On Windows, mklink /H IQ2_XXS\DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00006-of-00006.gguf DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf makes the link.

The Engram table stays memory-mapped on disk and is read one row per token, as in the unpruned release.

Images#

Download the vision projector and pass it with --mmproj:

hf download ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF \
  --include "mmproj-*" --local-dir .

llama-server -m IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00001-of-00006.gguf \
  --mmproj mmproj-DeepSeek-V4.1-Flash-1017-BF16.gguf -ngl 99

With llama-mtmd-cli, also pass --jinja so that the chat template embedded in the GGUF is used.

Chat template and reasoning effort#

The chat template and reasoning effort work as in the unpruned release: the GGUF embeds the same template, also included here as chat_template.jinja.

llama-server -m IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00001-of-00006.gguf -ngl 99 \
  --reasoning on --reasoning-effort 50

Method#

GSQ (paper, code)Post-training scalar quantization that learns grid assignments and group scales jointly, closing most of the gap to vector quantization at low bit-widths while staying deployable in standard GGUF types.
RCO (paper, code)Budget-constrained optimization on a Riemannian manifold. Used here to choose which experts to remove under one exact budget per layer, and in the unpruned release to assign per-tensor quantization types.

Both developed at the Deep Algorithms and Systems Lab (DASLab), Institute of Science and Technology Austria.


Citation#

@article{gsq2026,
  title  = {GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling},
  author = {Dadgarnia, Alireza and Tabesh, Soroush and Nikdan, Mahdi and Helcig, Michael and Kurtic, Eldar and Kleinegger, Maximilian and Alistarh, Dan},
  journal= {arXiv preprint arXiv:2604.18556},
  year   = {2026}
}

@article{rco2026,
  title  = {Model Compression with Exact Budget Constraints via Riemannian Manifolds},
  author = {Helcig, Michael and Alistarh, Dan},
  journal= {arXiv preprint arXiv:2605.00649},
  year   = {2026}
}

Acknowledgements#

We thank Verda and Scientific Computing at the Institute of Science and Technology Austria for the compute used to produce these models.

License#

These weights inherit the license of the base model (DeepSeek-V4.1-Flash-1017, MIT). The GSQ-RCO tooling is released by the Deep Algorithms and Systems Lab under its repository license.

Built with GSQ and RCO at the Deep Algorithms and Systems Lab &middot; Institute of Science and Technology Austria

Files

14 files · 184 GBWeights 72.1 GB (smallest of 2 GGUF variants). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes2.38 KBf5f979db632bfd1b8c443eaa170acb1244c6eb382cf8eb1028a1a86faa955344
DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf111 GB3dac4c54893ad7aa89103c0028500eadc78e74112cef3a2930a97e67dc9fb4f3
IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00001-of-00006.gguf5.78 MB108e63d27240da2d99846250727a7b282e05a7fdf2448435e81904b9a98d8a4a
IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00002-of-00006.gguf19.8 GB75079999eb3a492ad695f3466fd6a068a1cf1920980eac1c7f51406363fadf7a
IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00003-of-00006.gguf19.9 GBea964e525922f36d3b984299c1a5bb8d896f50b9c2942364cd221c37863331f2
IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00004-of-00006.gguf19.7 GB2d95806d186597cb0ea32635c92f0b66a9a6afae1a399ff74b13aebaa4ac7a52
IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00005-of-00006.gguf12.7 GB3665b48c3bd46330780caf286ee40a087ac11499e5b7df8c943b098d10f426d4
README.md15.1 KB7ad73dcb7e42f2510423c5beb759bee24b28a85048e5221ecb724322cb21487e
assets/banner.png1.98 MB8887fb4880f1d8f597ba801d68210bb7d967c5c4ad5b09641760ebd800012e63
assets/pelican.svg74.3 KB3aba3233ba4f725a1cccccc8fb90e92832dbeacd4209b619a48df86a6fe84d14
assets/plots/DeepSeek-V4.1-Flash-1017-Coder-coding_bars.png129 KBbe81a16f92513fb240506639ff861b617f4f0ee3b7bd848e4c6ad91ecff813c1
chat_template.jinja18.5 KB4d61d22c90ea0cdf15c7e298f7215f23eeffd20f8eed8fb517fda5fb64693d99
expert-selection/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS.kept-experts.json37.3 KBe2f58383921b42390836f5d335dfcd5a18f31e4eec9c2335253e99fb9116003a
mmproj-DeepSeek-V4.1-Flash-1017-BF16.gguf972 MB0fdc4b7693f287e9665940cf42bd39c546ffe4f0def89c569d7d0e45d60d2df1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
54229d38d5 pinned now2026-11-14 06:28 UTC14 files · 184 GB

Use it

$ fw get ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF
# manifest sha256 54df3310c893… · 184 GB · 14 files
$ fw verify ./DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF.json --dir ./DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF $ python3 fw.py verify ./DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF ./ISTA-DASLab__DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF --revision 54229d38d588a66d1c6cff08af7b281b9326c656 --local-dir ./DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF
llama.cppDownload one GGUF variant (IQ2_XXS, 72.1 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF --include "IQ2_XXS/*" --local-dir ./DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF $ llama-server -m ./DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF/IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00001-of-00006.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF/IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-IQ2_XXS-00001-of-00006.gguf\n' > Modelfile $ ollama create deepseek-v4.1-flash-1017-gsq-rco-coder-gguf -f Modelfile

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
Checked and recorded in the license audit. 2026-11-14
Text in
README.md
Text sha256
7ad73dcb7e42f2510423c5beb759bee24b28a85048e5221ecb724322cb21487e
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ISTA-DASLab <huggingface.co/ISTA-DASLab>Newsgroups: alt.freeweights.deepseekSubject: DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUFDate: 2026-11-14Commit: 54229d3Signed: 2DC28CC7B26A283B ✓
Upstream
ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF
Pinned commit
54229d38d588a66d1c6cff08af7b281b9326c656
Manifest
DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF.json · .minisig
Manifest sha256
54df3310c893b62423ffab3bf1fb18481995bd58a736859bbc23b8fe998a5f22
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 06:28 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF.json.minisig $ minisign -Vm DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

deepseek-ai/DeepSeek-V4.1-Flash-1017 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF.json. Provenance. Takedown history: none.
From: timm <huggingface.co/timm>Subject: deepseek_vit_412m.deepseek_v4_1_flash
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-R1-0528-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-R1-0528-Qwen3-8B-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-V3-0324-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-V3.1-GGUF
From: mlx-community <huggingface.co/mlx-community>Subject: deepseek-ai-DeepSeek-V4-Flash-8bit