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 "abenzerps/K2-Horizon-MoVA-36B-A4B-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": "abenzerps/K2-Horizon-MoVA-36B-A4B-MLX-4bit"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

K2-Horizon-MoVA-36B-A4B MLX-4bit

MLX 4-bit conversion of IFM/K2-Horizon-MoVA-36B-A4B, a sparse Mixture-of-Experts model with Mixture-of-Values attention (MoVA), 36B total parameters, and approximately 4B active parameters per token. The source checkpoint supports a native context length of 524,288 tokens (512K).

Benchmarks

K2-Horizon-MoVA-36B-A4B benchmark results

Benchmark results reported by IFM for the original K2-Horizon-MoVA-36B-A4B checkpoint.

Release

Format Quantization Size
MLX safetensors Affine 4-bit, group size 64 21.07 GB

The MoE and MoVA router weights remain at 8-bit; other eligible weights use affine 4-bit quantization. This is a text-only release; no vision projector is required. The repository includes a source-compatible chat_template.jinja, the custom MLX model implementation required by this architecture, and SHA256SUMS.

Usage

pip install -U mlx-lm

mlx_lm.generate \
  --model abenzerps/K2-Horizon-MoVA-36B-A4B-MLX-4bit \
  --prompt "Explain why reproducible builds matter." \
  --max-tokens 512 --temp 1.0 --top-p 0.95

Use a current mlx-lm release. The source model supports 512K context; usable context length depends on available unified memory and KV-cache settings.

Source

Downloads last month
692
Safetensors
Model size
37B 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 abenzerps/K2-Horizon-MoVA-36B-A4B-MLX-4bit

Quantized
(18)
this model

Collection including abenzerps/K2-Horizon-MoVA-36B-A4B-MLX-4bit