Instructions to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0 # Run inference directly in the terminal: llama cli -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0 # Run inference directly in the terminal: llama cli -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
Use Docker
docker model run hf.co/AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
- Ollama
How to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with Ollama:
ollama run hf.co/AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
- Unsloth Desktop
- Pi
How to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with Docker Model Runner:
docker model run hf.co/AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
- Lemonade
How to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
Run and chat with the model
lemonade run user.qwen2.5-coder-1.5b-instruct-Q8_0-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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, revision2e1fd397ee46e1388853d2af2c993145b0f1098a - 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-zeroes0/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
8-bit
Model tree for AegeanWorks/qwen2.5-coder-1.5b-instruct-Q8_0
Base model
Qwen/Qwen2.5-1.5B