Qwen2.5-Coder-1.5B-Instruct โ€” GGUF Q8_0 (verified)

A Q8_0 GGUF quantization of Qwen/Qwen2.5-Coder-1.5B-Instruct, made with convert_hf_to_gguf.py --outtype q8_0, plus the measurement that motivated publishing it: on our frozen benchmark it ran 1.85x faster than the F16 file with no item-level regressions.

This is not a fine-tune. No weights were trained or modified for this release โ€” see Not a fine-tune below.

Files

file size sha256
qwen2.5-coder-1.5b-instruct-Q8_0.gguf 1,646,572,800 B (1.53 GiB) 5ef260aa72c9692d664982923dd66ee8d91e7ba325099967ff8cfa496976d1ce

The F16 reference file this was compared against is 3,093,669,120 B, so the quantization is 46.78% smaller.

Provenance

  • Base: Qwen/Qwen2.5-Coder-1.5B-Instruct, revision 2e1fd397ee46e1388853d2af2c993145b0f1098a
  • Base license: Apache-2.0 (from the upstream model metadata)
  • Conversion: convert_hf_to_gguf.py --outtype q8_0, no fusing, no adapter merge, no vocabulary or chat-template change
  • Chat template: byte-identical to the base (2507 characters), so prompts render exactly as upstream intends

Measured behaviour

Two arms of the same base model โ€” F16 and this Q8_0 file โ€” decoded with identical settings (greedy, temperature=0, seed=42, 8 threads, context 4096) on a frozen 20-item code benchmark.

arm items checks median tok/s file size
F16 12/20 47/60 12.60 2.88 GiB
Q8_0 (this file) 12/20 49/60 23.28 1.53 GiB
  • 0 of 20 item outcomes differ; the check difference is one item improving (set-matrix-zeroes 0/3 โ†’ 2/3). No item or check regressed.
  • 1.85x median decode throughput, 38% less wall time for the same items.
  • A separate 18-item screening run agreed: 13/18 both arms, 74.3% of checks both, 22.73 vs 12.50 tok/s.

Caveats, stated plainly: these are our own measurements on a small self-built benchmark, not upstream or third-party evaluations; throughput is hardware- and load-dependent (we measured up to 18% run-to-run spread with identical output on the same machine); and greedy decoding was verified byte-reproducible across processes, which is why the identical-outcome claim is meaningful.

Not a fine-tune

Fine-tuned adapters produced during the same work are not included here. They were evaluated against the same benchmark and did not beat the untrained model (one reached 12/20 against a 16/20 bar; another moved 13/20 while losing a check), so they were discarded rather than published. This release is a quantization of the upstream weights and nothing else.

Usage

# llama.cpp
llama-cli -m qwen2.5-coder-1.5b-instruct-Q8_0.gguf \
  -p "Write a JavaScript function named add that returns a+b. Reply with code only."
# llama-cpp-python
from llama_cpp import Llama
llm = Llama(model_path="qwen2.5-coder-1.5b-instruct-Q8_0.gguf", n_ctx=4096, n_threads=8)
print(llm.create_chat_completion(
    messages=[{"role": "user", "content": "Write a JavaScript function named add. Reply with code only."}],
    temperature=0,
)["choices"][0]["message"]["content"])

Limitations

  • Inherits every limitation and bias of the upstream base model.
  • Q8_0 is 8-bit; expect small numerical differences from F16 that did not change any measured outcome here but are not guaranteed absent on other inputs.
  • Trained context is 32,768 tokens; the measurements above used 4096.
  • Not evaluated for safety, and not intended for high-stakes use.

Attribution

Base model ยฉ Alibaba Cloud / Qwen team, licensed Apache-2.0. This repository contains a quantized derivative only; it is not affiliated with or endorsed by the Qwen team. The Apache-2.0 license text is included in LICENSE.

Downloads last month
174
GGUF
Model size
2B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

8-bit

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

Model tree for AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0

Quantized
(213)
this model