Text Generation
Transformers
Safetensors
glm_moe_dsa
glm
glm-5.1
Mixture of Experts
quantized
fp8
float8
conversational
compressed-tensors
Instructions to use mconcat/GLM-5.1-FP8-Dynamic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mconcat/GLM-5.1-FP8-Dynamic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mconcat/GLM-5.1-FP8-Dynamic") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("mconcat/GLM-5.1-FP8-Dynamic") model = AutoModelForCausalLM.from_pretrained("mconcat/GLM-5.1-FP8-Dynamic", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mconcat/GLM-5.1-FP8-Dynamic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mconcat/GLM-5.1-FP8-Dynamic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mconcat/GLM-5.1-FP8-Dynamic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mconcat/GLM-5.1-FP8-Dynamic
- SGLang
How to use mconcat/GLM-5.1-FP8-Dynamic with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "mconcat/GLM-5.1-FP8-Dynamic" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mconcat/GLM-5.1-FP8-Dynamic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "mconcat/GLM-5.1-FP8-Dynamic" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mconcat/GLM-5.1-FP8-Dynamic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use mconcat/GLM-5.1-FP8-Dynamic with Docker Model Runner:
docker model run hf.co/mconcat/GLM-5.1-FP8-Dynamic
Commit History
-
Upload tokenizer_config.json with huggingface_hub
Verified signature3e613be -
Upload tokenizer.json with huggingface_hub
Verified signature7fefe69 -
Upload norm.safetensors with huggingface_hub
Verified signature1088fa8 -
Upload model.safetensors.index.json with huggingface_hub
Verified signature6e1d144 -
Upload lm_head.safetensors with huggingface_hub
Verified signature36330e4 -
Upload layer.077.safetensors with huggingface_hub
Verified signature4df657b -
Upload layer.076.safetensors with huggingface_hub
Verified signature40b24e5 -
Upload layer.075.safetensors with huggingface_hub
Verified signature8219846 -
Upload layer.074.safetensors with huggingface_hub
Verified signaturef385bcf -
Upload layer.073.safetensors with huggingface_hub
Verified signaturedd3b8ed -
Upload layer.072.safetensors with huggingface_hub
Verified signature5a8ea61 -
Upload layer.071.safetensors with huggingface_hub
Verified signature5afc7f6 -
Upload layer.070.safetensors with huggingface_hub
Verified signature405efda -
Upload layer.069.safetensors with huggingface_hub
Verified signature24a085e -
Upload layer.068.safetensors with huggingface_hub
Verified signatured9e6ddb -
Upload layer.067.safetensors with huggingface_hub
Verified signature56cc5c5 -
Upload layer.066.safetensors with huggingface_hub
Verified signature54cd566 -
Upload layer.065.safetensors with huggingface_hub
Verified signature9df8b00 -
Upload layer.064.safetensors with huggingface_hub
Verified signatureac9581a -
Upload layer.063.safetensors with huggingface_hub
Verified signature347ea36 -
Upload layer.062.safetensors with huggingface_hub
Verified signature2828d95 -
Upload layer.061.safetensors with huggingface_hub
Verified signature9fda337 -
Upload layer.060.safetensors with huggingface_hub
Verified signatureb400e47 -
Upload layer.059.safetensors with huggingface_hub
Verified signature1956b5c -
Upload layer.058.safetensors with huggingface_hub
Verified signaturedb88aa9 -
Upload layer.057.safetensors with huggingface_hub
Verified signature1d8b648 -
Upload layer.056.safetensors with huggingface_hub
Verified signature31bcdc5 -
Upload layer.055.safetensors with huggingface_hub
Verified signature00d09aa -
Upload layer.054.safetensors with huggingface_hub
Verified signaturefcc69e4 -
Upload layer.053.safetensors with huggingface_hub
Verified signature8428efb -
Upload layer.052.safetensors with huggingface_hub
Verified signature93856ec -
Upload layer.051.safetensors with huggingface_hub
Verified signaturef02de43 -
Upload layer.050.safetensors with huggingface_hub
Verified signaturec0dd8ae -
Upload layer.049.safetensors with huggingface_hub
Verified signaturef5fa994 -
Upload layer.048.safetensors with huggingface_hub
Verified signature799af87 -
Upload layer.047.safetensors with huggingface_hub
Verified signaturedbbe2ee -
Upload layer.046.safetensors with huggingface_hub
Verified signature7e59584 -
Upload layer.045.safetensors with huggingface_hub
Verified signatureddf9123 -
Upload layer.044.safetensors with huggingface_hub
Verified signaturef2a3848 -
Upload layer.043.safetensors with huggingface_hub
Verified signature0fd02b8 -
Upload layer.042.safetensors with huggingface_hub
Verified signaturebaa218b -
Upload layer.041.safetensors with huggingface_hub
Verified signature1eeb772 -
Upload layer.040.safetensors with huggingface_hub
Verified signature0f3a721 -
Upload layer.039.safetensors with huggingface_hub
Verified signature3c6fdb3 -
Upload layer.038.safetensors with huggingface_hub
Verified signatureda41a90 -
Upload layer.037.safetensors with huggingface_hub
Verified signature362ea8c -
Upload layer.036.safetensors with huggingface_hub
Verified signaturedc683e1 -
Upload layer.035.safetensors with huggingface_hub
Verified signature66c323b -
Upload layer.034.safetensors with huggingface_hub
Verified signaturebda906e -
Upload layer.033.safetensors with huggingface_hub
Verified signature2af6ba4