chatglm needs about 4.4 GB of memory at its main file (a 3.5 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 2 quants, from 3.5 GB to 6.6 GB.
chatglm is a GLM model in GGUF format, quantized by xiaoshengzhuzhu. The repository has 2 quant files, from 3.5 GB to 6.6 GB.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 3.5 GB | 4.4 GB | Fits | Get file → | |
| — | 6.6 GB | 7.9 GB | Tight | Get file → |
What GPU do you need for chatglm?
These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: the best quant that fits is the main file (3.5 GB file, about 4.4 GB in use).
- 8 GB VRAM: the best quant that fits is the main file (6.6 GB file, about 7.9 GB in use).
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about chatglm
How much VRAM does chatglm need?
About 4.4 GB at its main file with an 8K context window. That is the 3.5 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run chatglm on an 8 GB GPU?
Yes, with the smaller files: the 6.6 GB file needs about 7.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of chatglm GGUF?
It depends on the quant: file is 3.5 GB, file is 6.6 GB.
Where can I download chatglm GGUF?
The files are on Hugging Face in the xiaoshengzhuzhu/chatglm repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.