This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/deploy/compose/gemma4-12b-bf16.yaml
T
keptn42 3af8065cc6 deploy: Gemma 4 12B composes and README rows
gemma4-12b-bf16.yaml (two cards) and gemma4-12b-i8g.yaml (one card), both
with bf16 KV, MTP depth 3 and 1120 patches for pictures.
2026-11-04 07:21:07 +01:00

17 lines
1005 B
YAML

# Gemma 4 12B-it at bf16 on two cards: every weight as Google released it, Google's assistant head
# merged in as the MTP drafter (depth 3). Pictures and audio go in through the 12B's own embedders (no
# vision tower, no audio encoder). bf16 KV: fp8 KV costs the 12B more than it saves. Thinking is off,
# as in Google's template; switch it per request (chat_template_kwargs). Sampling as the checkpoint's
# generation_config states it (temperature 1.0, top_p 0.95, top_k 64).
name: radiance-gemma4-12b-bf16
services:
radiance:
extends: { file: common.yaml, service: radiance }
container_name: radiance-gemma4-12b-bf16
command: >
--model /models/gemma4-12b-bf16.rad
--host :: --port ${PORT:-8000} --api-key-env RADIANCE_API_KEY
--tp 2 --max-num-seqs 8 --max-model-len 65536 --kv-cache-dtype bf16
--num-speculative-tokens 3 --max-num-batched-tokens 2048 --mm-max-patches 1120
--temp 1.0 --top-p 0.95 --top-k 64 --chat-template-kwargs '{"enable_thinking":false}'