How to use from
OpenClaw
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "OsaurusAI/diffusiongemma-26B-A4B-it-MXFP8"
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "OsaurusAI/diffusiongemma-26B-A4B-it-MXFP8" \
  --custom-provider-id mlx-lm \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Quick Links

Osaurus

DiffusionGemma 26B-A4B-it โ€” MXFP8 (Osaurus / vMLX)

Native MLX MXFP8 quantization of google/diffusiongemma-26B-A4B-it โ€” a block-diffusion language model (NOT autoregressive): text generates as 256-token canvases refined by iterative denoising. 30-layer Gemma-4-style MoE, 128 experts top-8, 26B total / ~4B active parameters.

Runs natively in Osaurus on Apple Silicon via the vmlx-swift block-diffusion engine.

Quantization

  • Attention, dense MLP, router, and routed MoE experts: MXFP8 (group 32)
  • Embeddings, norms, self-conditioning, vision tower: fp16 passthrough
  • 23 shards, ~26 GB on disk, peak runtime RSS โ‰ˆ 23.8 GB (M5 Max)

Capabilities

Text generation โœ… block diffusion (~28โ€“42 tok/s @ 48 steps (often converges in fewer steps than MXFP4), M5 Max)
Vision (single/multi image) โœ… Gemma-4 unified vision tower, 280 soft tokens/image
Tool calling โœ… Gemma-4 format <|tool_call>call:name{...}<tool_call|>
Reasoning channel โœ… harmony <|channel>thoughtโ€ฆ<channel|>
Audio โŒ not in this checkpoint (no audio_config)
Video โŒ no video_token_id

Generation contract

All diffusion sampling parameters live in generation_config.json and are honored by the runtime: max_denoising_steps=48, entropy bound 0.1, temperature schedule 0.8โ†’0.4, stability 1, confidence 0.005, eos_token_id=[1, 106, 50], pad 0. Wire temperature/top_p are ignored by design โ€” the denoising schedule is bundle-owned. Speed/quality is controlled by the denoising-step budget (Osaurus exposes this as a server setting, default 16 โ‰ˆ 2ร— faster than the bundle default and verified coherent; below 12 quality degrades).

The chat template (chat_template.jinja) ships in this repo, including tool-call and thinking-channel rendering.

Known behavior

Very terse prompts under greedy denoising can occasionally converge to an empty (EOS-first) canvas โ€” inherent to the reference sampling algorithm with random canvas initialization; retry or rephrase.

Downloads last month
40
Safetensors
Model size
26B params
Tensor type
F16
ยท
U32
ยท
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for OsaurusAI/diffusiongemma-26B-A4B-it-MXFP8

Finetuned
(38)
this model