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 "ljupco/Nemotron-3-Elastic-30B-MLX"
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": "ljupco/Nemotron-3-Elastic-30B-MLX"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Nemotron 3 Elastic 30B - MLX Format (Apple Silicon)

NVIDIA Nemotron 3 Elastic 30B model converted to MLX format for efficient inference on Apple Silicon (Metal).

🚀 Quick Start

# Install dependencies
pip install mlx-lm

# Run chat (8-bit KV cache by default)
python chat_mlx.py --model . --max-kv-size 1048576

# For larger context with 4-bit KV cache (more memory savings)
python chat_mlx.py --model . --max-kv-size 1048576 --kv-bits 4

📊 Model Details

  • Format: MLX NVFP4 (4.5 bits/weight)
  • Size: ~16.5 GB
  • Context: Up to 1M tokens (design limit, hardware-dependent)
  • Platform: Apple Silicon (M1/M2/M3) with macOS

💾 Memory Requirements

KV Cache 1M Context Typical Usage
8-bit (default) ~70-80 GB Recommended for M2 Max 96GB
4-bit ~50-60 GB For smaller memory configurations
16-bit ~90-100 GB Maximum quality

🎯 Features

  • Hybrid Architecture: Mamba-2 + MoE (Mixture of Experts) + Attention layers
  • Elastic Variants: Supports 12B/23B/30B configurations
  • Long Context: Designed for up to 1M token context window
  • Reasoning: Thinking traces enabled by default

📖 Usage

Basic Chat

python chat_mlx.py --model .

Large Text Input

For texts larger than ~4KB:

You> /paste
Now paste your text. After the text is pasted, to process the text, in empty line enter /endpaste
[paste your large text]
/endpaste

Assistant> [processes your text]

In-Chat Commands

  • /paste - Multi-line input mode for large text
  • /quit - Exit chat
  • /reset - Clear conversation history
  • /thinking on|off - Toggle reasoning traces

🔗 Links

📝 License

NVIDIA Open Model License. See LICENSE.md for details.

🙏 Acknowledgments

  • Model Developer: NVIDIA
  • MLX Framework: Apple MLX team
  • Conversion: Adapted from mlx-lm Nemotron H implementation
Downloads last month
-
Safetensors
Model size
32B params
Tensor type
U8
·
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 ljupco/Nemotron-3-Elastic-30B-MLX