LLMs ·

Qwen2 1.5B Instruct

Parameters
1.5B
Architecture
Dense
Max context
32K tokens
License
apache-2.0
Released
2024-06

How to run it

Quickest · Ollama

One command downloads a ready-to-run version and starts a chat.

ollama run qwen2:1.5b

Get Ollama at ollama.com/download (opens in a new tab) · model page (opens in a new tab)

Quantized files · GGUF

Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.

huggingface.co/Qwen/Qwen2-1.5B-Instruct-GGUF (opens in a new tab)

ollama run hf.co/Qwen/Qwen2-1.5B-Instruct-GGUF

Original weights · Hugging Face

Full-precision files from Alibaba, for fine-tuning, vLLM, Transformers.

huggingface.co/Qwen/Qwen2-1.5B-Instruct (opens in a new tab)

No sign-in needed.

Memory needed

Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps.

Quantization Quality Weights Total at 8K context Total at 32K context Download
Q2_K Low 0.6 GB 1.5 GB 2.2 GB GGUF (opens in a new tab)
Q3_K_M Low 0.8 GB 1.6 GB 2.3 GB GGUF (opens in a new tab)
Q4_K_M Good 0.9 GB 1.8 GB 2.5 GB GGUF (opens in a new tab)
Q5_K_M High 1.1 GB 1.9 GB 2.6 GB GGUF (opens in a new tab)
Q6_K High 1.3 GB 2.1 GB 2.8 GB GGUF (opens in a new tab)
Q8_0 Very high 1.6 GB 2.5 GB 3.2 GB GGUF (opens in a new tab)
F16 Full 3.1 GB 3.9 GB 4.6 GB GGUF (opens in a new tab) Original weights (opens in a new tab)

Best hardware for Qwen2 1.5B Instruct

The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at Q8_0.

Grade · points Hardware Quant Memory Speed Fit
59 ptsGood (B) · 59 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 12.4/15 NVIDIA GeForce RTX 4060 F16 4.3 GB / 8.0 GB 50.9 tok/s Runs well
55 ptsUsable (C) · 55 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 8.7/15 Intel Arc B580 F16 4.5 GB / 12.0 GB 65.1 tok/s Runs well
55 ptsUsable (C) · 55 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 8.7/15 NVIDIA GeForce RTX 3060 12GB F16 4.5 GB / 12.0 GB 67.3 tok/s Runs well
55 ptsUsable (C) · 55 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 8.7/15 NVIDIA GeForce RTX 4070 SUPER F16 4.5 GB / 12.0 GB 94.3 tok/s Runs well
54 ptsUsable (C) · 54 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 7.5/15 Apple M4 Pro (24 GB) F16 5.2 GB / 16.1 GB 44.0 tok/s Runs well
54 ptsUsable (C) · 54 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 7.2/15 Apple M4 (16 GB) Q8_0 3.3 GB / 10.7 GB 41.9 tok/s Runs well
54 ptsUsable (C) · 54 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 6.8/15 AMD Radeon RX 9070 XT F16 4.7 GB / 16.0 GB 103 tok/s Runs well
54 ptsUsable (C) · 54 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 6.8/15 NVIDIA GeForce RTX 4060 Ti 16GB F16 4.7 GB / 16.0 GB 53.9 tok/s Runs well
54 ptsUsable (C) · 54 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 6.8/15 NVIDIA GeForce RTX 4070 Ti SUPER F16 4.7 GB / 16.0 GB 126 tok/s Runs well
54 ptsUsable (C) · 54 of 100 points: Model quality 7.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 6.8/15 NVIDIA GeForce RTX 4080 SUPER F16 4.7 GB / 16.0 GB 138 tok/s Runs well

Check it on your own hardware

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.