ERNIE-5.5-Flash-Preview for Basalt (Unofficial Community Conversion)

Notice (Apache-2.0 §4(b) & §6): This repository is an independent, unofficial community conversion of baidu/ERNIE-5.5-Flash-Preview into the .basalt single-file format for Basalt. It is not affiliated with, sponsored by, or endorsed by Baidu, Inc. or the Basalt maintainers.

Model file for Basalt (basalt.jgulfo.com), a local inference engine for NVIDIA Blackwell GPUs (sm_120) with an OpenAI- and Anthropic-compatible API. Basalt runs this model on one Blackwell card, optionally peer cards as an expert tier, and system RAM for the experts that do not fit in VRAM.

One self-contained file: weights, tokenizer, chat template metadata, and the bundled 3-stage DSpark speculative drafter, converted directly from Baidu's official release (baidu/ERNIE-5.5-Flash-Preview).

file size experts
ERNIE-5.5-Flash-Preview-MXFP4.basalt 166.7 GB (155.3 GiB) MXFP4, the release's bits (bit for bit)

SHA-256: 7af8cd7a90ce86c269c4fbe5a24f0b5f40266d5f72d054ba9999a7edda088728

  • Vision: none (Baidu's preview release is text-only).
  • Context: up to 1,048,576 tokens (--max-context, native YaRN). --kv fp8 (default) uses 4.5 KB/token (1.13 GiB at 262,144 context); --kv fp16 uses ~8.7 KB/token.
  • Drafter: 3-stage DSpark drafts by default (--spec 8, up to 7 tokens per window). Drafted tokens are verified, so the output is the model's own. --spec 0 turns it off.
  • Thinking and tools: Baidu's prompt template, <ernie:think> reasoning with reasoning_effort (none, low, medium, high, max), and parallel <ernie:tool_call> XML tool calls work through the server.
  • Memory: 152.6 GiB loaded (`9.1 GiB` GPU 0 dense/KV/DSpark + remaining experts across GPU 0, optional peer GPUs, and page-locked system RAM). For 16–32 GB GPUs, 192 GB system RAM is recommended.

Modifications & What Is in the File

In accordance with Apache License 2.0 Section 4(b), this conversion modifies the original checkpoint distribution as follows (all steps are deterministic weight format conversions; no calibration, fine-tuning, or retraining was performed):

  • Source checkpoint: baidu/ERNIE-5.5-Flash-Preview at revision ace1100dcde7bf4eb06add6ae11ce4f43a11ddfe (2026-11-24).
  • Repackaged from Hugging Face safetensors shards into a single .basalt v2 container using Basalt's tools/convert/convert.py (checkpoint_ernie55.py) and tools/convert/dspark_ernie55_attach.py. The resulting .basalt file contains only Baidu's converted weights, tokenizer files, and pack metadata (no third-party binaries or code).
  • Routed experts (42 MoE layers × 512) keep Baidu's native MXFP4 codes and UE8M0 scales bit for bit.
  • 128×128 blockwise FP8 dense projections are dequantized to F32 and rounded once to Q8_0 (ggml reference rounding).
  • The bundled model.mtp.* DSpark drafter tensors from the same checkpoint are packed and appended as a SHA-256-verified dspark section.
part format size
Routed experts (42 MoE layers × 512, gate/up/down) MXFP4 (type 39: 1 UE8M0 scale + 16 split-half E2M1 bytes per 32 values), bit for bit 133.88 GiB
Dense weights (gguf: HCA, MLA-DSA, Lightning Indexer, dense layer 0, shared experts, latent projections, embeddings & head) 128×128 FP8 → Q8_0; embeddings, output head, compressor & indexer keys BF16; norms, mHC, sinks, routers F32 11.08 GiB
DSpark drafter (dspark: 3 SWA-mHC stages + Markov & confidence head) MXFP4 routed experts + Q8_0 projections + BF16 markov_w1 + F32 norms/mHC/routers 10.28 GiB
Tokenizer, layout & metadata BPE vocab/merges, experts.layout, meta 0.01 GiB

Quick Start

hf download florian862-art/ERNIE-5.5-Flash-Preview-Basalt ERNIE-5.5-Flash-Preview-MXFP4.basalt --local-dir models

Example basalt_config.json (two 16 GB Blackwell GPUs in peer mode; for one GPU set "gpu": "0" and omit "gpu-mode"):

{
  "version": 2,
  "models": [
    {
      "model": "models/ERNIE-5.5-Flash-Preview-MXFP4.basalt",
      "alias": "ernie-5.5-flash-preview-mxfp4",
      "gpu": "0,1",
      "gpu-mode": "peer",
      "max-context": 262144,
      "kv": "fp8",
      "spec": 8,
      "ram-reserve-mib": 24576
    }
  ],
  "engine": {
    "pool-workers": 20,
    "peer-reserve-mib": 350,
    "conversation-cache-disk-mib": 16384
  },
  "server": {
    "host": "127.0.0.1",
    "port": 8080
  }
}
bin/basalt serve --config basalt_config.json

For full documentation, architecture notes, and benchmarks, see Basalt's ERNIE-5.5-Flash support (PR #687, docs/models/ernie55.md, and docs/precision/ernie55.md).

License, Copyright & Attribution

  • Model Weights License: ERNIE 5.5 Flash Preview is released under the Apache License 2.0; see LICENSE for full terms. This license covers the ERNIE 5.5 Flash Preview weights only. ERNIE 5.5 Flash Base remains under its own license, the ERNIE 5.5 Flash Base Model License Agreement v1.0. Copyright © 2026 Baidu. All Rights Reserved.
  • Trademarks (Apache-2.0 §6): "ERNIE" and "Baidu" are trademarks of Baidu, Inc., used here solely to identify the origin of the converted model weights.
  • Conversion Tool: Repackaged using Basalt (MIT License).
  • Disclaimer (Apache-2.0 §7): This converted model file is provided on an "AS IS" basis, without warranties or conditions of any kind, either express or implied.

Citation

If you use ERNIE 5.5 Flash Preview in your research or projects, please cite the original authors:

@misc{ernie5.5flashpreview,
  title = {ERNIE 5.5 Flash Preview},
  author = {{Baidu ERNIE Team}},
  year = {2026},
  howpublished = {ERNIE Blog},
  url = {https://ernie.baidu.com/release/ernie-5-5-flash-preview/}
}
Downloads last month
7,984
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for florian862-art/ERNIE-5.5-Flash-Preview-Basalt

Quantized
(17)
this model