Tests de vitesseModèlesÉvaluations comparativesLocationsRapportsMatérielCalculateur de décodageOrganisationsProDocs APIEnvoyer
Langue
Actual Computer — Every computer, one endpoint
jdfelo

JD

@jdfelo · Membre depuis 2026

Tous les runs1

Historique complet des tests de vitesse approuvés.

Matériel

M5 Pro 48GB

Moteur

mlx · int4

TTFT

596 ms

Contexte

2K · il y a 5 mois

Afficher tous les détails du run

Modèle

jdfelo/gemma-4-31B-v2-MLX-4bit

Nom affiché

gemma-4-31B-v2-MLX-4bit

Modèle de base

—

Révision

main

Famille

Gemma

Paramètres

31B

Params actifs

—

MoE

non

Sortie

33.4 tok/s

Prefill

251 tok/s

Total

—

TTFT

596 ms

VRAM max

34.2GB

Consommation

—

Coût du matériel

—

Tokens du prompt

149

Tokens de sortie

400

Tokens de prefill

—

Longueur de contexte

2K

Taille de batch

1

Classe de matériel

UNIFIED

Matériel

M5 Pro 48GB

Emplacements GPU

—

Nombre de GPU

1

VRAM

—

Fabricant de la puce

Apple

Famille de puce

M5

Variante de puce

M5 Pro

Mémoire unifiée

48GB

TOPS NPU

—

CPU

—

RAM

—

OS

macOS

Alimentation

—

Moteur

mlx

Version du moteur

mlx-vlm 0.6.3 / mlx 0.32.0.dev20260702+e9463bb (qmv_wide)

Quantification

int4

Backend

metal

Parallélisme tensoriel

—

Parallélisme pipeline

—

Couches GPU

—

Mode de répartition

—

Dtype du cache KV

—

Taille du cache KV

—

Cache de préfixe

—

Backend d'attention

—

Flash attention

—

Prefill par blocs

—

Bloc de prefill

—

Batching continu

—

Déchargement CPU

—

Couches CPU

—

Rope scaling

—

Rope scale

—

Facteur ext. Yarn

—

Quant du moteur

—

Quant SGLang

—

Util. mémoire GPU

—

Séqs max en cours

—

Délai du planificateur

—

Num parallel

—

Concurrence

—

Décodage spéculatif

oui

Méthode spéc.

mtp

Modèle spéc.

mlx-community/gemma-4-31B-it-assistant-bf16

Modèle brouillon spéc.

mlx-community/gemma-4-31B-it-assistant-bf16

Tokens spéc.

4

N-gramme spéc.

—

TP brouillon spéc.

—

Fenêtre brouillon spéc.

—

MTP activé

oui

Couches brouillon MTP

4

Température

—

Top P

—

Top K

—

Min P

—

Pénalité de répétition

—

Mirostat

—

Commande

python3 -m mlx_vlm server --host 127.0.0.1 --port 8080 --model ~/.cache/hf-vlm4 --draft-model mlx-community/gemma-4-31B-it-assistant-bf16 --draft-kind mtp --draft-block-size 4 # + patch_mlx_vlm_fast_verify.py (adds gemma4 speculative_argmax_from_hidden); mlx built from git main for the qmv_wide M>=2 kernel (PR #3764)

Options supplémentaires

--draft-model mlx-community/gemma-4-31B-it-assistant-bf16 --draft-kind mtp --draft-block-size 4

Notes

Gemma 4 31B (abliterated v2), 4-bit affine gs64 decoder; vision tower + embed/lm_head bf16 per config. MLX MTP speculative decoding via mlx-vlm, official gemma-4-31B-it-assistant drafter, draft-block-size 4 (optimum on this build). Measured on M5 Pro 48GB, macOS 26.5, greedy temp 0. tokSOut = median of 4 timed iterations (range 32.8-35.5), decode throughput over the inter-token window (completion_tokens / (t_last-t_first)) from the OpenAI-compatible stream; ~250-tok code workload, exact usage.completion_tokens. Drafter acceptance ~69.8%, ~3.09 accepted tok/round. Byte-identical to dense greedy (fast-verify patch adds the missing gemma4 speculative_argmax_from_hidden hook: one batched norm->lm_head->softcap over K+1 positions). Speedup vs dense 4-bit (~15 tok/s, ~94% of the 276 GB/s measured-bandwidth ceiling) ~2.2x. peakVramGb is process phys_footprint_peak and includes MLX's Metal buffer cache growing under a 36GB wired limit; true resident weights+drafter+KV ~= 18-20GB (steady footprint 26.5GB). wheel: mlx qmv_wide (PR #3764) built from git main; without it b3 tops out ~24.6 tok/s. Model repo public; base jdfelo/gemma-4-31B-v2 is gated.

