Instructions to use Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF 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 Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF 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 Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
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 Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
- Ollama
How to use Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF with Ollama:
ollama run hf.co/Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
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": "Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF with Docker Model Runner:
docker model run hf.co/Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
- Lemonade
How to use Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
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 Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M
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 "Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF:Q4_K_M" \ --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 0.5B Instruct for Intel Mac code edits
This package pairs Qwen's official Q4_K_M GGUF with a ToshLLM launch profile for a 2019 Intel MacBook Pro with Radeon graphics. The GGUF is byte-for-byte identical to Qwen's release. The speedup comes entirely from inference settings. The model weights received no additional training. Upstream GGUF
Measured performance
The test ran on a Core i9-9880H with 16 GB of RAM, a Radeon Pro 560X with 4 GB of VRAM, and macOS Ventura 13.6.5. Both configurations used the same AVX2 engine, three CPU threads, full GPU offload and the same model. Prompt lookup reuses matching token sequences in the input and lets the model verify the proposed continuation. Files or functions that need only a small edit can contain long reusable sequences.
| Workload | Baseline output | Prompt lookup output | Median time per request |
|---|---|---|---|
| Rename a function in supplied code | 59.89 tokens/s | 89.50 tokens/s | 3.185 โ 2.408 s |
| Write a new explanation | 60.08 tokens/s | 60.07 tokens/s | 4.496 โ 4.497 s |
On the rename, the output rate rose 49% and the whole request took 24% less time. All eight measured rename responses returned the same 141 output tokens and passed the functional checks. The four lookup responses accepted 448 of 512 proposed tokens in total. The fresh explanation produced zero draft proposals. The benchmark ran four timed requests per setting per workload on one laptop. Raw measurements ยท Benchmark harness
Run locally
Install the ToshLLM v0.88.0 Intel engine and build the AVX2 version using the GitHub project's build instructions. The tested build expects a compatible Intel CPU and an AMD Radeon available as Metal device MTL0. Build instructions
Download qwen2.5-coder-0.5b-instruct-q4_k_m.gguf and run-intel-mac.sh from this repository into the same folder. Start the server from that folder.
sh ./run-intel-mac.sh
Open the local chat, paste a complete function, and ask for a small change. The launcher uses a 2,048-token context, equal batch and microbatch sizes of 32, and a 16-token maximum draft and lookup continuation. Press Control-C in the terminal to stop the server. If you installed the engine elsewhere, point to the directory containing bin/llama-server and web-ui.
TOSH_AVX2_ENGINE="/path/to/engine" sh ./run-intel-mac.sh
Model provenance
The GGUF is 491,400,064 bytes. Its SHA-256 is 1d9614638d18024d0fbb36575a15f1302a3adf044df10345688ec4f6e1c4ff32. The upstream revision is ebb2015119c907b064c512bf053e945850b5875f. Qwen distributes these weights under Apache License 2.0. License ยท Original model card ยท Upstream GGUF release
- Downloads last month
- 83
4-bit
Model tree for Parth1612/Qwen2.5-Coder-0.5B-Instruct-Intel-Mac-GGUF
Base model
Qwen/Qwen2.5-0.5B