miketung's picture
Fine-tuned MTP head (shard 15), HyperConnection CUDA kernels, stock vLLM comparison; new model card
9d6c2d4 verified
Raw History Blame Contribute Delete
2.5 kB
Qwen3.8-Flash-Next FP4-Local for one DGX Spark (diffbot)
Licensed by NVIDIA Corporation under the NVIDIA Open Model Agreement.
Model weights. The files config.json, generation_config.json, the tokenizer and processor files, chat_template.jinja
and tensors/ are NVIDIA's nvidia/Qwen3.8-Flash-Next-FP4-Local release; NVIDIA's model card is kept as
NVIDIA_MODEL_CARD.md. A copy of the NVIDIA Open Model Agreement is in LICENSE. All of these files are redistributed
unmodified except tensors/model-00015-of-00021.safetensors (below).
Modified file. tensors/model-00015-of-00021.safetensors is a modified copy of NVIDIA's file of the same name, made by
Diffbot. Its safetensors header and every byte outside the following 29 BF16 tensors (90,568,448 parameters) are
identical to NVIDIA's file; these tensors, the dense part of the MTP draft layer, were fine-tuned for agentic workloads:
mtp.fc_embedding.weight, mtp.fc_hidden.weight, mtp.pre_fc_norm_embedding.weight, mtp.pre_fc_norm_hidden.weight,
mtp.hyper_connection_mixer.{hc_norm, input_mix_weight_down, input_mix_weight_up}.weight,
mtp.layers.0.{attn,mlp}_hyper_connection.{block_inject_weight, hc_norm, input_mix_weight_down, input_mix_weight_up}.weight,
mtp.layers.0.mlp.gate.weight, mtp.layers.0.mlp.shared_expert.{gate_proj, up_proj, down_proj}.weight,
mtp.layers.0.mlp.shared_expert_gate.weight,
mtp.layers.0.self_attn.{q_proj, k_proj, v_proj, o_proj, q_norm, k_norm}.weight,
mtp.layers.0.self_attn.indexer.{index_qk_proj, q_layernorm, k_layernorm}.weight
The MTP layer's routed experts and all other tensors are NVIDIA's. The modified file is a Derivative Work of NVIDIA's
checkpoint and is distributed under the NVIDIA Open Model Agreement.
Base model. Qwen/Qwen3.8-Flash-Next is Copyright (c) 2026 Qwen and governed by the Qwen Community License 1.0
(LICENSE.Qwen); its copyright and permission notice apply to all copies of the weights in this repo, including the
modified file.
Additions by Diffbot (recipe/): serving scripts, benchmarks and the KL client are MIT (recipe/LICENSE); the files in
recipe/patches/ are modified or new files for vLLM and FlashInfer's b12x, Apache-2.0 (recipe/THIRD_PARTY_NOTICES.md).
recipe/serve/draft_vocab_64k.json and draft_vocab_cjk.json are Diffbot's token subsets.
NVIDIA, DGX and DGX Spark are trademarks of NVIDIA Corporation, used here only to describe the origin of the weights and
the hardware the recipe targets. This repo is not affiliated with or endorsed by NVIDIA or Qwen.