GL

Glm Edge V 5b

GLMGGUF by zai-orgUpdated 2024-11-28
Download on Hugging Face
Parameters4.33B
Context3K
Layers40
Architecturechatglm
Smallest quant2.5 GB
Quick answer

Glm Edge V 5b needs about 4.1 GB of memory at Q4_K_M (a 2.6 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 13 quants, from 2.5 GB (Q4_0) to 8.7 GB (F16).

Glm Edge V 5b – 4.33B parameter chat model with vision support

Glm Edge V 5b is a 4.33B parameter chat model based on the chatglm architecture. It supports vision tasks and is available in multiple GGUF quantizations. The model was trained on a context of 3072 tokens.

Good at

  • Chatting in multiple languages
  • Vision‑enabled queries
  • Lightweight inference with low‑bit quantization

Limits

  • No vision support in all‑float quantizations
  • Requires 8k context for memory estimates
  • License is other, not open source

Best for

  • Embedded chat assistants
  • Image captioning on edge devices
  • Rapid prototyping of vision‑enabled LLMs

Who it’s for. Developers building lightweight chat or vision applications who need a small‑to‑medium sized model. The model is suitable for environments with limited GPU memory but sufficient for 8k context inference.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_02.5 GB 3.4 GB
Fits Get file →
Q4_K_S2.5 GB 3.4 GB
Fits Get file →
Q4_K2.6 GB 3.5 GB
Fits Get file →
Q4_K_M2.6 GB 3.5 GB
Fits Get file →
Q4_12.7 GB 3.6 GB
Fits Get file →
Q5_03.0 GB 3.9 GB
Fits Get file →
Q5_K_S3.0 GB 3.9 GB
Fits Get file →
Q5_K3.1 GB 4.0 GB
Fits Get file →
Q5_K_M3.1 GB 4.0 GB
Fits Get file →
Q5_13.3 GB 4.1 GB
Fits Get file →
Q6_K3.6 GB 4.4 GB
Fits Get file →
Q8_04.6 GB 5.5 GB
Fits Get file →
F168.7 GB 9.5 GB
Too big Get file →

For 8 GB VRAM, use Q4_0 or Q4_K_S (file size 2.49 GB, memory 4 GB). For 12 GB VRAM, Q5_K_M (3.08 GB, 4.6 GB memory) is a good balance. If more memory is available, Q8_0 (4.6 GB, 6.1 GB memory) provides higher precision.

What GPU do you need for Glm Edge V 5b?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) 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: the best quant that fits is Q4_K_S (2.5 GB file, about 4.0 GB in use).
  • 6 GB VRAM: the best quant that fits is Q6_K (3.6 GB file, about 5.1 GB in use).
  • 8 GB VRAM: the best quant that fits is Q8_0 (4.6 GB file, about 6.1 GB in use).
  • 12 GB VRAM: the best quant that fits is F16 (8.7 GB file, about 10.2 GB in use).

Which Glm Edge V 5b quant should you choose?

Q4_K_M is the usual starting point for Glm Edge V 5b: it balances file size and quality well. Here it is a 2.6 GB file.

The Q8_0 file is 4.6 GB, about 1.8 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is Q4_0 at 2.5 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturechatglm
Parameters4.33B
Layers40
Trained context3,072 tokens
KV cache (fp16)120 KB per token

Source

Quantized byzai-org
FamilyGLM
Licenseother
Downloads (HF)944
Last updated2024-11-28

Frequently asked questions about Glm Edge V 5b

How much VRAM does Glm Edge V 5b need?

About 4.1 GB at Q4_K_M with an 8K context window. That is the 2.6 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 Glm Edge V 5b on an 8 GB GPU?

Yes, with Q8_0: the 4.6 GB file needs about 6.1 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Glm Edge V 5b GGUF?

It depends on the quant: Q4_0 is 2.5 GB, Q4_K_S is 2.5 GB, Q4_K is 2.6 GB, Q4_K_M is 2.6 GB, Q4_1 is 2.7 GB, Q5_0 is 3.0 GB and 7 more.

What context length does Glm Edge V 5b support?

The GGUF header lists a trained context length of 3,072 tokens (3K). The KV cache grows with the context you use: about 1.0 GB at 8K and 0.4 GB at 3K.

Where can I download Glm Edge V 5b GGUF?

The files are on Hugging Face in the zai-org/glm-edge-v-5b-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Glm Edge V 5b use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run Glm Edge V 5b on 8 GB VRAM?

Yes, using Q4_0 or Q4_K_S quantizations which require about 4 GB of VRAM at 8k context.

Does the model support vision tasks?

Yes, the model has detected vision abilities and can process image inputs.

What is the context length of the model?

The model was trained with a context of 3072 tokens.

Similar models

Browse all →

More from zai-org

All by zai-org →

More GLM models

All GLM →

Other small models

All small models →