玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
YuYu1015 /

Huihui-Qwen3.5-9B-Claude-4.6-Opus-abliterated-NVFP4

HF 源站

YuYu1015/Huihui-Qwen3.5-9B-Claude-4.6-Opus-abliterated-NVFP4 is an uncensored open-source model hosted on Hugging Face.

Text GenerationvLLMsafetensorsChineseEnglishMultilingualLicense: apache-2.09Btransformersqwen3_5_textqwen3.5densenvfp44-bitquantizedabliterateddgx-sparkblackwellgb10sm121llm-compressorconversationalcompressed-tensors
README.md说明 / 使用方法

license: apache-2.0 base_model:

  • huihui-ai/Huihui-Qwen3.5-9B-Claude-4.6-Opus-abliterated base_model_relation: quantized library_name: transformers pipeline_tag: text-generation tags:
  • safetensors
  • qwen3.5
  • dense
  • nvfp4
  • 4-bit
  • quantized
  • abliterated
  • dgx-spark
  • blackwell
  • gb10
  • sm121
  • vllm
  • llm-compressor language:
  • en
  • zh

Huihui-Qwen3.5-9B-Claude-4.6-Opus-abliterated-NVFP4

English | 繁體中文


English

[!TIP] Quantized on 2026-04-13 with lm_head / linear_attn (GDN) / mtp / visual / embed_tokens preserved in BF16.

[!WARNING] NVIDIA DGX Spark (GB10 SM121) — Driver 590.48+ / CUDA 13.1+

As of April 2026, NVFP4 software support on SM121 is still incomplete. The native W4A4 compute path is not yet functional on this hardware — the runtime silently falls back to W4A16 (BF16 activations), negating the theoretical throughput advantage of FP4.

If accuracy and inference speed are your priority, we recommend the INT4 AutoRound version: 👉 YuYu1015/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-int4-AutoRound

INT4 AutoRound leverages the mature W4A16 Marlin kernel path on DGX Spark, offering more thorough calibration (~99.5% quality retention) and significantly more stable performance. The full potential of NVFP4 will only be unlocked once NVIDIA delivers complete W4A4 kernel support for SM121.

NVFP4 quantization of huihui-ai/Huihui-Qwen3.5-9B-Claude-4.6-Opus-abliterated, optimized for NVIDIA DGX Spark (GB10 SM121).

Model Details

ItemValue
ArchitectureDense + GDN (Mamba) + Attention hybrid
Base modelQwen/Qwen3.5-9B
Fine-tuned byhuihui-ai (Claude 4.6 Opus distillation + abliteration)
Quantized byYuYu1015
Model size~9.6 GB (NVFP4, vs ~19 GB BF16 original)
Context lengthUp to 262,144 tokens
Thinking modeSupported (enable_thinking: true/false)
Tool callingSupported (qwen3_coder parser)
MTPBuilt-in MTP weights included (preserved in BF16)

Quantization Details

