Instructions to use netprojects/DaisyRose-27B-LayerFit-MLX-3bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/DaisyRose-27B-LayerFit-MLX-3bit 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/DaisyRose-27B-LayerFit-MLX-3bit") config = load_config("netprojects/DaisyRose-27B-LayerFit-MLX-3bit") # 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/DaisyRose-27B-LayerFit-MLX-3bit 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/DaisyRose-27B-LayerFit-MLX-3bit"
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/DaisyRose-27B-LayerFit-MLX-3bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use netprojects/DaisyRose-27B-LayerFit-MLX-3bit 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/DaisyRose-27B-LayerFit-MLX-3bit"
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/DaisyRose-27B-LayerFit-MLX-3bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/DaisyRose-27B-LayerFit-MLX-3bit 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/DaisyRose-27B-LayerFit-MLX-3bit"
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/DaisyRose-27B-LayerFit-MLX-3bit" \ --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"
Write LayerFit consistently
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ tags:
|
|
| 12 |
- 3bit
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# DaisyRose-27B LayerFit
|
| 16 |
|
| 17 |
[RadixArk/DaisyRose-27B](https://huggingface.co/RadixArk/DaisyRose-27B) (RadixArk's agentic RL tune of Qwen3.8-27B) for Apple Silicon, built with **LayerFit™**: a per-layer search that spends the bits where the model needs them most. 13.1 GB on disk, for 24 GB Macs. Standard MLX format, so stock mlx-lm, mlx-vlm and LM Studio load it. Vision tower kept (bf16). Bundles Qwen3.8-27B's multi-token prediction (MTP) head at 8-bit for faster decoding.
|
| 18 |
|
|
@@ -32,16 +32,16 @@ Each pick leaves room for macOS and a long prompt (the download is at most about
|
|
| 32 |
|
| 33 |
<!-- mac-picker:end -->
|
| 34 |
|
| 35 |
-
## LayerFit
|
| 36 |
|
| 37 |
-
A standard quant gives every layer the same bits. LayerFit
|
| 38 |
|
| 39 |
| Same size, same test | Top-1 agreement with bf16 | Error (KL) |
|
| 40 |
|---|---|---|
|
| 41 |
| Standard 3-bit (same bits in every layer) | 84.5% | 0.1500 |
|
| 42 |
-
| **LayerFit
|
| 43 |
|
| 44 |
-
Our harness: language-model weights only, against our bf16 build of RadixArk/DaisyRose-27B; passages in English, other languages, code, tool calls and math. The bit recipe is the one LayerFit
|
| 45 |
|
| 46 |
## This build
|
| 47 |
|
|
|
|
| 12 |
- 3bit
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# DaisyRose-27B LayerFit MLX 3-bit
|
| 16 |
|
| 17 |
[RadixArk/DaisyRose-27B](https://huggingface.co/RadixArk/DaisyRose-27B) (RadixArk's agentic RL tune of Qwen3.8-27B) for Apple Silicon, built with **LayerFit™**: a per-layer search that spends the bits where the model needs them most. 13.1 GB on disk, for 24 GB Macs. Standard MLX format, so stock mlx-lm, mlx-vlm and LM Studio load it. Vision tower kept (bf16). Bundles Qwen3.8-27B's multi-token prediction (MTP) head at 8-bit for faster decoding.
|
| 18 |
|
|
|
|
| 32 |
|
| 33 |
<!-- mac-picker:end -->
|
| 34 |
|
| 35 |
+
## LayerFit: same size, closer to the original
|
| 36 |
|
| 37 |
+
A standard quant gives every layer the same bits. LayerFit measures how much each part of the model suffers at low bits (every layer's MLP, attention and linear-attention blocks, plus the embeddings and output head), then fills the same size budget where it helps most:
|
| 38 |
|
| 39 |
| Same size, same test | Top-1 agreement with bf16 | Error (KL) |
|
| 40 |
|---|---|---|
|
| 41 |
| Standard 3-bit (same bits in every layer) | 84.5% | 0.1500 |
|
| 42 |
+
| **LayerFit 3-bit** | **88.8%** | **0.0922 (39% lower)** |
|
| 43 |
|
| 44 |
+
Our harness: language-model weights only, against our bf16 build of RadixArk/DaisyRose-27B; passages in English, other languages, code, tool calls and math. The bit recipe is the one LayerFit found for the Qwen3.8-27B base, re-checked on this model. The exact recipe is in `layerfit-recipe.json`.
|
| 45 |
|
| 46 |
## This build
|
| 47 |
|