Qwen3.8-27B-opencode-adapted (MLX)
an optimized model for Apple Silicon
2 min readupdated
Built on the Qwen3.8-27B base model and fine-tuned with the AsyncGRPO algorithm, this build is tailored for the OpenCode coding agent. Converted to the MLX format for Apple Silicon, it retains image input support and includes a built-in Multi-Token Prediction (MTP) layer for faster generation. It excels at software engineering, terminal tasks, and technical documentation, making it a strong local option for developers and engineers automating their coding workflows.
Key features
- Fine-tuned by harness-hub specifically for software engineering and terminal workflows.
- Full hardware acceleration on Apple Silicon chips via the MLX library.
- Retained vision encoder supporting image-text-to-text prompts.
- Built-in MTP (Multi-Token Prediction) layer for faster text decoding.
What you can do
- Spin up a local OpenAI-compatible server via mlx-lm to integrate with coding agents.
- Write a Python script to generate code and troubleshoot technical tasks directly on a Mac.
- Analyze terminal or UI error screenshots using mlx-vlm.
- Configure speculative decoding with the built-in MTP module to boost generation speed.
Example
Launch a local server to run the model from the terminal:
pip install -U "mlx-lm>=0.32.2"
mlx_lm.server --model netprojects/Qwen3.8-27B-opencode-adapted-MLX-bf16 --port 8000 \
--chat-template-args '{"enable_thinking": false}'Read more
DetailsModel size (original bf16): 55.6 GB (4-bit, 6-bit, and 8-bit quantized versions are also available).
Benchmark scores (on the original adapter): SWE-bench Pro (hard 51) jumped from 35.3% to 51.0%, and Terminal-Bench 2.1 went from 46.4% to 52.4%.
License: Apache-2.0.










Comments