Instructions to use NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF", filename="zai-org_GLM-4.5-Air-bf16-00001-of-00005.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16
Use Docker
docker model run hf.co/NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16
- LM Studio
- Jan
- Ollama
How to use NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF with Ollama:
ollama run hf.co/NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16
- Unsloth Studio
How to use NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF with Docker Model Runner:
docker model run hf.co/NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16
- Lemonade
How to use NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF:BF16
Run and chat with the model
lemonade run user.zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF-BF16
List all available models
lemonade list
The IQ4_XS_L quant is meant to be run with IK_Llama.cpp or the incoming EsoCroK.Cpp, because it uses a Q6_0 quant specific to IK_Llama.cpp
Here's EsoCrok, compatible with the llama.cpp mainline quants AND Q6_0
https://github.com/Nexesenex/croco.cpp/releases/tag/v1.97200_b6119_RMv1.14.9m
The usual Croco has not been updated (yet?) to support properly GLM 4.5 (or OpenAI GPT OSS)
- Downloads last month
- 24
4-bit
16-bit
Model tree for NexesQuants/zai-org_GLM-4.5-Air-bf16-iMat-IKL-CQ-GGUF
Base model
zai-org/GLM-4.5-Air