gemma-2b
Support summary
gemma-2b is a checkpoint published by Google, built on the GemmaForCausalLM architecture. vLLM 0.28.0, the newest indexed vLLM release, documents support.
vLLM documents support in 20 of 20 indexed releases, from 0.17.0 to 0.28.0.
- License
- gemma
Hugging Face model card
- Publisher
- Task
- text generation
- License
- gemma
- Library
- transformers
- Architecture
- GemmaForCausalLM
- Weight tensor elements
- 2.5B
- Tensor types
- BF16
- Weight access
- Publisher approval or terms required
- Repository created
- 2024-02-08
Model notes and sources
- vLLM v0.28.0 · docs/models/supported_models.md · 20 indexed revisions, v0.17.0 to v0.28.0
- google/gemma-2b · publisher model card
- google/gemma-2b · Hugging Face metadata
- Reviewed
Engine support
3 engines
| Engine | Release | Checkpoint support | Evidence scope | Last known supported |
|---|---|---|---|---|
| vLLM | 0.28.0Newest indexed | Checkpoint evidenceSource: vLLM v0.28.0 · docs/models/supported_models.mdReviewed | 0.28.0This release | |
Features, dependencies and evidence for vLLM 0.28.0 | ||||
| SGLang | 0.5.19Newest indexed | No matching evidence curated | No supported release indexed | |
Features, dependencies and evidence for SGLang 0.5.19 | ||||
| TensorRT-LLM | 1.2.1Newest indexed | No matching evidence curated | No supported release indexed | |
Features, dependencies and evidence for TensorRT-LLM 1.2.1 | ||||
Plan a deployment of gemma-2b
Pin checkpoint google/gemma-2b at revision 9cf48e52b224239de00d483ec8eb84fb8d0f3a3a on a documented release (vLLM). Verify quantized kernels, chat templates, and parser flags on your target GPU before production rollout.
- Request publisher access for
google/gemma-2band pass your token via environment variables rather than command-line arguments or shared logs. - Indexed weights store BF16 tensors; confirm your GPU architecture and engine build support this format natively.
- Estimate weight and KV-cache memory for gemma-2b, leaving headroom for runtime activations and CUDA graphs, then benchmark TTFT, TPOT, and throughput on representative traffic.
No standalone engine cookbook is indexed for google/gemma-2b; check the publisher’s model card and release table above for launch arguments.