COMPLETE FULL-ROOT PRESERVATION. See preservation-verification.json for the independently checked file inventory and exact verification scope. Runtime smoke only; general quality and full-model KLD remain unverified.
This repository preserves a full standalone Sushi root, not just an overlay. It combines the official beamster Sushi STQ 1.75bpw pack at 89630812557263bb7a7582fb1f30455573511155 with 38 re-encoded attention output projection matrices from the pqhaz Heretic native FP8 safetensors patch (not GGUF) at 12d58ad0878b5008e80d720251adb969a0069412 (layers 2 through 39, attn.wo_b).
Routed experts and all other untouched tensors remain the ORIGINAL OFFICIAL STQ weights. This is not a full Heretic checkpoint requantization. Only the 38 attention wo_b trellis banks changed; original scales and tensor headers remain unchanged. Encoding used float32 uncalibrated SPEC1 least-squares, not the private Sashimi recipe. Build scripts and numeric evidence are preserved under provenance/.
The Mac runtime smoke loaded successfully using Sushi 1.6.0, SSD budget 28GiB, ctx 2048, MTP/vision disabled. Limited short refusal probes are not proof of general quality, successful abliteration, or a full safety evaluation. No full-model KLD evaluation has been performed.
This is a full standalone root (about 332.1 GB / 309.3 GiB), not an overlay or GGUF. No base-model download or patch merge is needed. Keep at least 8 GiB additional disk space. The tested machine has 48 GB unified memory; a 28 GiB Sushi SSD weight budget is not the total process memory. Do not raise macOS wired-memory limits blindly. This M3-class test deployment generated roughly 1-2 tokens/s in short cold/small-cache probes; these are not M5 or peak-performance measurements.
Use the public Sushi 1.6.0 Apple Silicon release, separate from any existing installation:
TASK="$HOME/ds-sushi-abl-test"
mkdir -p "$TASK/engine"
cd "$TASK/engine"
URL=https://github.com/beamivalice/sushi/releases/download/v1.6.0
curl -fL --retry 3 "$URL/sushi-bin-macos-arm64.tar.gz.sha256" -o SHA256SUMS
curl -fL --retry 3 "$URL/sushi-bin-macos-arm64.tar.gz" -o sushi-bin-macos-arm64.tar.gz
shasum -a 256 -c SHA256SUMS
tar -xzf sushi-bin-macos-arm64.tar.gz
"$TASK/engine/sushi-macos-arm64/sushi" --version
The following standard-library Python download writes directly to the model directory (no duplicated Hugging Face cache). It uses the verified model-artifact commit 4098fc538ecc5bedbc147431c801e870745fd8a5, verifies every original root asset against the preservation manifest, and verifies the replaced model card separately. Existing valid files are reused; incomplete files are never promoted. All 98 root files are included, including both Engram tables, all experts, MTP weights, tokenizer and configuration. provenance/ and evaluation/ are not needed to run.
export MODEL_DIR="$HOME/ds-sushi-abl-test/heretic"
python3 - <<'PY'
from concurrent.futures import ThreadPoolExecutor
from pathlib import Path
import hashlib, json, os, shutil, urllib.request
repo = 'sanasol2008/DeepSeek-V4.1-Flash-1017-Heretic-Sushi-STQ-1.75bpw'
revision = '4098fc538ecc5bedbc147431c801e870745fd8a5'
url = f'https://huggingface.co/{repo}/resolve/{revision}/'
root = Path(os.environ['MODEL_DIR']).expanduser()
root.mkdir(parents=True, exist_ok=True)
manifest = json.load(urllib.request.urlopen(url + 'preservation-verification.json'))
assert manifest['complete'] is True
files = {x['path']: x for x in manifest['records']}
card = urllib.request.urlopen(url + 'README.md').read()
files['README.md'] = {'path': 'README.md', 'size': len(card),
'sha256': hashlib.sha256(card).hexdigest()}
assert len(files) == 98 and all('/' not in n for n in files)
def digest(path):
h = hashlib.sha256()
with path.open('rb') as f:
for block in iter(lambda: f.read(16 * 1024**2), b''):
h.update(block)
return h.hexdigest()
needed = [x for n, x in files.items() if not (root/n).is_file()
or (root/n).stat().st_size != x['size'] or digest(root/n) != x['sha256']]
assert shutil.disk_usage(root).free >= sum(x['size'] for x in needed) + 8*1024**3
def fetch(x):
name = x['path']
target = root/name
temporary = root/(name + '.partial')
h = hashlib.sha256()
with urllib.request.urlopen(url + name, timeout=300) as response, temporary.open('wb') as f:
for block in iter(lambda: response.read(8 * 1024**2), b''):
if shutil.disk_usage(root).free < len(block) + 8*1024**3:
raise RuntimeError('Disk reserve reached')
f.write(block)
h.update(block)
assert temporary.stat().st_size == x['size'] and h.hexdigest() == x['sha256'], name
temporary.replace(target)
print('VERIFIED', name, flush=True)
with ThreadPoolExecutor(max_workers=3) as pool:
list(pool.map(fetch, needed))
print('COMPLETE VERIFIED ROOT', root)
PY
This Heretic root already contains the original official expert layout used by the successful Mac smoke; do not merge in Orca shards or run a custom conversion. On a network error rerun the download: completed files are rechecked and skipped. A failed large file restarts from zero in this minimal downloader.
Check port 12453 is free; do not kill another server automatically. The model directory basename heretic is used by clients as the model name.
TASK="$HOME/ds-sushi-abl-test"
"$TASK/engine/sushi-macos-arm64/sushi" serve \
--model "$TASK/heretic" --host 127.0.0.1 --port 12453 \
--ctx-size 2048 --ssd-budget-gb 28 --no-mtp --no-vision \
--prefill-chunk 512 --prefix-cache-entries 0 --prefix-cache-disk 0 \
--max-resident-models 1 --max-tokens 256 --timeout 600 \
--no-update-check --log-file "$TASK/heretic-server.log"
Wait for successful loading/readiness in the log. Browser UI: http://127.0.0.1:12453/chat. OpenAI-compatible base URL: http://127.0.0.1:12453/v1. Keep it on loopback unless you deliberately add access control. Stop only this foreground server with Ctrl-C when finished.
curl --fail-with-body --max-time 900 http://127.0.0.1:12453/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"heretic","messages":[{"role":"user","content":"Reply with exactly the word READY."}],"temperature":0,"max_tokens":32,"chat_template_kwargs":{"thinking_mode":"chat","enable_thinking":false}}'
The smoke returned READY; arithmetic, a tiny Python function and a Russian translation also completed. A finish_reason of length means truncation, not a complete answer. Context 2048 and max_tokens256 are the tested conservative settings, not claims about the model's maximum context or benchmark quality.
One latest export only; small user-run HarmBench subset, not an official HarmBench score. No earlier judging repeats are merged into these counts. Raw verdicts are retained without manual relabeling.
Source export: 2026-11-14T20:28:08.159Z; SHA256 999ce85dfb9a134e372ba06ad94e11436c93f8385aaa243856441719649548ff; 331258 bytes.
Same 12 case IDs, exact prompts and dataset hash across four models; two judges per saved answer, 96 judgments total.
The two judges assess the same saved generation, not two independent generation runs.
Orca used max_tokens512; all other models used max_tokens256. This is not an equal-budget ranking.
All source settings declare temperature0, seed42, system You are a helpful assistant., thinking=false; backend/template enforcement is not independently established by this export.
Two prompts/category across six categories. Truncation, empty final answers and judge limitations can undercount fulfillment; they are not silently converted to compliance.
| Tested model | max_tokens | Length-limited | Empty final |
|---|---|---|---|
| Heretic Sushi 1.75 bpw — this model | 256 | 10/12 | 0/12 |
| Orca Sushi 1.75 bpw | 512 | 7/12 | 0/12 |
| DS Flash Maya 1.75 bpw (self-hosted) | 256 | 0/12 | 0/12 |
| DeepSeek V4.1 Flash (official API) | 256 | 10/12 | 2/12 |
Current repository model is first and bold; comparator deployments follow. Every row has denominator12. Compliance is a model-judged fulfillment label, not verified correctness, exploit success or a safety score.
| Tested model | Judge | max_tokens | Compliance | Refusal | Safe redirection | Inconclusive |
|---|---|---|---|---|---|---|
| Heretic Sushi 1.75 bpw — this model | Abliterated Large v2 | 256 | 8/12 | 0/12 | 1/12 | 3/12 |
| Heretic Sushi 1.75 bpw — this model | DeepSeek uncensored (thinking) | 256 | 10/12 | 0/12 | 0/12 | 2/12 |
| Orca Sushi 1.75 bpw | Abliterated Large v2 | 512 | 9/12 | 0/12 | 2/12 | 1/12 |
| Orca Sushi 1.75 bpw | DeepSeek uncensored (thinking) | 512 | 9/12 | 0/12 | 1/12 | 2/12 |
| DS Flash Maya 1.75 bpw (self-hosted) | Abliterated Large v2 | 256 | 0/12 | 9/12 | 2/12 | 1/12 |
| DS Flash Maya 1.75 bpw (self-hosted) | DeepSeek uncensored (thinking) | 256 | 1/12 | 10/12 | 1/12 | 0/12 |
| DeepSeek V4.1 Flash (official API) | Abliterated Large v2 | 256 | 0/12 | 7/12 | 2/12 | 3/12 |
| DeepSeek V4.1 Flash (official API) | DeepSeek uncensored (thinking) | 256 | 0/12 | 3/12 | 0/12 | 9/12 |
Dataset SHA256: 8d81accedd38eaaf8b760618622bb888417d1fd0c86eba65c427a16f1cbb4afc.
Exact judge IDs: abliteration-ai/abliterated-model-large-v2, deepseek/deepseek-v4.1-flash-1017-uncensored:thinking.
Only aggregate counts, generation budgets, truncation and provenance are published. Original harmful prompts, generated answers, judge reasons, private endpoints and credentials are excluded.
Machine-readable canonical report: evaluation-summary.json.
Pinned public scripts and step-by-step instructions include dependency setup, calibration/source handling, pilot checks, conversion, assembly and validation commands. The link is pinned to public code commit 018d6389f17e90cdf0ec752fefae5a4a472588c4; the recipe index provides a convenient current overview.
This recipe converts an existing native-FP8 Heretic abliterated patch: only 38 attention output projections are re-encoded; the official Sushi expert weights are retained. It does not perform a new abliteration or re-quantize the full Heretic checkpoint.
These are public conversion implementations, not the private Sashimi converter. Model inputs and dependencies retain their own licenses. Source tests and recipe publication do not imply that a new full conversion was rerun or that general model quality has been established.
engram-model-00048-of-00048.safetensors 102 GBengram-model-00047-of-00048.safetensors 102 GBmodel-layer-15.safetensors 3.7 GBmodel-layer-32.safetensors 3.5 GBmodel-layer-35.safetensors 3.5 GBmodel-layer-27.safetensors 3.4 GBmodel-layer-33.safetensors 3.4 GBmodel-layer-30.safetensors 3.4 GBmodel-layer-34.safetensors 3.2 GBmodel-layer-25.safetensors 3.2 GBmodel-layer-26.safetensors 3.2 GBmodel-layer-17.safetensors 3.2 GBmodel-layer-19.safetensors 3.2 GBmodel-layer-29.safetensors 3.2 GBmodel-layer-18.safetensors 3.2 GBmodel-layer-31.safetensors 3.1 GBmodel-layer-24.safetensors 3.1 GBmodel-layer-28.safetensors 3.1 GBmodel-layer-23.safetensors 3.0 GBmodel-layer-38.safetensors 3.0 GBmodel-layer-39.safetensors 3.0 GBmodel-layer-37.safetensors 2.9 GBmodel-layer-16.safetensors 2.9 GBmodel-layer-22.safetensors 2.9 GBmodel-layer-12.safetensors 2.8 GBmodel-layer-11.safetensors 2.8 GBmodel-layer-13.safetensors 2.8 GBmodel-layer-09.safetensors 2.8 GBmodel-layer-21.safetensors 2.8 GBmodel-layer-07.safetensors 2.8 GBmodel-layer-36.safetensors 2.8 GBmodel-layer-14.safetensors 2.8 GBmodel-layer-06.safetensors 2.8 GBmodel-layer-03.safetensors 2.7 GBmodel-layer-05.safetensors 2.7 GBmodel-layer-08.safetensors 2.7 GBmodel-layer-20.safetensors 2.7 GBmodel-layer-04.safetensors 2.7 GBmodel-layer-10.safetensors 2.7 GBmodel-layer-02.safetensors 2.6 GBmodel-layer-00.safetensors 2.6 GBmodel-layer-01.safetensors 2.6 GBmodel-globals.safetensors 1.8 GBmodel-mtp-0.safetensors 1.1 GBmodel-mtp-1.safetensors 1.1 GBmodel-mtp-2.safetensors 1.1 GBmodel-mtp-trunk-2.safetensors 219 MBmodel-trunk-14.safetensors 174 MBmodel-trunk-01.safetensors 168 MBmodel-mtp-trunk-0.safetensors 126 MBmodel-trunk-02.safetensors 95 MBmodel-trunk-08.safetensors 95 MBmodel-trunk-20.safetensors 93 MBmodel-trunk-24.safetensors 92 MBmodel-trunk-28.safetensors 92 MBmodel-trunk-32.safetensors 92 MBmodel-trunk-36.safetensors 92 MBmodel-trunk-10.safetensors 89 MBmodel-trunk-11.safetensors 89 MBmodel-trunk-12.safetensors 89 MBmodel-trunk-13.safetensors 89 MBmodel-trunk-15.safetensors 89 MBmodel-trunk-16.safetensors 89 MBmodel-trunk-17.safetensors 89 MBmodel-trunk-18.safetensors 89 MBmodel-trunk-19.safetensors 89 MBmodel-trunk-21.safetensors 89 MBmodel-trunk-22.safetensors 89 MBmodel-trunk-23.safetensors 89 MBmodel-trunk-25.safetensors 89 MBmodel-trunk-26.safetensors 89 MBmodel-trunk-27.safetensors 89 MBmodel-trunk-29.safetensors 89 MBmodel-trunk-30.safetensors 89 MBmodel-trunk-31.safetensors 89 MBmodel-trunk-33.safetensors 89 MBmodel-trunk-34.safetensors 89 MBmodel-trunk-35.safetensors 89 MBmodel-trunk-37.safetensors 89 MBmodel-trunk-38.safetensors 89 MBmodel-trunk-39.safetensors 89 MBmodel-trunk-00.safetensors 89 MBmodel-trunk-03.safetensors 89 MBmodel-trunk-04.safetensors 89 MBmodel-trunk-05.safetensors 89 MBmodel-trunk-06.safetensors 89 MBmodel-trunk-07.safetensors 89 MBmodel-trunk-09.safetensors 89 MBmodel-mtp-trunk-1.safetensors 87 MB