Pruebas de velocidadModelosEvaluaciones comparativasAlquileresInformesHardwareCalculadora de decodificaciónOrganizacionesProDocs de APIEnviar
Idioma
Actual Computer — Every computer, one endpoint
jdfelo

JD

@jdfelo · Miembro desde 2026

Todas las ejecuciones1

Historial completo de pruebas de velocidad aprobadas.

Hardware

M5 Pro 48GB

Motor

mlx · int4

TTFT

596 ms

Contexto

2K · hace 5 meses

Mostrar todos los detalles de la ejecución

Modelo

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

Nombre visible

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

Modelo base

—

Revisión

main

Familia

Gemma

Parámetros

31B

Parámetros activos

—

MoE

no

Salida

33.4 tok/s

Prefill

251 tok/s

Total

—

TTFT

596 ms

VRAM máxima

34.2GB

Consumo eléctrico

—

Coste del hardware

—

Tokens de prompt

149

Tokens de salida

400

Tokens de prefill

—

Longitud de contexto

2K

Tamaño de lote

1

Clase de hardware

UNIFIED

Hardware

M5 Pro 48GB

Ranuras de GPU

—

Número de GPU

1

VRAM

—

Fabricante del chip

Apple

Familia del chip

M5

Variante del chip

M5 Pro

Memoria unificada

48GB

NPU TOPS

—

CPU

—

RAM

—

SO

macOS

Energía

—

Motor

mlx

Versión del motor

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

Cuantización

int4

Backend

metal

Paralelismo de tensores

—

Paralelismo de pipeline

—

Capas en GPU

—

Modo de división

—

Tipo de datos de caché KV

—

Tamaño de caché KV

—

Caché de prefijos

—

Backend de atención

—

Flash attention

—

Prefill por bloques

—

Bloque de prefill

—

Batching continuo

—

Descarga a CPU

—

Capas en CPU

—

Escalado RoPE

—

Escala RoPE

—

Factor ext. YaRN

—

Cuantización del motor

—

Cuantización SGLang

—

Uso de memoria GPU

—

Máx. secuencias activas

—

Retardo del planificador

—

Núm. paralelo

—

Concurrencia

—

Decodificación especulativa

sí

Método especulativo

mtp

Modelo especulativo

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

Modelo borrador

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

Tokens especulativos

4

N-grama especulativo

—

TP del borrador

—

Ventana del borrador

—

MTP activado

sí

Capas borrador MTP

4

Temperatura

—

Top P

—

Top K

—

Min P

—

Penalización por repetición

—

Mirostat

—

Comando

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)

Flags adicionales

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

Notas

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.

Reacciones

—

Enviado

3 jul 2026, 20:57

Última edición

—

ModeloHardwareMotortok/s salidaprefilltok/s totalTTFTProfundidadCompartir
gemma-4-31B-v2-MLX-4bit

31B · Gemma

M5 Pro 48GB
mlxint433.4251—596 ms—
Mostrar todos los detalles de gemma-4-31B-v2-MLX-4bit

Modelo

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

Nombre visible

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

Modelo base

—

Revisión

main

Familia

Gemma

Parámetros

31B

Parámetros activos

—

MoE

no

Salida

33.4 tok/s

Prefill

251 tok/s

Total

—

TTFT

596 ms

VRAM máxima

34.2GB

Consumo eléctrico

—

Coste del hardware

—

Tokens de prompt

149

Tokens de salida

400

Tokens de prefill

—

Longitud de contexto

2K

Tamaño de lote

1

Clase de hardware

UNIFIED

Hardware

M5 Pro 48GB

Ranuras de GPU

—

Número de GPU

1

VRAM

—

Fabricante del chip

Apple

Familia del chip

M5

Variante del chip

M5 Pro

Memoria unificada

48GB

NPU TOPS

—

CPU

—

RAM

—

SO

macOS

Energía

—

Motor

mlx

Versión del motor

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

Cuantización

int4

Backend

metal

Paralelismo de tensores

—

Paralelismo de pipeline

—

Capas en GPU

—

Modo de división

—

Tipo de datos de caché KV

—

Tamaño de caché KV

—

Caché de prefijos

—

Backend de atención

—

Flash attention

—

Prefill por bloques

—

Bloque de prefill

—

Batching continuo

—

Descarga a CPU

—

Capas en CPU

—

Escalado RoPE

—

Escala RoPE

—

Factor ext. YaRN

—

Cuantización del motor

—

Cuantización SGLang

—

Uso de memoria GPU

—

Máx. secuencias activas

—

Retardo del planificador

—

Núm. paralelo

—

Concurrencia

—

Decodificación especulativa

sí

Método especulativo

mtp

Modelo especulativo

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

Modelo borrador

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

Tokens especulativos

4

N-grama especulativo

—

TP del borrador

—

Ventana del borrador

—

MTP activado

sí

Capas borrador MTP

4

Temperatura

—

Top P

—

Top K

—

Min P

—

Penalización por repetición

—

Mirostat

—

Comando

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)

Flags adicionales

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

Notas

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.

Reacciones

—

Enviado

3 jul 2026, 20:57

Última edición

—