Réactions

—

Envoyé

3 juil. 2026, 20:57

Dernière modification

—

ModèleMatérielMoteurtok/s sortieprefilltok/s totalTTFTProfondeurPartager
gemma-4-31B-v2-MLX-4bit

31B · Gemma

M5 Pro 48GB
mlxint433.4251—596 ms—
Afficher tous les détails pour gemma-4-31B-v2-MLX-4bit

Modèle

jdfelo/gemma-4-31B-v2-MLX-4bit

Nom affiché

gemma-4-31B-v2-MLX-4bit

Modèle de base

—

Révision

main

Famille

Gemma

Paramètres

31B

Params actifs

—

MoE

non

Sortie

33.4 tok/s

Prefill

251 tok/s

Total

—

TTFT

596 ms

VRAM max

34.2GB

Consommation

—

Coût du matériel

—

Tokens du prompt

149

Tokens de sortie

400

Tokens de prefill

—

Longueur de contexte

2K

Taille de batch

1

Classe de matériel

UNIFIED

Matériel

M5 Pro 48GB

Emplacements GPU

—

Nombre de GPU

1

VRAM

—

Fabricant de la puce

Apple

Famille de puce

M5

Variante de puce

M5 Pro

Mémoire unifiée

48GB

TOPS NPU

—

CPU

—

RAM

—

OS

macOS

Alimentation

—

Moteur

mlx

Version du moteur

mlx-vlm 0.6.3 / mlx 0.32.0.dev20260702+e9463bb (qmv_wide)

Quantification

int4

Backend

metal

Parallélisme tensoriel

—

Parallélisme pipeline

—

Couches GPU

—

Mode de répartition

—

Dtype du cache KV

—

Taille du cache KV

—

Cache de préfixe

—

Backend d'attention

—

Flash attention

—

Prefill par blocs

—

Bloc de prefill

—

Batching continu

—

Déchargement CPU

—

Couches CPU

—

Rope scaling

—

Rope scale

—

Facteur ext. Yarn

—

Quant du moteur

—

Quant SGLang

—

Util. mémoire GPU

—

Séqs max en cours

—

Délai du planificateur

—

Num parallel

—

Concurrence

—

Décodage spéculatif

oui

Méthode spéc.

mtp

Modèle spéc.

mlx-community/gemma-4-31B-it-assistant-bf16

Modèle brouillon spéc.

mlx-community/gemma-4-31B-it-assistant-bf16

Tokens spéc.

4

N-gramme spéc.

—

TP brouillon spéc.

—

Fenêtre brouillon spéc.

—

MTP activé

oui

Couches brouillon MTP

4

Température

—

Top P

—

Top K

—

Min P

—

Pénalité de répétition

—

Mirostat

—

Commande

python3 -m mlx_vlm server --host 127.0.0.1 --port 8080 --model ~/.cache/hf-vlm4 --draft-model mlx-community/gemma-4-31B-it-assistant-bf16 --draft-kind mtp --draft-block-size 4 # + patch_mlx_vlm_fast_verify.py (adds gemma4 speculative_argmax_from_hidden); mlx built from git main for the qmv_wide M>=2 kernel (PR #3764)

Options supplémentaires

--draft-model mlx-community/gemma-4-31B-it-assistant-bf16 --draft-kind mtp --draft-block-size 4

Notes

Gemma 4 31B (abliterated v2), 4-bit affine gs64 decoder; vision tower + embed/lm_head bf16 per config. MLX MTP speculative decoding via mlx-vlm, official gemma-4-31B-it-assistant drafter, draft-block-size 4 (optimum on this build). Measured on M5 Pro 48GB, macOS 26.5, greedy temp 0. tokSOut = median of 4 timed iterations (range 32.8-35.5), decode throughput over the inter-token window (completion_tokens / (t_last-t_first)) from the OpenAI-compatible stream; ~250-tok code workload, exact usage.completion_tokens. Drafter acceptance ~69.8%, ~3.09 accepted tok/round. Byte-identical to dense greedy (fast-verify patch adds the missing gemma4 speculative_argmax_from_hidden hook: one batched norm->lm_head->softcap over K+1 positions). Speedup vs dense 4-bit (~15 tok/s, ~94% of the 276 GB/s measured-bandwidth ceiling) ~2.2x. peakVramGb is process phys_footprint_peak and includes MLX's Metal buffer cache growing under a 36GB wired limit; true resident weights+drafter+KV ~= 18-20GB (steady footprint 26.5GB). wheel: mlx qmv_wide (PR #3764) built from git main; without it b3 tops out ~24.6 tok/s. Model repo public; base jdfelo/gemma-4-31B-v2 is gated.

Réactions

—

Envoyé

3 juil. 2026, 20:57

Dernière modification

—