Instructions to use inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF 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("inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF") config = load_config("inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF") # 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 inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF"
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": "inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF 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 "inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF"
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 inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF
Run Hermes
hermes
See Kimi-K2.6 MLX in action - demonstration video
Tested on an M3 Ultra 512 GiB RAM using Inferencer app v1.11
- Text inference: ~21.04 tokens/s @ 1000 tokens ~423.61 GiB (debug build)
- 2x Batched inference: ~30.1 tokens/s
- Vision inference: ~18.28 tokens/s ~426.53 GiB
Q3.5-INF uses the data-agnostic INF method tuned to yield maximum general accuracy within a 512 GiB memory budget
Due to system memory and time constraints, the base generation was inferenced directly from storage and limited to the first 512 tokens for our coding tests. To address this, generation was configured to output complex functionality from the start rather than incremental scaffolding. While this setup differs from typical usage, it stresses early-token accuracy and the observed trends appear consistent with those seen in larger-scale evaluations of other models. These figures may be updated in future with extended evaluations.
| Quantization (bpw) | Perplexity | Token Accuracy | Missed Divergence | Size |
|---|---|---|---|---|
| Q3.5 | 1.1328125 | 94.92% | 42.71% | 450.19 GB |
| Q3.5-INF | 1.078125 | 96.67% | 22.04% | 455.68 GB |
| Q3.6 | 1.1484375 | 94.72% | 48.72% | 470.99 GB |
| Base | Untested | 100% | 0.000% | 658.59 GB |
- Perplexity: Measures the confidence for predicting base tokens (lower is better)
- Token Accuracy: The percentage of correctly generated base tokens
- Missed Divergence: Measures severity of misses; how much the token was missed by
Quantized with a modified version of MLX
For more details see our demonstration video or visit Kimi-K2.6.
Disclaimer
We are not the creator, originator, or owner of any model listed. Each model is created and provided by third parties. Models may not always be accurate or contextually appropriate. You are responsible for verifying the information before making important decisions. We are not liable for any damages, losses, or issues arising from its use, including data loss or inaccuracies in AI-generated content.
- Downloads last month
- 2,731
Quantized
Model tree for inferencerlabs/Kimi-K2.6-MLX-3.5bit-INF
Base model
moonshotai/Kimi-K2.6