Image-Text-to-Text
MLX
Safetensors
qwen3_5
apple-silicon
agents
coding-agent
opencode
lora
conversational
6-bit
Instructions to use netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit 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("netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit") config = load_config("netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit") # 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 netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit 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 "netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit"
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 netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit"
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:8080/v1 \ --custom-model-id "netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Card: add 'Which build fits my Mac?'
Browse files
README.md
CHANGED
|
@@ -37,6 +37,24 @@ for the method, data and full results.
|
|
| 37 |
|
| 38 |
The 6-bit build is the recommended balance of size and fidelity; 8-bit is closest to bf16; 4-bit and 3-bit are for Macs with less memory (3-bit fits 24 GB Macs).
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
## Use with OpenCode
|
| 41 |
|
| 42 |
The adapter was trained and evaluated with **thinking off**, so keep it off. Serve the model with mlx-lm's
|
|
|
|
| 37 |
|
| 38 |
The 6-bit build is the recommended balance of size and fidelity; 8-bit is closest to bf16; 4-bit and 3-bit are for Macs with less memory (3-bit fits 24 GB Macs).
|
| 39 |
|
| 40 |
+
<!-- mac-picker:start -->
|
| 41 |
+
## Which build fits my Mac?
|
| 42 |
+
|
| 43 |
+
Each pick leaves room for macOS and a long prompt (the download is at most about 60% of your memory). Other models for your Mac: [which build fits my Mac?](https://huggingface.co/netprojects).
|
| 44 |
+
|
| 45 |
+
| Your Mac | MLX (mlx-lm, mlx-vlm, LM Studio MLX) | GGUF (llama.cpp, Ollama, LM Studio) |
|
| 46 |
+
|---|---|---|
|
| 47 |
+
| 16 GB ⚡ stretch | – | [IQ2_M](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-GGUF) (10.2 GB) |
|
| 48 |
+
| 24 GB | [3-bit](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-MLX-3bit) (13.8 GB) | [Q3_K_M](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-GGUF) (13.5 GB) |
|
| 49 |
+
| 32 GB | [4-bit](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-MLX-4bit) (16.3 GB) | [Q4_K_M](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-GGUF) (16.8 GB) |
|
| 50 |
+
| 48 GB | **[6-bit](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-MLX-6bit) (23.1 GB, recommended)** (this build) | [Q6_K](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-GGUF) (22.4 GB) |
|
| 51 |
+
| 64 GB and up | [8-bit](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-MLX-8bit) (30.0 GB) | [Q8_0](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-GGUF) (29.0 GB) |
|
| 52 |
+
| 128 GB, reference | [bf16](https://huggingface.co/netprojects/Qwen3.8-27B-opencode-adapted-MLX-bf16) (55.6 GB) | – |
|
| 53 |
+
|
| 54 |
+
⚡ *Stretch:* close other apps, keep prompts to a few thousand tokens, and let the GPU use more memory with `sudo sysctl iogpu.wired_limit_mb=12800` (lasts until restart).
|
| 55 |
+
|
| 56 |
+
<!-- mac-picker:end -->
|
| 57 |
+
|
| 58 |
## Use with OpenCode
|
| 59 |
|
| 60 |
The adapter was trained and evaluated with **thinking off**, so keep it off. Serve the model with mlx-lm's
|