ItemValue
Methodllm-compressor (main branch, PR #2608)
SchemeNVFP4 (E2M1 + FP8 per-group scaling, group size 16)
Formatcompressed-tensors (main branch)
Calibration datasetHuggingFaceH4/ultrachat_200k (train_sft split)
Calibration samples512
Calibration sequence length2048
HardwareNVIDIA DGX Spark (GB10, 128GB unified memory)
Environmenttransformers>=5.0 + llm-compressor main (Qwen3.5 qwen3_5 model_type requires tf5)

Layers Preserved in BF16

The following layers are not quantized to preserve model quality:

LayerReason
lm_headOutput head, sensitive to quantization noise
re:.*linear_attn.*GDN/DeltaNet (Mamba) layers — may output zeros if quantized
re:.*mtp\..*Multi-Token Prediction weights
re:.*visual\..*Vision encoder
re:.*embed_tokens$Input embeddings

Serving with vLLM

vllm serve /path/to/model \
    --quantization compressed-tensors \
    --served-model-name qwen3.5-9b \
    --reasoning-parser qwen3 \
    --enable-auto-tool-choice \
    --tool-call-parser qwen3_coder \
    --kv-cache-dtype auto \
    --gpu-memory-utilization 0.90 \
    --max-model-len 65536 \
    --enable-prefix-caching \
    --enable-chunked-prefill \
    --trust-remote-code \
    --language-model-only

DGX Spark (SM121) Compatibility Notes

  • NVFP4 on SM121 falls back to W4A16 (native W4A4 path not yet supported, missing cvt.e2m1x2 instruction)
  • FP8 KV cache is not compatible with GDN non-causal attention layers; use --kv-cache-dtype auto
  • --language-model-only skips vision encoder profiling for text-only inference
  • Clear page cache before starting on UMA: sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'

Safety Warning

This model has safety filtering removed (abliterated) and may generate inappropriate content. Users are solely responsible for all consequences arising from its use.

Credits

  • Original Model: Qwen/Qwen3.5-9B by Alibaba Qwen Team
  • Fine-tuning & Abliteration: huihui-ai
  • NVFP4 Quantization: YuYu1015 on NVIDIA DGX Spark (GB10)
  • Quantization Tool: llm-compressor by vLLM Project

繁體中文

[!TIP] 2026-04-13 量化上傳,lm_head / linear_attn (GDN) / mtp / visual / embed_tokens 保留 BF16。

[!WARNING] NVIDIA DGX Spark (GB10 SM121) 使用者 — Driver 590.48+ / CUDA 13.1+

截至 2026 年 4 月,NVFP4 在 SM121 上的軟體支援仍不完整。原生 W4A4 運算路徑尚未在此硬體上就緒——執行時會靜默退回 W4A16(BF16 activation),FP4 的理論吞吐量優勢無法發揮。

若精度與推理速度為首要考量,建議改用 INT4 AutoRound 版本: 👉 YuYu1015/Huihui-Qwen3.5-35B-A3B-Claude-4.6-Opus-abliterated-int4-AutoRound

INT4 AutoRound 在 DGX Spark 上使用成熟的 W4A16 Marlin kernel 路徑,校準更完整(品質保留約 99.5%),效能顯著更穩定。待 NVIDIA 為 SM121 提供完整的 W4A4 kernel 支援後,NVFP4 的真正優勢才能發揮。

huihui-ai/Huihui-Qwen3.5-9B-Claude-4.6-Opus-abliterated 的 NVFP4 量化版本,針對 NVIDIA DGX Spark (GB10 SM121) 最佳化。

模型資訊

項目數值
架構Dense + GDN (Mamba) + Attention 混合
基礎模型Qwen/Qwen3.5-9B
微調者huihui-ai(Claude 4.6 Opus 蒸餾 + abliteration)
量化者YuYu1015
模型大小~9.6 GB(NVFP4,原版 BF16 約 19 GB)
Context 長度最高 262,144 tokens
思考模式支援(enable_thinking: true/false)
工具呼叫支援(qwen3_coder parser)
MTP內建 MTP 權重(保留 BF16)

量化詳情

項目數值
方法llm-compressor(main 分支,PR #2608)
方案NVFP4(E2M1 + FP8 逐群縮放,群組大小 16)
格式compressed-tensors(main 分支)
校準資料集HuggingFaceH4/ultrachat_200k (train_sft 分割)
校準樣本數512
校準序列長度2048
量化硬體NVIDIA DGX Spark(GB10, 128GB 統一記憶體)
環境transformers>=5.0 + llm-compressor main(Qwen3.5 qwen3_5 model_type 需要 tf5)

保留 BF16 的層

以下層未被量化以保持模型品質:

層原因
lm_head輸出頭,對量化雜訊敏感
re:.*linear_attn.*GDN/DeltaNet (Mamba) 層,量化後可能輸出零
re:.*mtp\..*Multi-Token Prediction 權重
re:.*visual\..*視覺編碼器
re:.*embed_tokens$輸入嵌入

vLLM 部署

vllm serve /path/to/model \
    --quantization compressed-tensors \
    --served-model-name qwen3.5-9b \
    --reasoning-parser qwen3 \
    --enable-auto-tool-choice \
    --tool-call-parser qwen3_coder \
    --kv-cache-dtype auto \
    --gpu-memory-utilization 0.90 \
    --max-model-len 65536 \
    --enable-prefix-caching \
    --enable-chunked-prefill \
    --trust-remote-code \
    --language-model-only

DGX Spark (SM121) 相容性說明

  • NVFP4 在 SM121 上會退回 W4A16(原生 W4A4 路徑尚未支援,缺少 cvt.e2m1x2 指令)
  • FP8 KV cache 與 GDN non-causal attention 不相容,請使用 --kv-cache-dtype auto
  • --language-model-only 跳過視覺編碼器 profiling,加速純文字推理啟動
  • UMA 架構啟動前請先清除 page cache:sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'

安全警告

此模型已移除安全過濾機制(abliterated),可能產生不當內容。使用者須自行承擔所有風險與法律責任。

致謝

  • 原始模型:Qwen/Qwen3.5-9B,Alibaba Qwen 團隊
  • 微調與去審查:huihui-ai
  • NVFP4 量化:YuYu1015,於 NVIDIA DGX Spark (GB10) 上完成
  • 量化工具:llm-compressor,vLLM Project
HUGGING FACE

上游数据

HF 下载量126
HF 点赞量1

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
YuYu1015
最近更新
2026/04/13
最新创建
2026/04/13
HF 趋势
未知
数据快照
2026/09/17
版本
未知
许可证
apache-2.0