Downloads · 30 days
14
9% of all-time downloads
GizzmoShifu/glm-4-9b-chat-hf-fp8
glm-4-9b-chat-hf-fp8 is a text generation model from GizzmoShifu. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
This repository provides a quantised version of the GLM-4-9b-Chat-HF model.
Downloads · 30 days
14
9% of all-time downloads
All-time downloads
160
Public
Parameters
9.4B
10.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors10.6 GB · 100%
How the weights are stored.
F8_E4M38.2B · 87%
From the Hugging Face model README
This repository provides a quantised version of the GLM-4-9b-Chat-HF model.
This model is distributed under the glm-4-9b License.
This model was quantised to FP8_DYNAMIC (Dynamic 8-bit Floating Point) to optimize performance while maintaining chat capabilities.
llmcompressor library with a one-shot calibration process.ultrachat_200k and LongAlign-10k to ensure the model handles both short-form and long-form context effectively.This model is designed for runtimes compatible with the FP8_DYNAMIC format, such as vLLM.
An example docker-compose is as follows assuming the model is stored in /models/glm-4-9b-chat-hf-fp8:
services:
glm4-9b-fp8:
image: nvcr.io/nvidia/vllm:26.01-py3
container_name: glm4-9b-fp8
ipc: host
shm_size: "32gb"
ports:
- "8080:8080"
volumes:
- /models:/mnt/models:ro
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
command: >
python3 -m vllm.entrypoints.openai.api_server
--model /mnt/models/glm-4-9b-chat-hf-fp8
--served-model-name glm-4-9b-chat
--port 8080
--quantization compressed-tensors
--kv-cache-dtype fp8
--max-model-len 32768
--max-num-seqs 64
--gpu-memory-utilization 0.75
For questions regarding the original model license, contact [email protected].