π Tsinghua/Zhipu
Tsinghua/Zhipu
CogVLM2 19B
Current6.0KDownloads220LikesMay 2024Released8K tokensContextApache 2.0License78 StrongQuality
CogVLM2 19B (19B parameters) requires approximately 15.5 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 18 GB of VRAM.
Get started
β copy & paste to run locallyCopy-paste commands to run CogVLM2 19B on your machine.
Run
docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \
--hf-repo "THUDM/cogvlm2-llama3-chat-19B" \
--hf-file "cogvlm2-llama3-chat-19B-Q4_K_M.gguf" \
-c 4096 -ngl 99Quick specs
Parameters19B
Architecturedense
Context8K tokens
Modalitytext+vision
Min RAM7.4 GB
Rec. RAM11.6 GB (Q4_K_M)
LicenseApache 2.0
FamilyCogVLM
β Visionβ Chat
About this model
- β’Significant improvements in many benchmarks such as TextVQA, DocVQA
- β’Support 8K content length
- β’Support image resolution up to **1344 * 1344**
- β’Provide an open source model version that supports both Chinese and English
Your hardware
Detecting...
Quick picks
π Intel
π NVIDIA
Best budgetS
Intel Arc Pro B60 24GB~$599 β 23 tok/sBest overallS
NVIDIA A30 24GB~$5,500 β 68 tok/sBest hardware
Top picks for CogVLM2 19B
Run this model
Quantization options
VRAM estimates by quant level
No hardware detected β fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 7.4 GB | Low | β |
Q3_K_S | 3 | 9.3 GB | Low | β |
NVFP4 | 4 | 10.6 GB | Medium | β |
Q4_K_M | 4 | 11.6 GB | Medium | β |
Q5_K_M | 5 | 13.7 GB | High | β |
Q6_K | 6 | 15.6 GB | High | β |
Q8_0 | 8 | 20.3 GB | Very High | β |
F16 | 16 | 38.9 GB | Maximum | β |
Hardware compatibility
Fit estimates across all hardware
Computing compatibility...
Memory breakdown
Reference: RTX 2060 6GB
Weights11.6 GB
KV Cache2.4 GB
Runtime0.9 GB
Headroom0.6 GB
Frequently asked questions
FAQ β CogVLM2 19B
See also
