ทดสอบความเร็วโมเดลเบนช์มาร์กเช่ารายงานฮาร์ดแวร์เครื่องคำนวณ decodeองค์กรProเอกสาร APIส่ง
ภาษา
Actual Computer — Every computer, one endpoint
jdfelo

JD

@jdfelo · สมาชิกตั้งแต่ 2026

runs ทั้งหมด1

ประวัติการทดสอบความเร็วที่อนุมัติแล้วทั้งหมด

ฮาร์ดแวร์

M5 Pro 48GB

Engine

mlx · int4

TTFT

596 ms

Context

2K · 5 เดือนที่ผ่านมา

แสดงรายละเอียด run ทั้งหมด

โมเดล

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

ชื่อที่แสดง

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

โมเดลฐาน

—

Revision

main

ตระกูล

Gemma

พารามิเตอร์

31B

พารามิเตอร์ที่ใช้งาน

—

MoE

ไม่

Output

33.4 tok/s

Prefill

251 tok/s

รวม

—

TTFT

596 ms

VRAM สูงสุด

34.2GB

การใช้พลังงาน

—

ราคาฮาร์ดแวร์

—

Prompt tokens

149

Output tokens

400

Prefill tokens

—

ความยาว Context

2K

Batch size

1

คลาสฮาร์ดแวร์

UNIFIED

ฮาร์ดแวร์

M5 Pro 48GB

GPU slots

—

จำนวน GPU

1

VRAM

—

ผู้ผลิตชิป

Apple

ตระกูลชิป

M5

รุ่นย่อยชิป

M5 Pro

หน่วยความจำรวม

48GB

NPU TOPS

—

CPU

—

RAM

—

OS

macOS

พลังงาน

—

Engine

mlx

เวอร์ชัน Engine

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

Quantization

int4

Backend

metal

Tensor parallel

—

Pipeline parallel

—

GPU layers

—

Split mode

—

KV cache dtype

—

ขนาด KV cache

—

Prefix caching

—

Attention backend

—

Flash attention

—

Chunked prefill

—

Prefill chunk

—

Continuous batching

—

CPU offload

—

CPU layers

—

Rope scaling

—

Rope scale

—

Yarn ext factor

—

Engine quant

—

SGLang quant

—

GPU mem util

—

Max running seqs

—

Scheduler delay

—

Num parallel

—

Concurrency

—

Spec decoding

ใช่

Spec method

mtp

Spec model

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

Spec draft model

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

Spec tokens

4

Spec ngram

—

Spec draft TP

—

Spec draft window

—

เปิดใช้ MTP

ใช่

MTP draft layers

4

Temperature

—

Top P

—

Top K

—

Min P

—

Repeat penalty

—

Mirostat

—

คำสั่ง

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)

Extra flags

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

หมายเหตุ

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.

รีแอคชัน

—

ส่งเมื่อ

3 ก.ค. 2569 20:57

แก้ไขล่าสุด

—

โมเดลฮาร์ดแวร์Enginetok/s outprefilltok/s รวมTTFTDepthแชร์
gemma-4-31B-v2-MLX-4bit

31B · Gemma

M5 Pro 48GB
mlxint433.4251—596 ms—
แสดงรายละเอียดทั้งหมดของ gemma-4-31B-v2-MLX-4bit

โมเดล

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

ชื่อที่แสดง

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

โมเดลฐาน

—

Revision

main

ตระกูล

Gemma

พารามิเตอร์

31B

พารามิเตอร์ที่ใช้งาน

—

MoE

ไม่

Output

33.4 tok/s

Prefill

251 tok/s

รวม

—

TTFT

596 ms

VRAM สูงสุด

34.2GB

การใช้พลังงาน

—

ราคาฮาร์ดแวร์

—

Prompt tokens

149

Output tokens

400

Prefill tokens

—

ความยาว Context

2K

Batch size

1

คลาสฮาร์ดแวร์

UNIFIED

ฮาร์ดแวร์

M5 Pro 48GB

GPU slots

—

จำนวน GPU

1

VRAM

—

ผู้ผลิตชิป

Apple

ตระกูลชิป

M5

รุ่นย่อยชิป

M5 Pro

หน่วยความจำรวม

48GB

NPU TOPS

—

CPU

—

RAM

—

OS

macOS

พลังงาน

—

Engine

mlx

เวอร์ชัน Engine

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

Quantization

int4

Backend

metal

Tensor parallel

—

Pipeline parallel

—

GPU layers

—

Split mode

—

KV cache dtype

—

ขนาด KV cache

—

Prefix caching

—

Attention backend

—

Flash attention

—

Chunked prefill

—

Prefill chunk

—

Continuous batching

—

CPU offload

—

CPU layers

—

Rope scaling

—

Rope scale

—

Yarn ext factor

—

Engine quant

—

SGLang quant

—

GPU mem util

—

Max running seqs

—

Scheduler delay

—

Num parallel

—

Concurrency

—

Spec decoding

ใช่

Spec method

mtp

Spec model

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

Spec draft model

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

Spec tokens

4

Spec ngram

—

Spec draft TP

—

Spec draft window

—

เปิดใช้ MTP

ใช่

MTP draft layers

4

Temperature

—

Top P

—

Top K

—

Min P

—

Repeat penalty

—

Mirostat

—

คำสั่ง

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)

Extra flags

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

หมายเหตุ

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.

รีแอคชัน

—

ส่งเมื่อ

3 ก.ค. 2569 20:57

แก้ไขล่าสุด

—