Downloads · 30 days
66
42% of all-time downloads
kel-dx/llm-jp-4-8b-instruct-NVFP4-speculator.dflash
llm-jp-4-8b-instruct-NVFP4-speculator.dflash is a machine learning model from kel-dx. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for speculators. The card lists the license as apache-2.0.
This repository contains a DFlash draft model for speculative decoding with kel-jp/llm-jp-4-8b-instruct-NVFP4.
Downloads · 30 days
66
42% of all-time downloads
All-time downloads
157
Public
Parameters
1.2B
2.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.4 GB · 100%
How the weights are stored.
BF161.2B · 100%
From the Hugging Face model README
This repository contains a DFlash draft model for speculative decoding with
kel-jp/llm-jp-4-8b-instruct-NVFP4.
This is not a standalone text-generation model. Use it as the draft/speculator model while serving the NVFP4 model as the verifier in stock vLLM.
kel-jp/llm-jp-4-8b-instruct-NVFP4dflashspeculative_tokens=3vllm serve kel-jp/llm-jp-4-8b-instruct-NVFP4 \
--trust-remote-code \
--reasoning-parser llmjp4 \
--speculative-config '{"method":"dflash","model":"kel-jp/llm-jp-4-8b-instruct-NVFP4-speculator.dflash","num_speculative_tokens":3}'
If you use an environment wrapper, set the same JSON as SPECULATIVE_CONFIG.
The verifier model still needs the serving requirements documented on the NVFP4
model page, including the LLM-jp remote code/plugin setup.
Representative Japanese streaming decode benchmark on ELYZA-100 prompts, measured on NVIDIA DGX Spark / GB10 (SM121) with vLLM 0.24.0, stock vLLM DFlash, temperature 0, serial streaming requests, and exactly 128 generated tokens per request. Decode speed excludes time-to-first-token.
| Setup | Mean decode tok/s | Speedup vs BF16 | Notes |
|---|---|---|---|
| BF16 base model | 14.42 | 1.00x | llm-jp/llm-jp-4-8b-instruct, no speculative decoding |
| NVFP4 verifier | 29.73 | 2.06x | kel-jp/llm-jp-4-8b-instruct-NVFP4, no speculative decoding |
| NVFP4 + this DFlash drafter | 49.04 | 3.40x | stock vLLM DFlash, num_speculative_tokens=3 |
The DFlash row is 1.65x faster than the NVFP4 verifier baseline by ratio of standalone means. In the paired per-prompt run against the same NVFP4 baseline, the DFlash mean was 48.76 tok/s and the ratio of mean decode throughput was 1.64x.
Paired speedup summary:
The raw benchmark artifacts are included under benchmark/:
bf16-elyza100-streaming.jsonbf16-elyza100-streaming.csvbaseline-elyza100-streaming.jsonbaseline-elyza100-streaming.csvdflash20k-b4-l1-v28k-elyza100-streaming.jsondflash20k-b4-l1-v28k-elyza100-streaming.csvelyza100-bf16-nvfp4-dflash-speedup-summary.jsonelyza100-bf16-nvfp4-dflash-speedup.pngelyza100-baseline-vs-dflash-summary.jsonelyza100-baseline-vs-dflash-speedup.pngdflash20k-b4-l1-elyza100-tps-histogram.png
The released checkpoint's held-out validation metrics:
{
"loss_epoch": 2.047496609403255,
"full_acc_epoch": 0.4021220020978507,
"position_1_acc_epoch": 0.5539027137301571,
"position_2_acc_epoch": 0.38056573750461736,
"position_3_acc_epoch": 0.27111557473966125
}
model.safetensors: released drafter weightsconfig.json: DFlash/speculators configuration consumed by vLLMconfig.py: custom config class required by the drafterval_metrics.json: validation metrics from the selected checkpointbenchmark/: benchmark summaries, per-request CSV/JSON, and plotsApache-2.0, following the verifier model release.