Qwen3-8B-Q5_K_M

Qwen3-8B in Q5_K_M GGUF format for CPU/GPU inference with llama.cpp or llama-cpp-python.

Usage

py -3.11 -m pip install llama-cpp-python transformers
from llama_cpp import Llama
from transformers import AutoTokenizer

llm = Llama(model_path="Qwen3-8B-Q5_K_M.gguf", n_ctx=8192)
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-8B")

messages = [{"role": "user", "content": "Hello!"}]
prompt = tokenizer.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
out = llm(prompt, max_tokens=256, stop=[tokenizer.eos_token])
print(out["choices"][0]["text"])
Downloads last month
8
GGUF
Model size
8B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Mukilan06/Qwen3-8B-Q5_K_M

Finetuned
Qwen/Qwen3-8B
Quantized
(352)
this model