gemma-2b

Checkpointgoogle/gemma-2bModel card indexedModel card

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
Google
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
Source 1: google/gemma-2b · publisher model cardSource 2: google/gemma-2b · Hugging Face metadataReviewed
Model notes and sources

Engine support

3 engines

Engine support for gemma-2b
EngineReleaseCheckpoint supportEvidence scopeLast known supported
vLLM0.28.0Newest indexedCheckpoint evidenceSource: vLLM v0.28.0 · docs/models/supported_models.mdReviewed 0.28.0This release
Features, dependencies and evidence for vLLM 0.28.0
SGLang0.5.19Newest indexedNo matching evidence curatedNo supported release indexed
Features, dependencies and evidence for SGLang 0.5.19
TensorRT-LLM1.2.1Newest indexedNo matching evidence curatedNo 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-2b and 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.