300B Total / 14B Active — Higher-Precision BF16-Master W4A16/FP32 + Lossless BF16 Spine, Indexer & 1M KV)100% un-abliterated, SHA-256-verified WHT128-HLUT4 (4.125 bpw, FP64 LDLQ) quantization — quantized directly in one pass from the lossless 600 GB baidu/ERNIE-5.5-Flash-Preview-BF16 master checkpoint (Apache-2.0, zero FP4/FP8 double-quantization) — covering all 42 backbone MoE layers AND all 3 native DSpark parallel draft MoE layers (model.mtp.{0,1,2} = 23,040 routed experts in 139.22 GiB) while preserving 100% unquantized BF16/FP32 across the entire non-expert spine, DSA sparse indexer, and 1,048,576-token KV cache.
157.65 GiB Runtime / 169.3 GiB Checkpoint — Zero Telemetry)| Runtime Option | Target Hardware | Repository & Turnkey Entry Point | Verified Highlights |
|---|---|---|---|
Option 1A — Cloud TPU v6e-8 All-HBM |
8x TPU v6e Trillium (249.94 GiB HBM + 1,417 GiB RAM, 0 B DDR5/PCIe spill) |
bespokeontology/ernie55-flash-preview-tpu (v1.2.0-tpu-v6e8-all-hbm) |
Live 45-layer 300B + 3L DSpark All-HBM (jax 0.12.1 native Pallas 128 MiB VMEM, 565.13 TOP/s 8-chip INT8): 46.76 s (3,452.6 MiB/s) /dev/shm pull, 11,086.4 tok/s M=2048 Pallas VMEM prefill, 1.465 ms 1M FlashIndexer, 39.14 / 65.88 / 76.54 tok/s M=1/4/8 & 45.26 tok/s DSpark All-HBM decode |
Option 1B — Single-Chip Cloud TPU v6e-1 / v5e-1 |
TPU v6e-1 Trillium (31.25 GiB HBM + 173 GiB DDR5) or TPU v5e-1 (15.75 GiB HBM + 47 GiB RAM + 225 GiB SSD) |
· Download ernie55_tpu_colab.ipynb |
Live TPU v6e-1 300B receipt (140.14 s /dev/shm pull, 18.41 GiB spine in HBM, 423.03 tok/s M=2048 INT8 prefill, 4.088 / 13.539 / 15.427 tok/s 44-thread AVX-512F M=1/4/8 decode) + v5e-1 baseline |
| Option 2 — Local Bare-Metal Workstation | 5x AMD Instinct MI50 (gfx906, 128 GiB HBM2) + 2x Tenstorrent Blackhole P150A (64 GiB GDDR6) + 512 GiB DDR4 (AMD EPYC 7542) |
bespokeontology/ernie55-flash-preview-wht128-hlut4 (v1.9.0-wave17-sram-512g-overnight, 0 .py files) |
Pure C++17/gfx906 HIP + TT-Metal (355/355 zero-scratch kernels, 60/60 Gate-0 suites): 1,047.2 tok/s cold / 756.2 tok/s @ 276.5K prefill, 2048-slot v2 .kvblk (4.19M warm tok, 5.401M–5.50M tok/s), 22.6 s warm boot, 55.71 tok/s @ 243.9K + M=8 2-branch tree decode (57/176 Branch B wins), 1.02M uncompacted context |
300B Anywhere — From a Phone/Browser (Colab) or Zero-Hardware Gemini Plan Credits (No $7,000-$22,000 Consumer Appliance Required)Use Anywhere (Even From a Phone or Browser) via Zero-Provenance Google Colab (ernie55_tpu_colab.ipynb): Tap Open in Colab from any phone, tablet, or laptop to launch on Colab's hosted TPU v6e-1 / TPU v5e-1 runtimes, or connect a custom Cloud TPU v6e-8 (250 GiB All-HBM) / TPU v6e-1 backend directly inside Colab with zero local hardware and zero personal Drive metadata.
1-Command Cloud TPU v6e (Trillium) via Existing Gemini Plan ($0.00 Out of Pocket): Anyone holding Google AI Pro ($10/mo Cloud credit) or Google AI Ultra ($40/mo or $100/mo Cloud credit) claims their included monthly Google Cloud developer credit in 30 seconds at https://developers.google.com/program/my-benefits and points Antigravity (Gemini Neon) or gcloud straight at bespokeontology/ernie55-flash-preview-tpu — drawing ~$0.13 Spot for a 5m45s TPU v6e-1 run or ~$1.05 Flex-Start for a 5m49s TPU v6e-8 249.94 GiB All-HBM run, with automatic VM teardown built in.
Pure-C++17 / gfx906 HIP / Tenstorrent Blackhole Engine & Kernels: bespokeontology/ernie55-flash-preview-wht128-hlut4 (v1.9.0-wave17-sram-512g-overnight, Apache License 2.0)
Companion Google Cloud TPU Runtime (Pallas Mosaic 128 MiB VMEM + 250 GiB All-HBM v6e-8 + C++17 AVX-512/AVX2): bespokeontology/ernie55-flash-preview-tpu (v1.2.0-tpu-v6e8-all-hbm, multi-tier TPU v6e-8, TPU v6e-1 Trillium & TPU v5e-1)
Wave-17 Silicon (v1.9.0-wave17-sram-512g-overnight on SB-M5-P2-192G, receipts/gate_wave17_sram_512g_receipt.json & receipts/gate3_live_wave17_verify_receipt.json): Cut W17.1 (Suite 56) re-budgets Blackhole P150A Tensix L1 (33 hot shards/card = 204.19 MiB + 24.00 MiB L1 activation SRAM + 852,544 B ctrl, 27/27 decode traces), cutting M=6 decode 0.81–1.14 -> 0.430 ms/L, M=8 0.92–1.31 -> 0.503 ms/L, and M=2,048 11.462 ms/L (min_cos = 0.99997268, peak live :3081 decode 55.71 tok/s @ 243.9K); Cut W17.2 (Suite 57) scales /dev/shm/ernie55_kvblk_ddr4 to 2,048 slots (4.19M warm tokens = 100.58 GiB, v2 CRC32C seal) with coalesced DSA+HCA mirrors and 128 MiB chunked KFD registration (22.6 s warm READY, 25.79 GB/s weight re-attach, 5.401M tok/s / 54.60 ms live 144-blk 294.9K and 5.397M tok/s / 56.55 ms 149-blk 305.2K restore); Cut W17.3 (Suite 58) lands zero-scratch double-buffered k_dsa_sparse_flash_mla_h16_fdot2 (min_cos = 1.0000000, 4–7 ms sparse MQA -> 756.2 tok/s @ 276.5K, 736.1 tok/s @ 282.6K), FlashIndexer v2 (25,344 B LDS, fi = 288 ms @ 294.9K), 1.50 GiB pinned DDR4 FP16 ik_cache mirror, and 4-way key-shard merge4 (set_mism = 0, 3 LDS WAR barriers hardened); Cut W17.4 (Suite 59) lands custom gfx906 BM=32 fused Gate+Up+SiTU-GLU+WHT128(signs_inter) & prefetched Down LDS prefill MoE (adaptive M <= 768 cutting interactive M=414 mi50 -14.5% while preserving 711.4 tok/s M=2,048 @ 305.2K) + fused decode k_wht128_bf16_to_f16_and_publish_mapped; Cut W17.5 (Suite 60) adds hybrid 2-branch M=8 speculative tree verification (TreeSpecPlan, 57/176 [32.4%] Branch B wins, 119 rescued tokens, 44.58 tok/s @ 315.5K, 44.08 tok/s @ 317.2K), --wave17-verify (failures = 0), 355/355 zero-scratch gfx906 kernels (3,936 fdot2 ops), 60/60 Gate-0 suites (3/3 consecutive PASS), 0 B net new GPU VRAM, AER_TOTAL = 0, EDAC_UE = 0.
Wave-16 Silicon (v1.8.0-wave16-gate3-1m on SB-M5-P2-192G): Cut W16.1 ships standalone pure-C++17 :3081 GATE-3 harness (tools/ernie55_gate3_live.cpp --wave16-verify -> receipts/gate3_live_3081_receipt.json, failures = 0, Suite 53); Cut W16.2 pairs two-phase KFD-lock-free WB 5x2x64 MiB hipHostRegisterPortable weight streaming (111.06 GiB, 16.13 s, NVMe = 0 B, CRC32C = OK) overlapping kv_init_thr (438/1,024 warm .kvblk slots recovered, 0 rejected, 15.77 s) with ev_fi_overlap async FlashIndexer (min_cos = 1.0000000, set_mism = 0, Suite 54), dropping total 300B READY 158.2 s -> 24.7 s (6.40x over cold boot); Cut W16.3 adds KV-safe hoisted sa_bonus_ready + total_sa_bonus_reuse continuation across identifier mutations (26/26 cases, Suite 55), achieving live 5.426M tok/s .kvblk hot-swap restore (694,272 tokens in 127.96 ms), 561.2 tok/s M=2048 prefill @ 696.3K, 43.80 tok/s (91.3% SA) @ 720.6K, 731,978 uncompacted live :3081 tokens (0 compactions), 345/345 zero-scratch gfx906 kernels, 55/55 Gate-0 suites, 0 B net new GPU VRAM, AER_TOTAL = 0, EDAC_UE = 0.
Wave-15 Silicon (v1.7.0-wave15-512g-fdot2 on SB-M5-P2-192G): Cut W15.1 v_dot2_f32_f16 + 20,480 B LDS-tiled FlashIndexer (3 CTAs/CU, 68 VGPRs, min_cos = 1.0000000, set_mism = 0) cuts 1M projection 1,347.5 -> 454.0 ms (2.97x), hitting live fi = 327 ms (694.6 tok/s prefill) at 407,552 tokens and fi = 144 ms at 639,457 tokens; Cut W15.2 persistent /dev/shm/ernie55_weights_ddr4 CRC32C weight slab (111.06 GiB, L3-hot WB stripes) cuts 300B daemon warm boot 158.2 s -> 29.1 s (5.44x) with 0 B NVMe reads, 0 B net new GPU VRAM, and 320 GiB DDR4 free; Cut W15.3 zero-host-sync hipStreamWaitEvent .kvblk + post-airflow cost_w = {1.00, 1.11, 0.90, 0.91, 1.04} achieves 14.56 ms (4.36M tok/s) DDR4 restore (63,488 tok) and 433.70 ms (892.5K tok/s) Dual-NVMe restore (387,072 tok), 40-45 C idle junction across 5x MI50, 639,949 live uncompacted :3081 tokens (43.62 tok/s / 86.9% SA @ 543.7K), 345/345 zero-scratch gfx906 kernels, 52/52 Gate-0 suites, AER_TOTAL = 0, EDAC_UE = 0.
Wave-14 Build W14-3 Silicon (v1.6.0-wave14-512g-8ch, 512 GiB 8-Channel 3200 MT/s under D18F0x110 = 0x0000003B, alongside the preserved 1,020,028-token uncompacted Wave-13 :3081 milestone): ALL-5 concurrent PCIe DMA 68.07 GB/s H2D (+59.2%) / 64.06 GB/s D2H (+67.2%), 0 replays, AER_TOTAL = 0; cold M = 2,048 prefill 1,047.2 tok/s (1,955.6 ms) at pos0 = 0, 1,005.0-1,008.7 tok/s across pos0 = 2,048..6,144, 777.6 tok/s at 186.4K, 704.5 tok/s above 366K, and 453.2 tok/s above 1,013,760 (> 1M), plus adaptive kTileK = 32,768 (32 tiles at 1M vs 64); persistent 1,024-slot 46.16 GiB /dev/shm Tier-1 DDR4 .kvblk arena (2,097,152 tokens) delivering 5.50M tok/s (184.16 ms, 48.18 GB/s) across 495 blocks (1,013,760 tokens) and 5.26M tok/s (67.74 ms, disk = 0) live across 174 blocks (356,352 tokens) surviving the Build W14-2 -> Build W14-3 :8052 binary hot-swap (175/1,024 slots recovered, 0 rejected), 937.0K / 914.2K tok/s cold Dual-NVMe (9.27 GB/s = 1,060.5K tok/s unit verifier), and 2.81 ms ChatPrefixCache delta at 1.016M; DSpark+SA + 17-term HCA Split-K decode 47.99 tok/s standalone greedy at 38.3K (A=1 B=1 CPP=1), 35.84 tok/s at 923.4K (84.9% SA), 32.14 tok/s at 1,008.3K, and 1.94x lower part_o_f32 HBM2 merge traffic (33 -> 17 terms across 256K-1M, 1.92 -> 0.99 GB/step across TP4, min_cos = 1.0000000); 344/344 zero-scratch gfx906 kernels, 49/49 Gate-0 suites, 0 B net new GPU hipMalloc (free_mib = [410.0, 510.0, 322.0, 408.0, 1764.0]), AER_TOTAL = 0, UE = 0.
Master Source Checkpoint: baidu/ERNIE-5.5-Flash-Preview-BF16 (~600 GB across 74 BF16 shards, 201,216 vocab, 1,048,576 context length, Apache-2.0)
Upstream Official Quantized Reference: baidu/ERNIE-5.5-Flash-Preview (MXFP4 W4A8 + blockwise FP8 spine + FP8 KV + MXFP4 DSA indexer) & vLLM Day-0 ERNIE-5.5-Flash-Preview Technical Post
Companion Unsplit WHT128 Releases: kapitoshkina-ai/DeepSeek-V4.1-Flash-1017-WHT128-HLUT3 and kapitoshkina-ai/Hy4-flash-WHT128-HLUT4
baidu/ERNIE-5.5-Flash-Preview)Baidu's default baidu/ERNIE-5.5-Flash-Preview repository targets FP4/FP8 datacenter GPUs: its routed experts are stored in MXFP4 (4.25 bpw) and executed as W4A8 (QAT-aligned during post-training), all non-expert spine weights are quantized to blockwise FP8, the 1M KV cache is quantized to FP8, and the DSA sparse indexer runs in 4-bit MXFP4 with a distilled head-pruning router (vLLM Day-0 Specification).
Because ERNIE-5.5-Flash-Preview-WHT128-HLUT4 is quantized directly from the unquantized baidu/ERNIE-5.5-Flash-Preview-BF16 master weights, it maintains higher numerical precision across every surrounding subsystem while packing routed experts into 0.125 bpw fewer bits (4.125 vs. 4.25 bpw) without requiring Blackwell-class FP4 tensor cores:
| Tensor Group / Subsystem | Official Default baidu/ERNIE-5.5-Flash-Preview |
ERNIE-5.5-Flash-Preview-WHT128-HLUT4 (This Checkpoint) |
Concrete Numerical Difference |
|---|---|---|---|
Target Non-Expert Spine (43 HCA/MLA-DSA Layers, Shared Experts, Routers, DSpark Spine, Target LM Head) |
Blockwise FP8 (8-bit E4M3, 128x128 tiles) |
100% Unquantized BF16 / FP32 on disk (16/32-bit target runtime; FP8 E4M3FN used strictly on the DSpark draft proposal head, 100% verified against the 16-bit target LM head) |
Exact BF16 attention, shared-expert, router, and DSpark spine weights + FP32 4-stream mHC & MultiMax (201,216 vocab) |
| Expert Activation & Accumulator Precision | W4A8 (8-bit dynamic FP8 input activations) |
W4A16 + FP32 Accumulator (16-bit FP16 Walsh-Hadamard rotated activations) |
Zero 8-bit activation quantization floor entering all 23,040 routed SiTU-GLU(4.0, 25.0) experts |
Routed Expert Weight Codebook (23,040 Experts) |
4.25 bpw MXFP4 (E2M1 + E8M0): 15 unique fixed levels (±0.0 collision) + power-of-two E8M0 scale per 32 weights (QAT-trained) |
4.125 bpw WHT128-HLUT4 (FP64 LDLQ): 128-point Hadamard rotation + 16 distinct learned FP16 Lloyd-Max centroids + Cholesky error feedback (524,288 cal tokens) |
Smaller footprint (139.22 GiB), 19.3858 dB 45-layer mean SQNR, 0.012301 nats post-header median KLD (0.999066 cosine) vs BF16, runs on standard HBM2 + spatial SRAM |
1,048,576-Token (1M) KV Cache (37 HCA + 6 MLA-DSA) |
FP8 (8-bit, --kv-cache-dtype fp8) |
100% Lossless BF16 (16-bit) (0 B DDR4 spill; memcmp == 0 NVMe .kvblk) |
0.0000 nats KV quantization loss across the full 1M context window |
DSA Sparse Indexer (6 Layers, Top-2048 Selection) |
4-bit MXFP4 (indexer_kv_dtype: mxfp4) + distilled head-pruning router (1.4x @ 1M) |
16-bit BF16 ik_cache + FP32 8/8-Head Exact Scoring (4-lane VALU DPP, 0 ds_bpermute) |
0 IEEE-754 bit-diffs, 13,056 / 13,056 exact TopK, and 5.19x speedup @ 262K (0 dropped heads) |
100% Un-Abliterated)Every file in this repository is derived strictly from unmodified baidu/ERNIE-5.5-Flash-Preview-BF16 (0 refusal-direction projections, 0 LoRA merges, 0 fine-tuning). All 45 MoE layer shards are published unsplit (SHA256SUMS.txt covers 100% of files; zero .part* reassembly):
| Path | Count / Exact Size | Format & Contents |
|---|---|---|
experts_hlut4/hlut4_layer_01.bin .. hlut4_layer_45.bin |
45 files x 3,321,892,864 B (139.22 GiB total) |
4,096 B aligned header + 512 routed experts x 3 projections (gate, up, down, 2048x2048 each) x 4,096 blocks of 1,024 weights x 528 B (4.125 bpw: 512 B packed 4-bit LUT indices + 16 B FP16 codebook/scale metadata per 1,024-weight subblock) |
packed_spine/spine_shared.safetensors, spine_layer_00..42.safetensors, spine_dspark.safetensors |
45 lossless BF16 / FP32 files |
Complete unquantized L00-L42 HCA + MLA-DSA + FlashIndexer + shared experts + mHC + spine_dspark.safetensors (91 model.mtp.{0,1,2} spine tensors) + MultiMax |
router_perm.bin |
47,112 B ("5MRP" magic) |
Empirical 524,288-token activation-frequency permutation (46 layer slots x 512 uint16): places top 318 hot experts/layer on 5x MI50 HBM2 (94.89% mean hit; 99.33% / 97.85% / 97.29% on DSpark L43/L44/L45) and 68 in Blackhole P150A Tensix L1 (98.06% combined) |
meta/hlut4_preview_pack_manifest.json |
Verified JSON receipt | Per-layer SQNR (mean_sqnr_db = 19.3858 dB), hit-rate tables, and shard digests |
config.json, tokenizer.json, tokenizer_config.json |
Upstream Preview-BF16 |
Unmodified Baidu tokenizer & model configuration (201,216 vocab, max_position_embeddings = 1048576) |
SHA256SUMS.txt, LICENSE, NOTICE, CITATION.cff |
Integrity & Legal | Complete SHA-256 manifest, Apache License 2.0, and Baidu + bespoke ontology attribution |
SB-M5-P2-192G)Evaluated on a single heterogeneous AMD EPYC 7542 workstation (512 GiB 8-channel 3200 MT/s ECC DDR4 under D18F0x110 = 0x0000003B saturating all three host PCIe 4.0 x16 root ports at 68.07 GB/s ALL-5 H2D / 64.06 GB/s ALL-5 D2H, 0 replays, AER_TOTAL = 0, plus 5x AMD Radeon Instinct MI50 128 GiB HBM2 and 2x Tenstorrent Blackhole P150A 64 GiB GDDR6 with kBatchSlots = 256 over 4x 800G FABRIC_1D, 0 B CPU DDR4 expert spill, full 1,048,576 lossless BF16 KV cache):
| Verification Gate / Metric | Measured Value | Notes |
|---|---|---|
45-Layer Mean Expert SQNR |
19.3858 dB |
L01 = 18.3110 dB, L07 = 19.1872 dB, L43 (DSpark) = 19.3396 dB; MI50 vs P150A cosine 0.999990-0.999994 |
Disjoint GATE-2 BF16 Oracle KLD |
0.012301 nats (post-header median) |
0.999066 mean logit cosine, 85.20% Top-1, 94.72% Router EAR@10 across 64 held-out probes (0 8-gram overlap vs 524,288 cal tokens; full-sequence median 0.039143 nats) |
INV-1b DSpark Greedy Exactness |
64 / 64 bit-exact (100%) |
DSpark K=2..7 == M=1 target greedy token-for-token across 2,040 rollbacks straddling 128-token HCA block boundaries |
INV-1c Probabilistic DSpark TV |
TV(K=5) = 0.00961 (< 0.01) |
TV(K=1) = 0.00858, 0 NaNs across 4-piece MultiMax residual resampling; DSpark+SA Suite 32 TV = 0.0103 |
INV-1d Non-128 Chunked & Warm Prefix |
cos = 1.00000000 |
Exact parity across odd non-128 lengths (L = 129, 4097, 65539; L = 262,147 cos(warm) = 1.00000000, cos(137) = 0.99973877, exact Top-1) and FlashIndexer (cos = 0.998859, exact argmax) |
Long-Context DSA + HCA Decode Kernels |
5.19x (DSA 262K) / 6.80x (HCA 512K) / 1.94x less Split-K HBM2 |
4-lane VALU DPP FlashIndexer (0 ds_bpermute, 0 bit-diffs, 5.84 ms across 6L @ 262K) + 36L Split-K HCA (M-fused k_hca_decode_splitk_p1_mfused, Cut W14.3 33 -> 17 terms across 256K-1M, 1.92 -> 0.99 GB/step TP4, live GPU min_cos = 1.0000000, 0 B VRAM) |
Wave-17 (v1.9.0-wave17-sram-512g-overnight) Blackhole L1 SRAM Re-Budget, 2,048-Slot v2 .kvblk, Sparse Flash-MLA, Adaptive BM=32 MoE & M=8 2-Branch Tree |
0.430 ms/L M=6 & 0.503 ms/L M=8 P150A L1 (55.71 tok/s @ 243.9K, 44.58 tok/s @ 315.5K) / 22.6 s warm 300B boot / 5.401M tok/s (54.60 ms) 2,048-slot v2 .kvblk (4.19M warm tok) / 4–7 ms Sparse Flash-MLA (756.2 tok/s @ 276.5K) / 57/176 (32.4%) Branch B tree wins (+119 tok) |
355/355 zero-scratch gfx906 kernels (3,936 fdot2 ops), 60/60 Gate-0 suites (3/3 consecutive PASS), 204.19 MiB pinned L1 + 24.00 MiB L1 act SRAM (27/27 decode traces), 100.58 GiB v2 SHM + 1.50 GiB pinned FP16 ik_cache mirror, merge4 (3 LDS WAR barriers hardened), adaptive M <= 768 fused BM=32/64 MoE, --wave17-verify (failures = 0), 318,109 uncompacted :3081 tokens (0 compactions), 0 B net new GPU VRAM, AER_TOTAL = 0, EDAC_UE = 0 |
Wave-16 (v1.8.0-wave16-gate3-1m) GATE-3 Live Harness, Overlapped /dev/shm Boot & Hybrid DSpark+SA |
24.7 s warm 300B boot (6.40x vs cold, 438/1,024 .kvblk slots recovered) / 5.426M tok/s live 694.3K .kvblk restore (127.96 ms, disk = 0) / 561.2 tok/s @ 696.3K / 43.80 tok/s (91.3% SA) @ 720.6K / 731,978 uncompacted :3081 tokens |
345/345 zero-scratch gfx906 kernels, 55/55 Gate-0 suites, tools/ernie55_gate3_live.cpp --wave16-verify (failures = 0), two-phase KFD-lock-free WB 5x2x64 MiB weight DMA overlapping kv_init_thr, ev_fi_overlap, sa_bonus_ready (26/26 cases), 0 B net new GPU VRAM, AER_TOTAL = 0, EDAC_UE = 0 |
Wave-15 (v1.7.0-wave15-512g-fdot2) v_dot2_f32_f16 FlashIndexer, /dev/shm Weight Slab & Zero-Host-Sync .kvblk |
454.0 ms @ 1M (2.97x FI, live 327 ms / 694.6 tok/s @ 407.6K, 390 ms / 640.0 tok/s @ 510.0K, 144 ms @ 639.5K) / 29.1 s warm 300B boot (5.44x, 0 B NVMe) / 4.36M tok/s DDR4 & 892.5K tok/s NVMe .kvblk / 43.62 tok/s (86.9% SA @ 543.7K) |
345/345 zero-scratch gfx906 kernels, 52/52 Gate-0 suites, 3,568 v_dot2_f32_f16 ops, 111.06 GiB CRC32C /dev/shm/ernie55_weights_ddr4 (320 GiB DDR4 free), kvblk_host_syncs = 0, 9.30 GB/s (1,063.9K tok/s) unit verifier, 40-45 C idle junction, standalone C++17 ernie55_hf_pull, 639,949 live uncompacted :3081 tokens, 0 B net new GPU VRAM, AER_TOTAL = 0, EDAC_UE = 0 |
Wave-14 (v1.6.0-wave14-512g-8ch) 512 GiB 8-Ch & Persistent 2M /dev/shm Arena |
1,047.2 tok/s cold pos0=0 (1,005.0-1,008.7 @ 2K..6K, 777.6 @ 186.4K, 704.5 @ 366K, 453.2 @ >1M) / 5.50M tok/s 495-blk (1,013.8K) & 5.26M tok/s (67.74 ms, disk=0) live :8052 hot-swap Tier-1 /dev/shm .kvblk / 47.99 tok/s greedy (38.3K), 35.84 (923.4K) & 32.14 (1,008.3K) decode |
344/344 zero-scratch gfx906 kernels, 49/49 Gate-0 suites, 68.07 GB/s ALL-5 H2D (+59.2%) / 64.06 GB/s D2H (+67.2%), Cut W14.1 kTileK = 32,768 (32 tiles @ 1M), Cut W14.2 1,024-slot 46.16 GiB /dev/shm (175/1,024 recovered, 0 rejected, 9.27 GB/s = 1,060.5K tok/s unit verifier), Cut W14.3 cooled cost_w = {1.05, 1.15, 0.90, 1.03, 1.10} + 33 -> 17 term HCA Split-K, 0 B net new GPU hipMalloc, AER_TOTAL = 0, UE = 0 |
Wave-13 (v1.5.0-wave13-1k-prefill-1m) 1K+ Prefill & 1.02M Uncompacted Lock (<=64K -> 1,020.0K Live) |
1,005.5 tok/s cold pos0=0 (973.3 @ pos0=2048, 453.2 tok/s @ 1,013.8K > 1M) / 4.184M tok/s closing 495-blk (1,013.8K) Tier-1 DDR4 .kvblk (242.29 ms) & 937.0K / 914.2K live Dual-NVMe .kvblk / 35.84 tok/s (923.4K) & 32.14 tok/s (1,008.3K) DSpark+SA decode (29.51 tok/s mean) |
344/344 zero-scratch gfx906 kernels (118 HLUT4 + 226 core, 46/46 Gate-0 unit suites, 0 B net new GPU VRAM, 0/0 PCIe AER across 69 devices): Blackhole P150A kBatchSlots = 256 (152 KiB L1 CB), direct-mapped sequential coherent 512-slot DDR4 + 296 MiB layer-major HCA mirror + Half-Ring-6, Cut W13.7 adaptive SA miss cooldown (17,446 SA hits, 61.91% mean / 92.32% peak SA acceptance) |
Wave-12 (v1.4.0-wave12-1m-apex) 3-Pillar 1M Apex (<=64K -> 823.0K Live) |
958.0 live (977.5 cold peak) <=64K -> 562.6 @ 576K -> 459.6 @ 768K -> 442.2 tok/s @ 832K prefill / 2.46B VRAM, 2.66M live 512-slot DDR4 & 884.3K live 596K Dual-NVMe .kvblk / 0.99-2.49 ms JSON delta / 52.72 @ 217K, 45.63 @ 580K, 42.44 tok/s @ 612K DSpark+SA decode (32.05 tok/s weighted mean) |
343/343 zero-scratch gfx906 kernels (118 HLUT4 + 225 core, 3,504 v_dot2_f32_f16 ops, 0 spills/trig/slc/P2P/Python, 32/32 Gate-0 unit suites, 0 B net new GPU VRAM, 0/0 PCIe AER across 69 devices): cost_w={1.55,1.63,1.04,0.34,0.78} minimax + fast-first kLaunchOrd={0,1,3,2} + adaptive HCA cur_tile + 8-VGPR uint4 norm + Blackhole P150A kBatchSlots=128 (L1 CB=98,816 B); 512-slot (1M) pinned DDR4 batched 8-slot unpack + b % 12 == 0 Dual-NVMe (CRC32C=2.01 ms, memcmp==0) + zero-copy ChatPrefixCache; GPU M-fused HCA split-K + doorbell-first P150A overlap + precision-gated 8/6-gram DSpark+SA (16 MiB host DDR4, 0 B GPU VRAM, 42 ns 1M probe, 3,952 skipped 3L DSpark passes at 62.4% mean / 87.5% peak SA acceptance) |
Canonical Autonomous :3081 Traces (318.1K Wave-17 + 732.0K Wave-16 + 639.9K Wave-15 + 402.4K Wave-14 + 1,020.0K Wave-13 + 823.0K Wave-12 + 514.0K Wave-11 + 626.2K Wave-10 + 198.0K + 158.6K) |
318.1K-token Wave-17 session-71cf42a2 (84,000 events, 10 turns, 180 steps, 186 tools, 158,438 output tokens, 0 compactions, 55.71 tok/s @ 243.9K, 57/176 Branch B tree wins, SHA-256: 40e6ce674c357477d5f1d8c70654043b9c837f208ab15d51473fe8243bd9d219) + 732.0K-token Wave-16 session-55d1fa0e (230,972 events, 9 turns, 567 steps, 610 tools, 410,657 output tokens, 0 compactions, SHA-256: 9e21223eb8605d0337f794dbfe1f9f0351048ca605d6172132777e111d7de80f) + 1,020.0K-token Wave-13 session-a79925b0 (219,192 archive events, 22 turns, 425 steps, 433 tools, 343,921 output tokens, 0 compactions, 0 parse errors, SHA-256: fd1db781e6af98b891d514ff8ad758237acfed14d1fbf356c0c9b2525e4ca2be) + 823.0K Wave-12 + 514.0K Wave-11 + 626.2K Wave-10 |
Continuous autonomous :3081 co-engineering traces across 1M native context (10/10 Zero-PII PASS, 0/0 PCIe AER) |
300B ERNIE-5.5-Flash-Preview on Google Cloud TPU Using Included Gemini Plan Credits (Google AI Pro & Google AI Ultra)Most Gemini subscribers already have unused Google Colab Compute Units banked automatically on their primary Google account (200 CU/mo on Google AI Pro, rolling over 90 days up to 600 CU; 2,000 CU/mo on Google AI Ultra, rolling over 90 days up to 6,000 CU) — checkable in 2 clicks under Runtime -> View resources in Colab (Measured Google AI Ultra Colab Specs, Google AI Plan Colab Allowance, AgenticColab TPU Burn Rates).
At ~3.26 CU/hr on TPU v5e-1 (15.75 GiB HBM + 47.05 GiB RAM + 225.3 GiB SSD) and ~4.08 CU/hr on TPU v6e-1 Trillium (31.24 GiB HBM + 173.0 GiB DDR5), a full 300B verification and inference session uses ~2-4 CU (~490-600 hours of TPU runtime per 2,000 CU). All TPU code, JAX/Pallas Mosaic VMEM kernels, and the Zero-PII GitHub-hosted notebook live in the standalone companion repo bespokeontology/ernie55-flash-preview-tpu (keeping the MI50/Blackhole C++ repo 100% Python-free).
v6e-1 TPU (Tier-1 100% in-RAM on Google AI Ultra/Pro+, automatically streaming the 139.22 GiB expert shards straight into /dev/shm tmpfs DDR5 at 300-600+ MiB/s to bypass /content's 28 MiB/s persistent-disk throttle) or v5e-1 TPU (Tier-2 HBM + RAM + /content SSD on Google AI Pro) -> click Save.google-colab-cli):uv tool install google-colab-cli
git clone https://github.com/bespokeontology/ernie55-flash-preview-tpu.git
cd ernie55-flash-preview-tpu
./tools/run_colab_300b_tpu.sh v5e1 # or: ./tools/run_colab_300b_tpu.sh v6e1 (automatic trap teardown)
The script compiles ernie55_hf_pull.cpp and ernie55_cpu_avx512_hlut4.cpp natively on the TPU host, streams all 157.65 GiB anonymously (0 B ~/.cache/huggingface bloat, zero credentials sent to the VM), uses /dev/shm DDR5 automatically on 173 GiB v6e-1, runs Gate-0 Pallas VMEM + full 43-layer 300B prefill/decode, and tears down the TPU runtime automatically via an EXIT trap.45-Layer 300B + 3L DSpark Google Cloud TPU v6e-8 (249.94 GiB All-HBM, v1.2.0-tpu-v6e8-all-hbm, receipts/gate_tpu_v6e8_all_hbm_receipt.json): 157.65 GiB streamed straight into /dev/shm in 46.76 s (3,452.57 MiB/s = 3.62 GB/s, 0 failed ranges, hf_cache_dir_created = false); Python 3.12.16 + jax 0.12.1 native Pallas Mosaic 128 MiB VMEM Gate-0 (1-chip 96.86 TFLOP/s BF16 / 109.66 TOP/s INT8; 8-chip simultaneous 476.35 TFLOP/s BF16 / 565.13 TOP/s INT8, beating XLA 504.76 TOP/s); 100% of 45 MoE layers (23,040 experts) + 18.41 GiB spine loaded into 23.95 GiB/chip (191.58 / 249.94 GiB, 0 B DDR5/PCIe spill) + simultaneous 8.55 GiB 1M lossless BF16 KV (25.38 GiB/chip in use, 6L 1M FlashIndexer = 1.465 ms); native Pallas VMEM M = 2,048 prefill 11,086.36 tok/s BF16 (184.73 ms, h2d = 0.0 ms) and 11,003.84 tok/s INT8; All-HBM target decode 39.14 tok/s (M = 1, 25.55 ms), 65.88 tok/s (M = 4), 76.54 tok/s (M = 8), plus 3L DSpark (8.34 ms draft, 34.49–45.26 tok/s at 60%–85% acc).43-Layer 300B Google Cloud TPU v6e-1 (Trillium) Receipt (v1.1.0-tpu-v6e-trillium, receipts/gate_tpu_v6e1_trillium_receipt.json): 157.65 GiB streamed in 140.14 s (1,155.4 MiB/s avg / 1,640.6 MiB/s peak, 139.22 GiB in /dev/shm DDR5, hf_cache_dir_created = false, 0 failed ranges); Gate-0 M = 2,048 202.18 TFLOP/s BF16-LUT16 (cos = 0.9999948) and 208.05 TOP/s INT8-LUT16 (cos = 0.9999375); 100% of 18.41 GiB packed_spine loaded into 18.41 GiB HBM in 5.15 s (peak 19.05 / 31.25 GiB, 0 OOMs); M = 2,048 prefill 423.03 tok/s INT8 (512.6 tok/s TPU compute) and 298.19 tok/s BF16; 44-thread AVX-512F (7.918x speedup, cos = 1.000000000) /dev/shm DDR5 decode 4.088 tok/s (M = 1, on-chip lm_head = 1.4 ms), 13.539 tok/s (M = 4), and 15.427 tok/s (M = 8).43-Layer 300B Google Cloud TPU v5e-1 Receipt (v1.1.0-tpu-v6e-trillium, receipts/gate_tpu_v5e1_300b_receipt.json): 103 files (157.66 GiB, 0 failed ranges, hf_cache_dir_created = false, 67.66 GiB free on /content); Gate-0 Pallas Mosaic VMEM 65.53 TFLOP/s BF16-LUT16 (cos = 0.9999948 / 0.9999833, XLA 124.84 TFLOP/s) and 69.75 TOP/s INT8-LUT16 (cos = 0.9999360 / 0.9998228, XLA 122.19 TOP/s); full 43-layer BF16 spine loaded into 11.79 GiB HBM (peak 12.59 GiB / 15.75 GiB across all 90 unsplit shards, 0 OOMs); M = 2,048 pure TPU compute 737.0 tok/s (2,779.0 ms) BF16 and 970.4 tok/s (2,110.4 ms) INT8 (29.63 tok/s warm-cache wall-clock vs 2.91 tok/s cold SSD); 16-step 43-layer M = 1 decode (90.12 ms/tok TPU spine); /dev/shm .kvblk 166,073.7 tok/s (1.85 GB/s, 16/16 CRC32C bit-exact across 32,768 tokens).WHT128-HLUT4 Quantization (Pure C++17)Clone bespokeontology/ernie55-flash-preview-wht128-hlut4 (0 .py files required):
# 1. Download unsplit weights and verify SHA-256 integrity:
hf download kapitoshkina-ai/ERNIE-5.5-Flash-Preview-WHT128-HLUT4 --local-dir ./weights_hlut4
sha256sum -c ./weights_hlut4/SHA256SUMS.txt
# 2. Build engine & verify lossless gates + start :8052 OpenAI-compatible server:
git clone https://github.com/bespokeontology/ernie55-flash-preview-wht128-hlut4.git
cd ernie55-flash-preview-wht128-hlut4
make -j"$(nproc)" all && make audit-gfx906
./bin/p150_ernie55_worker --weights ../weights_hlut4 &
./scripts/start_ernie55_fe.sh --weights ../weights_hlut4 --port 8052 --max-kv 1048576
To quantize baidu/ERNIE-5.5-Flash-Preview-BF16 from scratch on your own hardware or adapt expert placement to a different GPU/ASIC topology:
./bin/ernie55_build_weights_gpu \
--bf16-dir ./upstream_bf16 \
--out-dir ./custom_hlut4 \
--cal-tokens 524288 \
--ldlq-damp 0.01 \
--layers 0..45
./bin/ernie55_verify_gates --weights ./custom_hlut4 --gate 1,2
NOTICE & Co-AuthorshipApache-2.0 (matching upstream baidu/ERNIE-5.5-Flash-Preview-BF16).the kitchen), Baidu ERNIE 5.5 Flash Preview (14B-active WHT128-HLUT4 running locally on SB-M5-P2-192G across continuous uncompacted :3081 traces including Wave-17 session-71cf42a2 [318,109 peak tokens, 158,438 output tokens, 10 turns, 186 tool calls, 0 compactions; verifiable in dsh-session-71cf42a2-wave17-sanitized.zip] and Wave-16 session-55d1fa0e [731,978 uncompacted live tokens, 410,657 output tokens; verifiable in dsh-session-55d1fa0e-wave16-sanitized.zip], directly co-authoring Wave-17 cuts W17.1–W17.5, Wave-16 cuts, ernie55_hf_pull.cpp, ernie55_cpu_avx512_hlut4.cpp, ernie55_pallas_v6e.py, ernie55_tpu_fe.py, and --redact-transcript), and Google Gemini (Google DeepMind, Gemini Carbon & Gemini Neon & Antigravity).experts_hlut4/hlut4_layer_01.bin 3.1 GiBexperts_hlut4/hlut4_layer_02.bin 3.1 GiBexperts_hlut4/hlut4_layer_03.bin 3.1 GiBexperts_hlut4/hlut4_layer_04.bin 3.1 GiBexperts_hlut4/hlut4_layer_05.bin 3.1 GiBexperts_hlut4/hlut4_layer_06.bin 3.1 GiBexperts_hlut4/hlut4_layer_07.bin 3.1 GiBexperts_hlut4/hlut4_layer_08.bin 3.1 GiBexperts_hlut4/hlut4_layer_09.bin 3.1 GiBexperts_hlut4/hlut4_layer_10.bin 3.1 GiBexperts_hlut4/hlut4_layer_11.bin 3.1 GiBexperts_hlut4/hlut4_layer_12.bin 3.1 GiBexperts_hlut4/hlut4_layer_13.bin 3.1 GiBexperts_hlut4/hlut4_layer_14.bin 3.1 GiBexperts_hlut4/hlut4_layer_15.bin 3.1 GiBexperts_hlut4/hlut4_layer_16.bin 3.1 GiBexperts_hlut4/hlut4_layer_17.bin 3.1 GiBexperts_hlut4/hlut4_layer_18.bin 3.1 GiBexperts_hlut4/hlut4_layer_19.bin 3.1 GiBexperts_hlut4/hlut4_layer_20.bin 3.1 GiBexperts_hlut4/hlut4_layer_21.bin 3.1 GiBexperts_hlut4/hlut4_layer_22.bin 3.1 GiBexperts_hlut4/hlut4_layer_23.bin 3.1 GiBexperts_hlut4/hlut4_layer_24.bin 3.1 GiBexperts_hlut4/hlut4_layer_25.bin 3.1 GiBexperts_hlut4/hlut4_layer_26.bin 3.1 GiBexperts_hlut4/hlut4_layer_27.bin 3.1 GiBexperts_hlut4/hlut4_layer_28.bin 3.1 GiBexperts_hlut4/hlut4_layer_29.bin 3.1 GiBexperts_hlut4/hlut4_layer_30.bin 3.1 GiBexperts_hlut4/hlut4_layer_31.bin 3.1 GiBexperts_hlut4/hlut4_layer_32.bin 3.1 GiBexperts_hlut4/hlut4_layer_33.bin 3.1 GiBexperts_hlut4/hlut4_layer_34.bin 3.1 GiBexperts_hlut4/hlut4_layer_35.bin 3.1 GiBexperts_hlut4/hlut4_layer_36.bin 3.1 GiBexperts_hlut4/hlut4_layer_37.bin 3.1 GiBexperts_hlut4/hlut4_layer_38.bin 3.1 GiBexperts_hlut4/hlut4_layer_39.bin 3.1 GiBexperts_hlut4/hlut4_layer_40.bin 3.1 GiBexperts_hlut4/hlut4_layer_41.bin 3.1 GiBexperts_hlut4/hlut4_layer_42.bin 3.1 GiBexperts_hlut4/hlut4_layer_43.bin 3.1 GiBexperts_hlut4/hlut4_layer_44.bin 3.1 GiBexperts_hlut4/hlut4_layer_45.bin 3.1 GiBpacked_spine/spine_shared.safetensors 3.1 GiBpacked_spine/spine_dspark.safetensors 1.2 GiBpacked_spine/spine_layer_00.safetensors 567 MiBpacked_spine/spine_layer_07.safetensors 350 MiBpacked_spine/spine_layer_14.safetensors 350 MiBpacked_spine/spine_layer_21.safetensors 350 MiBpacked_spine/spine_layer_28.safetensors 350 MiBpacked_spine/spine_layer_35.safetensors 350 MiBpacked_spine/spine_layer_42.safetensors 350 MiBpacked_spine/spine_layer_01.safetensors 327 MiBpacked_spine/spine_layer_02.safetensors 327 MiBpacked_spine/spine_layer_03.safetensors 327 MiBpacked_spine/spine_layer_04.safetensors 327 MiBpacked_spine/spine_layer_05.safetensors 327 MiBpacked_spine/spine_layer_06.safetensors 327 MiBpacked_spine/spine_layer_08.safetensors 327 MiBpacked_spine/spine_layer_09.safetensors 327 MiBpacked_spine/spine_layer_10.safetensors 327 MiBpacked_spine/spine_layer_11.safetensors 327 MiBpacked_spine/spine_layer_12.safetensors 327 MiBpacked_spine/spine_layer_13.safetensors 327 MiBpacked_spine/spine_layer_15.safetensors 327 MiBpacked_spine/spine_layer_16.safetensors 327 MiBpacked_spine/spine_layer_17.safetensors 327 MiBpacked_spine/spine_layer_18.safetensors 327 MiBpacked_spine/spine_layer_19.safetensors 327 MiBpacked_spine/spine_layer_20.safetensors 327 MiBpacked_spine/spine_layer_22.safetensors 327 MiBpacked_spine/spine_layer_23.safetensors 327 MiBpacked_spine/spine_layer_24.safetensors 327 MiBpacked_spine/spine_layer_25.safetensors 327 MiBpacked_spine/spine_layer_26.safetensors 327 MiBpacked_spine/spine_layer_27.safetensors 327 MiBpacked_spine/spine_layer_29.safetensors 327 MiBpacked_spine/spine_layer_30.safetensors 327 MiBpacked_spine/spine_layer_31.safetensors 327 MiBpacked_spine/spine_layer_32.safetensors 327 MiBpacked_spine/spine_layer_33.safetensors 327 MiBpacked_spine/spine_layer_34.safetensors 327 MiBpacked_spine/spine_layer_36.safetensors 327 MiBpacked_spine/spine_layer_37.safetensors 327 MiBpacked_spine/spine_layer_38.safetensors 327 MiBpacked_spine/spine_layer_39.safetensors 327 MiBpacked_spine/spine_layer_40.safetensors 327 MiBpacked_spine/spine_layer_41.safetensors 327 MiBrouter_perm.bin 46 KiBbaidu/ERNIE-5.5-Flash-Preview