glm-4-9b-chat-hf

Checkpointzai-org/glm-4-9b-chat-hfModel card indexedModel card

Support summary

glm-4-9b-chat-hf is a checkpoint published by Z.ai, built on the GlmForCausalLM 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.

Configured context
131,072 tokens
License
glm-4
Hugging Face model card
Publisher
Z.ai
Task
text generation
License
glm-4
Library
transformers
Architecture
GlmForCausalLM
Weight tensor elements
9.4B
Tensor types
BF16
Configured context
131,072 tokens
Languages
en, zh
Base models
THUDM/glm-4-9b-chat
Weight access
Public
Repository created
2024-10-23
Source 1: zai-org/glm-4-9b-chat-hf · publisher model cardSource 2: zai-org/glm-4-9b-chat-hf · Hugging Face metadataSource 3: zai-org/glm-4-9b-chat-hf · publisher configurationReviewed
Model notes and sources

Engine support

3 engines

Engine support for glm-4-9b-chat-hf
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 glm-4-9b-chat-hf

Pin checkpoint zai-org/glm-4-9b-chat-hf at revision 8599336fc6c125203efb2360bfaf4c80eef1d1bf on a documented release (vLLM). Verify quantized kernels, chat templates, and parser flags on your target GPU before production rollout.

  • Indexed weights store BF16 tensors; confirm your GPU architecture and engine build support this format natively.
  • Configured maximum context is 131,072 tokens; cap --max-model-len (or SGLang’s --context-length) to the longest prompt your workload actually serves so KV blocks stay available for concurrency.
  • Estimate weight and KV-cache memory for glm-4-9b-chat-hf, leaving headroom for runtime activations and CUDA graphs, then benchmark TTFT, TPOT, and throughput on representative traffic.

No standalone engine cookbook is indexed for zai-org/glm-4-9b-chat-hf; check the publisher’s model card and release table above for launch arguments.