Image-Text-to-Text
MLX
Safetensors
English
qwen3_5
vision-language
quantized
coder
conversational
8-bit precision
Instructions to use chaddy81/Qwen3.6-27b-coder-8bit-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use chaddy81/Qwen3.6-27b-coder-8bit-mlx with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("chaddy81/Qwen3.6-27b-coder-8bit-mlx") config = load_config("chaddy81/Qwen3.6-27b-coder-8bit-mlx") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use chaddy81/Qwen3.6-27b-coder-8bit-mlx with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "chaddy81/Qwen3.6-27b-coder-8bit-mlx"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "chaddy81/Qwen3.6-27b-coder-8bit-mlx" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use chaddy81/Qwen3.6-27b-coder-8bit-mlx with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "chaddy81/Qwen3.6-27b-coder-8bit-mlx"
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:8080/v1 hermes config set model.default chaddy81/Qwen3.6-27b-coder-8bit-mlx
Run Hermes
hermes
chaddy81/Qwen3.6-27b-coder-8bit-mlx
This is a 8-bit quantized MLX conversion of chaddy81/Qwen3.6-27b-coder, for fast local inference on Apple Silicon.
Details
- Base model: chaddy81/Qwen3.6-27b-coder
- Architecture:
Qwen3_5ForConditionalGeneration(qwen3_5) — vision-language model (text + image + video) - Text backbone: 64 layers, hidden 5120, 24 attention heads / 4 KV heads (GQA), vocab 248320, context length 262144 (256K)
- Vision tower: 27 layers, hidden 1152
- Quantization: 8-bit, 8.501 bits-per-weight (MLX affine), group size 64
- Files: 6 safetensors shards, ~27 GB
- Converted with:
mlx_lm0.31.1, source dtype bfloat16
Usage
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("chaddy81/Qwen3.6-27b-coder-8bit-mlx")
prompt = "Write a Python function that returns the nth Fibonacci number."
messages = [{"role": "user", "content": prompt}]
text = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tokenizer, prompt=text, max_tokens=512, verbose=True))
Or from the CLI:
mlx_lm.generate --model chaddy81/Qwen3.6-27b-coder-8bit-mlx --prompt "Explain async/await in Python."
Quantization variants
| Variant | bits-per-weight | Size | Repo |
|---|---|---|---|
| 8-bit | 8.5 | ~27 GB | chaddy81/Qwen3.6-27b-coder-8bit-mlx |
| 6-bit | 6.5 | ~20 GB | chaddy81/Qwen3.6-27b-coder-6bit-mlx |
| 4-bit | 4.5 | ~14 GB | chaddy81/Qwen3.6-27b-coder-4bit-mlx |
Notes
- Conversion emitted a tokenizer regex warning referencing a Mistral discussion; this is a generic
tokenizersnotice and does not affect the Qwen3.5 architecture or quantized weights. If you observe unexpected tokenization, load the tokenizer withfix_mistral_regex=True. - License inherited from the base model; refer to chaddy81/Qwen3.6-27b-coder.
- Downloads last month
- 305
Model size
27B params
Tensor type
BF16
·
U32 ·
Hardware compatibility
Log In to add your hardware
8-bit
Model tree for chaddy81/Qwen3.6-27b-coder-8bit-mlx
Base model
chaddy81/Qwen3.6-27b-coder