Instructions to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
Use Docker
docker model run hf.co/prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
- SGLang
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with Ollama:
ollama run hf.co/prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
- Unsloth Desktop
- Pi
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
- Lemonade
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
Run and chat with the model
lemonade run user.Sage-A1.5-MXFP4_MOE-MTP-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
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 prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF:BF16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Sage-A1.5-MXFP4_MOE-MTP-GGUF
Sage-A1.5 is a 35B Mixture-of-Experts (MoE) multimodal agentic model from Shanghai AI Laboratory designed for long-horizon scientific problem solving, complex engineering workflows, and open scientific discovery. Building upon Agents-A1, it pairs native tool integration with two opt-in execution paradigms: Agentic Orchestration, which dispatches parallel sub-agents with isolated contexts (
spawn_subagent) to decompose and investigate independent sub-questions concurrently, and Verification Mode, an in-trajectory self-review mechanism that audits evidence and revises unproductive strategies directly inside the model's chain of thought without an external critic. Equipped with a native 256K context window (extensible to 512K via YaRN) and Multi-Token Prediction (MTP) support for speculative decoding in vLLM and SGLang, Sage-A1.5 rivals frontier-scale systems despite its 35B footprint—achieving overall SOTA on GAIA (95.1), OmniDocBench (91.5), XBench-DS-2510 (92.0), PinchBench (90.0), IFBench (81.6), and FrontierScience-Olympiad (81.0), while leading comparable 35B models on SWE-bench Pro (61.2) and BrowseComp (82.8).
MTP — Speculative Decoding: Yes
Multi-Token Prediction (MTP) GGUF is a specialized GGUF model file format extension that integrates speculative decoding directly into the model weights to significantly accelerate local inference. Unlike traditional speculative decoding which requires a separate, smaller "draft" model, MTP GGUF files include additional output heads within the main model architecture that predict multiple future tokens in a single forward pass.
Model Files
| File Name | Quant Type | File Size | File Link | Description |
|---|---|---|---|---|
| Sage-A1.5.BF16.gguf | BF16 | 71.1 GB | Link | Full BF16 weights. Highest quality, largest file size. |
| Sage-A1.5.MXFP4_MOE.gguf | MXFP4_MOE | 20.3 GB | Link | Mixed precision / MoE optimized quantization, highly efficient size. |
| Sage-A1.5.Q3_K_L.gguf | Q3_K_L | 18.6 GB | Link | Lower quality but usable, good for low RAM availability. |
| Sage-A1.5.Q5_K_M.gguf | Q5_K_M | 25.3 GB | Link | High quality, recommended. |
| Sage-A1.5.Q6_K.gguf | Q6_K | 29.2 GB | Link | Very high quality, near perfect, recommended. |
| Sage-A1.5.mmproj-bf16.gguf | mmproj-bf16 | 903 MB | Link | Multimodal projection file in BF16 format. Used for vision/language models. |
MXFP4-MOE Test Run
Tested MXFP4_MOE on an NVIDIA RTX PRO 6000 Blackwell Server Edition GPU with 96 GB of VRAM, using llama-cli with full GPU offloading.
Performance Metrics
| Metric | Value |
|---|---|
| Prompt Processing Speed | 94.1 tokens/s |
| Generation Speed | 270.4 tokens/s |
| Total Wall Time | 20.216 seconds |
| Speculative Decoding | draft-mtp |
| Maximum Draft Tokens | 2 |
| Context Length | 8,192 tokens |
| KV Cache (K) | q8_0 |
| GPU | NVIDIA RTX PRO 6000 Blackwell Server Edition |
| GPU VRAM Capacity | 96 GB |
| Peak GPU VRAM Usage | 19.72 GiB |
| Peak GPU Utilization | 81% |
| GPU Layers Offloaded | 99 (-ngl 99) |
| Random Seed | 42 |
Run Inference
./build/bin/llama-cli \
-m /path/to/models/Sage-A1.5.MXFP4_MOE.gguf \
--spec-type draft-mtp \
--spec-draft-n-max 2 \
-ngl 99 \
-c 8192 \
--cache-type-k q8_0 \
--seed 42 \
-n 4096 \
-st \
-p "Your prompt here"
Notes
- Full GPU offloading:
-ngl 99requests offloading up to 99 model layers to the GPU. Actual offloading depends on the model architecture and the number of layers available. - Speculative decoding:
--spec-type draft-mtpenables MTP-based speculative decoding, with a maximum of 2 draft tokens per step. - KV cache:
--cache-type-k q8_0configures the K cache to use theq8_0quantization format. - Context length:
-c 8192sets the context size to 8,192 tokens. - Generation length:
-n 4096sets the maximum number of tokens to generate. - Random seed:
--seed 42sets the random seed for reproducibility.
Performance results reflect this specific hardware and inference configuration. Actual throughput may vary depending on the prompt, model, software build, and runtime settings.
llama.cpp
LLM inference in C/C++ — https://github.com/ggml-org/llama.cpp
Quantized using llama.cpp by prithivMLmods
- Downloads last month
- 1,128
3-bit
4-bit
5-bit
6-bit
16-bit
Model tree for prithivMLmods/Sage-A1.5-MXFP4_MOE-MTP-GGUF
Base model
InternScience/Sage-A1.5