Instructions to use bkideas/VibeThinker-1.5B-MLX-nvfp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use bkideas/VibeThinker-1.5B-MLX-nvfp4 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("bkideas/VibeThinker-1.5B-MLX-nvfp4") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use bkideas/VibeThinker-1.5B-MLX-nvfp4 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "bkideas/VibeThinker-1.5B-MLX-nvfp4"
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": "bkideas/VibeThinker-1.5B-MLX-nvfp4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use bkideas/VibeThinker-1.5B-MLX-nvfp4 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 "bkideas/VibeThinker-1.5B-MLX-nvfp4"
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 bkideas/VibeThinker-1.5B-MLX-nvfp4
Run Hermes
hermes
- MLX LM
How to use bkideas/VibeThinker-1.5B-MLX-nvfp4 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "bkideas/VibeThinker-1.5B-MLX-nvfp4"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "bkideas/VibeThinker-1.5B-MLX-nvfp4" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bkideas/VibeThinker-1.5B-MLX-nvfp4", "messages": [ {"role": "user", "content": "Hello"} ] }'
VibeThinker-1.5B-MLX-nvfp4
This repository contains the 4-bit NVFP4 quantized weights for WeiboAI/VibeThinker-1.5B, optimized for low-latency, edge-based deployment on Apple Silicon hardware using the oMLX framework.
VibeThinker-1.5B is a dense Transformer reasoning model created by Sina Weibo Inc. It is engineered to challenge traditional scaling laws using the *Spectrum-to-Signal Principle (SSP)*—combining Two-Stage Diversity-Exploring Distillation with MaxEnt-Guided Policy Optimization (MGPO) to extract deep math and coding capabilities from a tiny 1.5B parameter core.
⚡ Inference Generation Breakthroughs (vs. VibeThinker-3B-nvfp4)
When benchmarked on Apple Silicon via the oMLX inference engine, this ultra-compact 1.5B parameter NVFP4 quantization delivers staggering speedups and resource savings compared directly to its 3B NVFP4 sibling.
Core Efficiency Multipliers:
- 🏎️ Speed Jump (Token Generation): Output velocity increases by +84.6% in standard generation, skyrocketing to 454.2 tok/s (compared to the 3B variant's 246.0 tok/s).
- 📉 Massive VRAM Savings: Reduces peak VRAM footprint by -38.6%, requiring a mere 1.51 GB of memory (vs. 2.46 GB for the 3B model), making it trivial to run on base-tier Mac hardware.
- ⚡ Prefill Processing Acceleration: The prompt prefill rate surges by +30.3% under standard context lengths (
pp TPSclimbs from 3,659 tok/s to 4,768.5 tok/s). Under massive 4k context limits, prefill speeds leap by +60.3% to hit 10,039.5 tok/s. - 🚀 Concurrent Scaling (4x Batching): Under continuous multi-request batching, token throughput pushes forward to an incredible 773.5 tok/s—outperforming the 3B batched configuration by +68.5%.
- ⏱️ Near-Instant Turnaround: Total end-to-end processing latency drops by -37.9%, fulfilling a full reasoning response cycle in just 0.497 seconds.
🛠️ Deployment & Execution Quickstart
To run this model, use an inference engine configured to process the optimized nvfp4 memory layout natively on Mac (such as oMLX).
Example running with oMLX
# Execute local evaluation benches natively using the optimized Auto engine pipeline:
omlx bench --model your-hf-username/VibeThinker-1.5B-MLX-nvfp4 --prompt "Integrate x^2 ln(x) dx step by step."
- Downloads last month
- -
4-bit