GL

Glm Edge V 2b

GLMGGUF by zai-orgUpdated 2024-11-28
Download on Hugging Face
Parameters1.59B
Context2K
Layers28
Architecturechatglm
Smallest quant0.9 GB
Quick answer

Glm Edge V 2b needs about 2.0 GB of memory at Q4_K_M (a 1.0 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 13 quants, from 0.9 GB (Q4_0) to 3.2 GB (F16).

Glm Edge V 2b – a 1.59B parameter chat model with vision support

Glm Edge V 2b is a 1.59B parameter chat model based on the chatglm architecture. It supports vision tasks and can be run with various GGUF quantizations. The model is available under an other license.

Good at

  • Vision‑enabled chat
  • Compact quantizations
  • Chatglm architecture

Limits

  • No vision support on non‑vision hardware
  • License not public domain
  • Context limited to 2048 tokens

Best for

  • Chat applications with image input
  • Lightweight inference on edge devices
  • Rapid prototyping of vision‑chat models

Who it’s for. Developers needing a small, vision‑capable chat model for edge deployment. The model is suitable for projects that require image‑based dialogue but have limited GPU memory.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_00.9 GB 1.5 GB
Fits Get file →
Q4_K_S0.9 GB 1.6 GB
Fits Get file →
Q4_K1.0 GB 1.6 GB
Fits Get file →
Q4_K_M1.0 GB 1.6 GB
Fits Get file →
Q4_11.0 GB 1.6 GB
Fits Get file →
Q5_01.1 GB 1.7 GB
Fits Get file →
Q5_K_S1.1 GB 1.7 GB
Fits Get file →
Q5_K1.1 GB 1.8 GB
Fits Get file →
Q5_K_M1.1 GB 1.8 GB
Fits Get file →
Q5_11.2 GB 1.8 GB
Fits Get file →
Q6_K1.3 GB 1.9 GB
Fits Get file →
Q8_01.7 GB 2.3 GB
Fits Get file →
F163.2 GB 3.8 GB
Fits Get file →

For 8 GB VRAM, use Q4_0 or Q4_K_S (0.93 GB or 0.94 GB). For 12 GB VRAM, Q5_0 or Q5_K (1.21 GB or 1.14 GB) are suitable. For 16 GB VRAM, Q6_K (1.31 GB) or Q8_0 (1.7 GB) can be used. Estimates are approximate.

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

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 Q8_0 (1.7 GB file, about 2.7 GB in use).
  • 6 GB VRAM: the best quant that fits is F16 (3.2 GB file, about 4.2 GB in use).

Which Glm Edge V 2b quant should you choose?

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

The Q8_0 file is 1.7 GB, about 1.7 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 0.9 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
Parameters1.59B
Layers28
Trained context2,048 tokens
KV cache (fp16)56 KB per token

Source

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

Frequently asked questions about Glm Edge V 2b

How much VRAM does Glm Edge V 2b need?

About 2.0 GB at Q4_K_M with an 8K context window. That is the 1.0 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 2b on an 8 GB GPU?

Yes, with F16: the 3.2 GB file needs about 4.2 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

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

It depends on the quant: Q4_0 is 0.9 GB, Q4_K_S is 0.9 GB, Q4_K is 1.0 GB, Q4_K_M is 1.0 GB, Q4_1 is 1.0 GB, Q5_0 is 1.1 GB and 7 more.

What context length does Glm Edge V 2b support?

The GGUF header lists a trained context length of 2,048 tokens (2K). The KV cache grows with the context you use: about 0.5 GB at 8K and 0.1 GB at 2K.

Where can I download Glm Edge V 2b GGUF?

The files are on Hugging Face in the zai-org/glm-edge-v-2b-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 2b 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 2b on 8 GB VRAM?

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

Does the model support image input?

Yes, the model has vision capabilities as detected by the repository.

What is the maximum context length?

The model supports 2048 tokens of context.

Similar models

Browse all →

More from zai-org

All by zai-org →

More GLM models

All GLM →

Other tiny models

All tiny models →