How to use from
Pi
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "npario/Swift-Qwen3.8-27B-MLX-4bit"
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": "npario/Swift-Qwen3.8-27B-MLX-4bit"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Swift-Qwen3.8-27B-MLX-4bit

MLX 4bit (affine, group size 32) quantized variant of ukisai/Swift-Qwen3.8-27b (text tower quantized; vision tower and projector retained in BF16) for Apple silicon via mlx-lm.

Provenance

  • Source: ukisai/Swift-Qwen3.8-27b @ revision 048328f4059015b63f860a453bf94834af0db683 (Swift Open License v1.0 for the UkisAI contribution + Apache-2.0 for the Qwen base (upstream LICENSE, LICENSE-APACHE-2.0, NOTICE)).
  • Quantized with mlx_lm.convert (mlx-lm 0.31.3): affine, 4-bit, group size 32.

Smoke gate

Before upload this pack passed a deterministic coherence gate: greedy 48-token chat generation loaded through mlx_lm.load, judged for emptiness, repetition loops, multi-script gibberish, and special-token debris. Verdict: ok.

Usage

pip install mlx-lm
mlx_lm.generate --model majentik/Swift-Qwen3.8-27B-MLX-4bit --prompt "Hello"

Evaluation

Coherence smoke gate only at publish time (see Smoke gate above). Per-tier gate records live in majentik/garden-quant-bench; perplexity / benchmark rows are added here when measured.

License

This pack is a quantized (Object-form) redistribution of ukisai/Swift-Qwen3.8-27b and inherits its dual licensing unchanged:

  • the Qwen/Qwen3.8-27B base weights remain under Apache-2.0 (LICENSE-APACHE-2.0);
  • the UkisAI Swift contribution (finetune) is under the Swift Open License v1.0 (LICENSE), which is free for research and commercial use by organisations with up to US$1M gross annual revenue; larger organisations need a Swift Enterprise License from UkisAI.

LICENSE, LICENSE-APACHE-2.0 and NOTICE are shipped verbatim in this repository as required by Section 4 (Redistribution) of the Swift Open License. The only change from upstream is the MLX quantization described above.

Available tiers

Downloads last month
140
Safetensors
Model size
27B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for npario/Swift-Qwen3.8-27B-MLX-4bit

Base model

Qwen/Qwen3.8-27B
Quantized
(55)
this model