速度テストモデルベンチマークレンタルレポートハードウェアデコード計算機組織ProAPIドキュメント送信
言語
Actual Computer — Every computer, one endpoint
jdfelo

JD

@jdfelo · 2026 年から参加

すべての実行1

承認済み速度テストの全履歴。

ハードウェア

M5 Pro 48GB

エンジン

mlx · int4

TTFT

596 ms

コンテキスト

2K · 5 か月前

実行の詳細をすべて表示

モデル

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

表示名

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

ベースモデル

—

リビジョン

main

ファミリー

Gemma

パラメータ

31B

アクティブパラメータ

—

MoE

いいえ

出力

33.4 tok/s

プリフィル

251 tok/s

合計

—

TTFT

596 ms

ピークVRAM

34.2GB

消費電力

—

ハードウェア費用

—

プロンプトトークン

149

出力トークン

400

プリフィルトークン

—

コンテキスト長

2K

バッチサイズ

1

ハードウェアクラス

UNIFIED

ハードウェア

M5 Pro 48GB

GPUスロット

—

GPU数

1

VRAM

—

チップベンダー

Apple

チップファミリー

M5

チップバリアント

M5 Pro

ユニファイドメモリ

48GB

NPU TOPS

—

CPU

—

RAM

—

OS

macOS

電力

—

エンジン

mlx

エンジンバージョン

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

量子化

int4

バックエンド

metal

テンソル並列

—

パイプライン並列

—

GPUレイヤー

—

分割モード

—

KVキャッシュ dtype

—

KVキャッシュサイズ

—

プレフィックスキャッシュ

—

アテンションバックエンド

—

Flash Attention

—

チャンクプリフィル

—

プリフィルチャンク

—

連続バッチ処理

—

CPUオフロード

—

CPUレイヤー

—

RoPEスケーリング

—

RoPEスケール

—

YaRN拡張係数

—

エンジン量子化

—

SGLang量子化

—

GPUメモリ使用率

—

最大実行シーケンス数

—

スケジューラ遅延

—

並列数

—

同時実行数

—

投機的デコード

はい

投機的手法

mtp

投機モデル

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

投機ドラフトモデル

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

投機トークン

4

投機 n-gram

—

投機ドラフト TP

—

投機ドラフトウィンドウ

—

MTP有効

はい

MTPドラフトレイヤー

4

Temperature

—

Top P

—

Top K

—

Min P

—

繰り返しペナルティ

—

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)

追加フラグ

--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.

リアクション

—

送信日

2026/07/03 20:57

最終編集

—

モデルハードウェアエンジンtok/s 出力プリフィルtok/s 合計TTFT深さ共有
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

ベースモデル

—

リビジョン

main

ファミリー

Gemma

パラメータ

31B

アクティブパラメータ

—

MoE

いいえ

出力

33.4 tok/s

プリフィル

251 tok/s

合計

—

TTFT

596 ms

ピークVRAM

34.2GB

消費電力

—

ハードウェア費用

—

プロンプトトークン

149

出力トークン

400

プリフィルトークン

—

コンテキスト長

2K

バッチサイズ

1

ハードウェアクラス

UNIFIED

ハードウェア

M5 Pro 48GB

GPUスロット

—

GPU数

1

VRAM

—

チップベンダー

Apple

チップファミリー

M5

チップバリアント

M5 Pro

ユニファイドメモリ

48GB

NPU TOPS

—

CPU

—

RAM

—

OS

macOS

電力

—

エンジン

mlx

エンジンバージョン

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

量子化

int4

バックエンド

metal

テンソル並列

—

パイプライン並列

—

GPUレイヤー

—

分割モード

—

KVキャッシュ dtype

—

KVキャッシュサイズ

—

プレフィックスキャッシュ

—

アテンションバックエンド

—

Flash Attention

—

チャンクプリフィル

—

プリフィルチャンク

—

連続バッチ処理

—

CPUオフロード

—

CPUレイヤー

—

RoPEスケーリング

—

RoPEスケール

—

YaRN拡張係数

—

エンジン量子化

—

SGLang量子化

—

GPUメモリ使用率

—

最大実行シーケンス数

—

スケジューラ遅延

—

並列数

—

同時実行数

—

投機的デコード

はい

投機的手法

mtp

投機モデル

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

投機ドラフトモデル

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

投機トークン

4

投機 n-gram

—

投機ドラフト TP

—

投機ドラフトウィンドウ

—

MTP有効

はい

MTPドラフトレイヤー

4

Temperature

—

Top P

—

Top K

—

Min P

—

繰り返しペナルティ

—

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)

追加フラグ

--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.

リアクション

—

送信日

2026/07/03 20:57

最終編集

—