Tüm çalıştırmalar1
Onaylanmış hız testi geçmişinin tamamı.
31B · Gemma
33.4
tok/s
M5 Pro 48GB
mlx · int4
596 ms
2K · 5 ay önce
Tüm çalıştırma ayrıntılarını göster
Model
jdfelo/gemma-4-31B-v2-MLX-4bit
Görünen ad
gemma-4-31B-v2-MLX-4bit
Temel model
—
Revizyon
main
Aile
Gemma
Parametreler
31B
Aktif parametreler
—
MoE
hayır
Çıktı
33.4 tok/s
Prefill
251 tok/s
Toplam
—
TTFT
596 ms
En yüksek VRAM
34.2GB
Güç tüketimi
—
Donanım maliyeti
—
İstem tokenları
149
Çıktı tokenları
400
Prefill tokenları
—
Bağlam uzunluğu
2K
Batch boyutu
1
Donanım sınıfı
UNIFIED
Donanım
M5 Pro 48GB
GPU yuvaları
—
GPU sayısı
1
VRAM
—
Çip üreticisi
Apple
Çip ailesi
M5
Çip varyantı
M5 Pro
Birleşik bellek
48GB
NPU TOPS
—
CPU
—
RAM
—
İşletim sistemi
macOS
Güç
—
Motor
mlx
Motor sürümü
mlx-vlm 0.6.3 / mlx 0.32.0.dev20260702+e9463bb (qmv_wide)
Kuantizasyon
int4
Backend
metal
Tensor parallel
—
Pipeline parallel
—
GPU katmanları
—
Bölme modu
—
KV önbellek veri tipi
—
KV önbellek boyutu
—
Önek önbellekleme
—
Attention backend
—
Flash attention
—
Chunked prefill
—
Prefill parçası
—
Sürekli batching
—
CPU'ya aktarma
—
CPU katmanları
—
RoPE ölçekleme
—
RoPE ölçeği
—
YaRN ext faktörü
—
Motor kuantizasyonu
—
SGLang kuantizasyonu
—
GPU bellek kullanımı
—
Maks. çalışan dizi
—
Zamanlayıcı gecikmesi
—
Num parallel
—
Eşzamanlılık
—
Spekülatif decoding
evet
Spekülatif yöntem
mtp
Spekülatif model
mlx-community/gemma-4-31B-it-assistant-bf16
Taslak model
mlx-community/gemma-4-31B-it-assistant-bf16
Spekülatif tokenlar
4
Spekülatif n-gram
—
Taslak model TP
—
Taslak model penceresi
—
MTP etkin
evet
MTP taslak katmanları
4
Sıcaklık
—
Top P
—
Top K
—
Min P
—
Tekrar cezası
—
Mirostat
—
Komut
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)
Ek bayraklar
--draft-model mlx-community/gemma-4-31B-it-assistant-bf16 --draft-kind mtp --draft-block-size 4
Notlar
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.
Tepkiler
—
Gönderildi
3 Tem 2026 20:57
Son düzenleme
—
| Model | Donanım | Motor | tok/s çıktı | prefill | tok/s toplam | TTFT | Derinlik | Paylaş |
|---|---|---|---|---|---|---|---|---|
| gemma-4-31B-v2-MLX-4bit 31B · Gemma | M5 Pro 48GB | mlxint4 | 33.4 | 251 | — | 596 ms | — | |
gemma-4-31B-v2-MLX-4bit için tüm ayrıntıları gösterModel jdfelo/gemma-4-31B-v2-MLX-4bit Görünen ad gemma-4-31B-v2-MLX-4bit Temel model — Revizyon main Aile Gemma Parametreler 31B Aktif parametreler — MoE hayır Çıktı 33.4 tok/s Prefill 251 tok/s Toplam — TTFT 596 ms En yüksek VRAM 34.2GB Güç tüketimi — Donanım maliyeti — İstem tokenları 149 Çıktı tokenları 400 Prefill tokenları — Bağlam uzunluğu 2K Batch boyutu 1 Donanım sınıfı UNIFIED Donanım M5 Pro 48GB GPU yuvaları — GPU sayısı 1 VRAM — Çip üreticisi Apple Çip ailesi M5 Çip varyantı M5 Pro Birleşik bellek 48GB NPU TOPS — CPU — RAM — İşletim sistemi macOS Güç — Motor mlx Motor sürümü mlx-vlm 0.6.3 / mlx 0.32.0.dev20260702+e9463bb (qmv_wide) Kuantizasyon int4 Backend metal Tensor parallel — Pipeline parallel — GPU katmanları — Bölme modu — KV önbellek veri tipi — KV önbellek boyutu — Önek önbellekleme — Attention backend — Flash attention — Chunked prefill — Prefill parçası — Sürekli batching — CPU'ya aktarma — CPU katmanları — RoPE ölçekleme — RoPE ölçeği — YaRN ext faktörü — Motor kuantizasyonu — SGLang kuantizasyonu — GPU bellek kullanımı — Maks. çalışan dizi — Zamanlayıcı gecikmesi — Num parallel — Eşzamanlılık — Spekülatif decoding evet Spekülatif yöntem mtp Spekülatif model mlx-community/gemma-4-31B-it-assistant-bf16 Taslak model mlx-community/gemma-4-31B-it-assistant-bf16 Spekülatif tokenlar 4 Spekülatif n-gram — Taslak model TP — Taslak model penceresi — MTP etkin evet MTP taslak katmanları 4 Sıcaklık — Top P — Top K — Min P — Tekrar cezası — Mirostat — Komut 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) Ek bayraklar --draft-model mlx-community/gemma-4-31B-it-assistant-bf16 --draft-kind mtp --draft-block-size 4 Notlar 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. Tepkiler — Gönderildi 3 Tem 2026 20:57 Son düzenleme — | ||||||||
