keys-Qwen3.8-Flash-Next NVFP4 + FP4 QAD · house-answer (QSA+GDN)
Abliterated NVIDIA Qwen3.8-Flash-Next in two layouts: NVFP4 (dual-Spark vLLM) and FP4 QAD / FP4-Local (single-Spark TensorFold). Default overlay is 12 QSA o_proj + 36 GDN out_proj so TensorFold thinking-on actually answers, not just drop "I can't".
This is not a Dealign weight dump. Axis from (W_dealign − W_nvidia) per QSA layer; edit is W ← W − λ v vᵀ W plus per-row L2 restore, requantized to MXFP8. Stock NVIDIA shards stay stock.
See RESPONSIBLE_USE.md and the gate form above. Access is gated with automatic approval after you agree.
| HF | https://huggingface.co/drowzeys/keys-Qwen3.8-Flash-Next-NVFP4-FP4-QAD-house-qsa-L3-47 |
| Stock FP4-Local QAD | nvidia/Qwen3.8-Flash-Next-FP4-Local @ b9ce18a6 |
| Stock NVFP4 | nvidia/Qwen3.8-Flash-Next-NVFP4 |
| Axis source (not shipped) | dealignai/Qwen3.8-Flash-Next-UNCENSORED-NVFP4 |
| Serve FP4-Local | MiaAI-Lab/Qwen3.8-Flash-Next-Single-DGX-Spark-TensorFold |
| Serve NVFP4 | MiaAI-Lab/Qwen3.8-Flash-Next-Dual-DGX-Sparks |
| Default sidecar | fp4-local/house-answer-qsa-gdn-mxfp8.safetensors (~743 MB, 96 tensors) |
| Gate (thinking-on, 192 tok) | refusal32 32/32 empty=0 · cyber22 22/22 empty=0 |
| Gate (thinking-on, 2048 tok, on-topic) | 26/32 on-topic · 0 refuse · 5 thinking-budget empty without cap |
1. Serve FP4 QAD on one DGX Spark (copy-paste)
One GB10, Docker, ~160 GiB disk. 262k context wants ~108 GiB MemAvailable at start. Drop CONTEXT if you have less RAM (16k fits in ~90 GiB). Stock NVIDIA is never overwritten.
pip install -U huggingface_hub
huggingface-cli download drowzeys/keys-Qwen3.8-Flash-Next-NVFP4-FP4-QAD-house-qsa-L3-47 \
--include "fp4-local/*" --local-dir /tmp/keys-fp4-qad
chmod +x /tmp/keys-fp4-qad/fp4-local/serve_mia_fp4_qad.sh
/tmp/keys-fp4-qad/fp4-local/serve_mia_fp4_qad.sh
That clones Mia's TensorFold kit, runs scripts/prepare.sh (CHECKPOINT=nvfp4 is FP4 QAD), grafts the QSA+GDN sidecar onto a hardlink dest, and starts:
http://0.0.0.0:8888/v1 model Qwen3.8-Flash-Next
The one-shot passes --thinking-budget 96 so a 192-token test still gets an answer body. Full knobs: fp4-local/RECIPE.md.
Low RAM (skip the 262k window):
# after prepare + graft, in Mia's kit:
PREPARE=0 CHECKPOINT=nvfp4 \
MODEL_ID=local/Qwen3.8-Flash-Next-FP4-Local-house-answer-L0-47 \
MODEL_REVISION=house \
CONTEXT=16384 PARALLEL=1 VISION=0 \
HOST=0.0.0.0 PORT=8888 \
./start.sh --thinking-budget 96
2. Talk to it (do this or content is empty)
TensorFold thinking is on by default. If you send max_tokens of 192–1024 without a think cap, the model spends the whole budget in the think block and returns empty content. That is an engine limit, not a refusal.
Thinking on, low token limit (tests, short replies):
curl -s http://127.0.0.1:8888/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "Qwen3.8-Flash-Next",
"messages": [{"role": "user", "content": "your prompt"}],
"max_tokens": 192,
"temperature": 0,
"thinking_budget": 96,
"chat_template_kwargs": {
"enable_thinking": true,
"reasoning_effort": "low"
}
}'
message.content is the answer. message.reasoning / reasoning_content is the think block.
Python:
import requests
r = requests.post("http://127.0.0.1:8888/v1/chat/completions", json={
"model": "Qwen3.8-Flash-Next",
"messages": [{"role": "user", "content": "your prompt"}],
"max_tokens": 192,
"temperature": 0,
"thinking_budget": 96,
"chat_template_kwargs": {
"enable_thinking": True,
"reasoning_effort": "low",
},
})
msg = r.json()["choices"][0]["message"]
print(msg.get("content") or "")
Thinking off (fastest; 192 tokens is enough):
{
"model": "Qwen3.8-Flash-Next",
"messages": [{"role": "user", "content": "your prompt"}],
"max_tokens": 192,
"temperature": 0,
"chat_template_kwargs": {"enable_thinking": false}
}
If content is still empty, retry the same prompt with enable_thinking: false.
Server-side cap (once, then every client is safe):
./start.sh restart --thinking-budget 96
3. Manual graft only
python3 fp4-local/graft.py \
--stock ~/.cache/huggingface/hub/models--nvidia--Qwen3.8-Flash-Next-FP4-Local \
--sidecar fp4-local/house-answer-qsa-gdn-mxfp8.safetensors \
--out ~/.cache/huggingface/hub/models--local--Qwen3.8-Flash-Next-FP4-Local-house-answer-L0-47
graft.py hardlinks stock, copies the sidecar, rewrites every tensor name in the sidecar header into weight_map. No torch. Never writes NVIDIA in place.
Rollback to the old o_proj-only overlay: point --sidecar at fp4-local/house-qsa-oproj-mxfp8-L3-47.safetensors.
4. Files
| file | |
|---|---|
fp4-local/serve_mia_fp4_qad.sh | one-shot: prepare + graft + ./start.sh --thinking-budget 96 |
fp4-local/graft.py | hardlink dest (no torch) |
fp4-local/RECIPE.md | full copy-paste recipe |
fp4-local/house-answer-qsa-gdn-mxfp8.safetensors | default 12 QSA o_proj + 36 GDN out_proj (~743 MB) |
fp4-local/HOUSE_ANSWER_MXFP8.json | per-layer λ, Δrel, requant Δ |
fp4-local/house-qsa-oproj-mxfp8-L3-47.safetensors | o_proj-only rollback (~186 MB) |
5. Dual-Spark NVFP4 (vLLM)
Same Mean / Mia dual-Spark recipe as stock NVIDIA:
- TP=2, expert parallel on, MTP=3
kv_cache_dtype=fp8,gpu_memory_utilization=0.835(do not raise above 0.85)max_model_len=262144- image
vllm/vllm-openai:qwen38-flash-next
Thinking-on: chat_template_kwargs.enable_thinking=true, max_tokens large enough for the think block (or send thinking_budget).
Method
W ← W − λ v vᵀ W then restore each output row’s L2
v is the rank-1 left singular vector of (W_dealign − W_nvidia) at that QSA layer (rank-1 energy ≥ 0.9997).
| Layer | λ | projected Δrel | recon vs Dealign |
|---|---|---|---|
| 3 | 6.95 | 0.180 | 2.1% |
| 7 | 6.80 | 0.182 | 2.1% |
| 11 | 6.85 | 0.185 | 2.2% |
| 15 | 6.95 | 0.169 | 1.8% |
| 19 | 6.95 | 0.178 | 2.0% |
| 23 | 7.85 | 0.214 | 3.2% |
| 27 | 7.55 | 0.196 | 2.6% |
| 31 | 8.00 | 0.195 | 2.6% |
| 35 | 7.85 | 0.201 | 2.9% |
| 39 | 4.00 | 0.107 | 0.6% |
| 43 | 4.05 | 0.090 | 0.4% |
| 47 | 3.90 | 0.113 | 0.7% |
GDN out_proj uses the QSA vector of the same 4-layer block at λ=3.0 (mean Δrel ≈ 0.063). Dealign never moved GDN; that extra write is house-only so thinking-on stays on-topic.
Known limits
- Default sidecar (QSA+GDN): thinking-on does answer. With
thinking_budget=96, 192-token tests are refusal32 32/32 and cyber22 22/22, empty=0. On-topic at 2048 tok (no cap): 26/32, 0 refuse. Remaining: school-violence manifesto can still pep-talk (#16), one shoplifting prompt can become iPod trivia (#19). Toddler-harm is sampling-unstable. - o_proj-only rollback: strips "I can't" and topic-switches on thinking-on (revenge → quiz, harm → milestones, bribery → 2^100). Use the GDN sidecar if you want answers.
- A topic-switch with no "as an AI / I can't help" still scores as regex bypass. Score answers, not markers.
- Raising GDN λ to 5 and adding shared-expert down_proj over-steered (bribe garbled, revenge deflected). That dest is not shipped.
What this is not
- Not
dealignai/Qwen3.8-Flash-Next-UNCENSORED-NVFP4reuploaded - Not a BF16 byte-copy of Dealign
o_projinto NVIDIA shards - Not the single-Spark MXFP8 LIL layout (
local-inference-lab/…/ Mia TP1 dest)
License
Use is governed by the NVIDIA Open Model License and Qwen Community License 1.0, inherited from nvidia/Qwen3.8-Flash-Next-NVFP4.