Youssofal / Gemma4-MTPLX-Optimized-Speed

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: September 24 2026
text-generation

Introduction of Gemma4-MTPLX-Optimized-Speed

Model Details of Gemma4-MTPLX-Optimized-Speed

Gemma4 MTPLX Optimized Speed

This is an MTPLX pair bundle for Gemma 4 31B speculative decoding on Apple Silicon.

It is not a single vanilla Transformers model directory. The repository contains two MLX-format artifacts:

  • target/ - Gemma 4 31B IT target, MLX Q4 affine group-size 64
  • assistant/ - official Gemma 4 31B assistant drafter, MLX Q6 affine group-size 64

Use this pair when absolute throughput is the priority.

Source
  • Target source: google/gemma-4-31B-it
  • Target revision: 145dc2508c480a64b47242f160d286cff94a2343
  • Assistant source: google/gemma-4-31B-it-assistant
  • Assistant revision: cffbbd2cea41ea56a0fa5b0487e0d445121fd204

Both artifacts were converted locally to MLX format.

Quantization

Target:

bits: 4
group_size: 64
mode: affine

Assistant:

bits: 6
group_size: 64
mode: affine
MTPLX Usage

After downloading this repository, point MTPLX at the two subdirectories:

mtplx bench gemma-mtp \
  --target-model ./target \
  --assistant-model ./assistant \
  --prompt-suite mtplx/benchmarks/prompts/flappy.jsonl \
  --max-tokens 1000 \
  --draft-block-sizes 6 \
  --allow-unverified-gemma

The Gemma 4 assistant is a separate drafter model. MTPLX uses exact speculative sampling with target verification and residual correction.

Local Benchmark

Prompt: single-file HTML5 Canvas Flappy Bird game, capped at 1000 generated tokens.

Sampler:

temperature: 1.0
top_p: 0.95
top_k: 64
seed: 0

Best observed block size:

block_size: 6
acceptance: 830 / 846 = 98.11%

Observed MTPLX throughput samples:

43.56 tok/s
44.46 tok/s
44.07 tok/s

The bundled benchmark JSON files are in benchmarks/ .

Notes

This release is optimized for MTPLX speed experiments. For a higher-precision target, use Youssofal/Gemma4-MTPLX-Optimized-Quality .

Gemma 4 is released by Google under the Gemma 4 license terms linked above.

Runs of Youssofal Gemma4-MTPLX-Optimized-Speed on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Gemma4-MTPLX-Optimized-Speed huggingface.co Model

More Gemma4-MTPLX-Optimized-Speed license Visit here:

https://choosealicense.com/licenses/apache-2.0

Gemma4-MTPLX-Optimized-Speed huggingface.co

Gemma4-MTPLX-Optimized-Speed huggingface.co is an AI model on huggingface.co that provides Gemma4-MTPLX-Optimized-Speed's model effect (), which can be used instantly with this Youssofal Gemma4-MTPLX-Optimized-Speed model. huggingface.co supports a free trial of the Gemma4-MTPLX-Optimized-Speed model, and also provides paid use of the Gemma4-MTPLX-Optimized-Speed. Support call Gemma4-MTPLX-Optimized-Speed model through api, including Node.js, Python, http.

Gemma4-MTPLX-Optimized-Speed huggingface.co Url

https://huggingface.co/Youssofal/Gemma4-MTPLX-Optimized-Speed

Youssofal Gemma4-MTPLX-Optimized-Speed online free

Gemma4-MTPLX-Optimized-Speed huggingface.co is an online trial and call api platform, which integrates Gemma4-MTPLX-Optimized-Speed's modeling effects, including api services, and provides a free online trial of Gemma4-MTPLX-Optimized-Speed, you can try Gemma4-MTPLX-Optimized-Speed online for free by clicking the link below.

Youssofal Gemma4-MTPLX-Optimized-Speed online free url in huggingface.co:

https://huggingface.co/Youssofal/Gemma4-MTPLX-Optimized-Speed

Gemma4-MTPLX-Optimized-Speed install

Gemma4-MTPLX-Optimized-Speed is an open source model from GitHub that offers a free installation service, and any user can find Gemma4-MTPLX-Optimized-Speed on GitHub to install. At the same time, huggingface.co provides the effect of Gemma4-MTPLX-Optimized-Speed install, users can directly use Gemma4-MTPLX-Optimized-Speed installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Gemma4-MTPLX-Optimized-Speed install url in huggingface.co:

https://huggingface.co/Youssofal/Gemma4-MTPLX-Optimized-Speed

Url of Gemma4-MTPLX-Optimized-Speed

Gemma4-MTPLX-Optimized-Speed huggingface.co Url

Provider of Gemma4-MTPLX-Optimized-Speed huggingface.co

Youssofal
ORGANIZATIONS

Other API from Youssofal