모든 실행1
승인된 속도 테스트 전체 기록입니다.
31B · Gemma
33.4
tok/s
M5 Pro 48GB
mlx · int4
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. 7. 3. 오후 8:57
마지막 편집
—
| 모델 | 하드웨어 | 엔진 | tok/s 출력 | 프리필 | tok/s 합계 | TTFT | 깊이 | 공유 |
|---|---|---|---|---|---|---|---|---|
| gemma-4-31B-v2-MLX-4bit 31B · Gemma | M5 Pro 48GB | mlxint4 | 33.4 | 251 | — | 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. 7. 3. 오후 8:57 마지막 편집 — | ||||||||
