nitinpanj commited on
Commit
0200582
·
verified ·
1 Parent(s): 04417fa

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -0
README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Qwen3.8-Flash-Next bf16 reference logits
2
+
3
+ Ground truth for Splash quality checks, from
4
+ `dev/benchmarks/qwen4exp/reference_logits.py` (full-precision checkpoint,
5
+ float32 on CPU). Each `<name>.reference.bin` is bf16 logits [tokens x 248320]
6
+ for `<name>.passage.json`.
7
+
8
+ - code: 1,495-token code prompt; short: 65 tokens; long4k: first 4,096 tokens
9
+ of the long prompt (crosses the 2,048-token sparse-indexer budget).
10
+ - code.plan.bin: the reference run with the current package's quantization
11
+ simulated (`--quant experts:4,router:8,shared:4,attn:8,gdn_in:8,gdn_ab:8,
12
+ gdn_out:8,ple:4,head:8,embed:8`): 90.2% same pick, KL 0.122.
13
+
14
+ Score an engine dump:
15
+ SPLASH_DUMP_PREFILL_LOGITS=/tmp/x.bin build/engine-tests/generate-sample \
16
+ build/splash.metallib ~/models/qwen38-flash-next-splash 1 "<ids>"
17
+ python dev/benchmarks/qwen4exp/compare_logits.py --passages code.passage.json \
18
+ --name code --reference code.reference.bin --engine /tmp/x.bin [--begin N --end M]
19
+ (Use ~/vllm-mlx-env-3.12/bin/python for the reference and compare scripts.)