Views
No views yet
.github/workflows/hf-modelcard-sync.yml).ultratensor/gguf_keep.py. A splice
keeps only the expert subset a domain actually uses:ultratensor-factored, commit b4c34be) which derives per-layer expert
counts from the stored tensors and routes out-of-range dense selections
to fallback expert 0 (same convention as the hash-layer tid2eid remap).nextn_predict_layers = 0). They load natively in llama.cpp
builds with DeepSeek-V4 support (b10424 line), except keep64/keep64-iq2xs
which require the UltraTensor fork (>= b4c34be) for mixed-E loading.deepseek-ai/DeepSeek-V4-Pro is MIT, and the BatiAI GGUF distribution
explicitly "inherits the source model license: MIT". Redistribution of these
splices is permitted under MIT with the attribution in the model card.1pip install huggingface_hub
2huggingface-cli login # once
3
4python scripts/download_models.py --dest models
5python scripts/download_models.py --model keep16u-iq2xs --dest models
6python scripts/download_models.py --include-keep64 --dest models # 156 GiB--no-op-offload is mandatory on every Q3_K tier. The engine's default
op-offload places Q3_K dequant kernels of CPU-resident tensors on the GPU,
which crashes at >=36 prompt tokens and silently corrupts short-prompt
outputs. The IQ2_XS GPU tiers are also served with --no-op-offload.llama-server -m models\DeepSeek-V4-Coder-keep16u.gguf --host 127.0.0.1 --port 8780 -ngl 0 -c 512 --no-op-offloadllama-server -m models\DeepSeek-V4-Coder-keep16u-iq2xs.gguf --host 127.0.0.1 --port 8791 -ngl 12 -c 512 --no-op-offload95fcdad); stock
b10424 builds serve short prompts and CPU fine.| Tier | Mean PPL | Notes |
|---|---|---|
| keep16u Q3_K_M, CPU | 2.653 | code 3.000, math 2.887, multilingual 2.629, rare 2.536, needle 2.215 (8 tokens) |
| keep16u IQ2_XS, GPU | 8.540 | code 8.528, math 8.631, multilingual 8.458, rare 8.568, needle 8.517 (16 tokens); degenerate token loops on every domain |
docs/paper/ultratensor.tex) and docs/PREPRINT.md for the full story.ultratensor/model_catalog.json. The
download_models.py and upload_models.py scripts share it.