Text Generation
GGUF
edge0
Mixture of Experts
edge-inference
latent-moe
4-bit precision
agent
coding
cuda
Eval Results
conversational
Instructions to use Edge0/Edge0-145B-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Edge0/Edge0-145B-NVFP4 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 Edge0/Edge0-145B-NVFP4:BF16 # Run inference directly in the terminal: llama cli -hf Edge0/Edge0-145B-NVFP4:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Edge0/Edge0-145B-NVFP4:BF16 # Run inference directly in the terminal: llama cli -hf Edge0/Edge0-145B-NVFP4:BF16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Edge0/Edge0-145B-NVFP4:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Edge0/Edge0-145B-NVFP4:BF16
Use Docker
docker model run hf.co/Edge0/Edge0-145B-NVFP4:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use Edge0/Edge0-145B-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Edge0/Edge0-145B-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Edge0/Edge0-145B-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Edge0/Edge0-145B-NVFP4:BF16
- Ollama
How to use Edge0/Edge0-145B-NVFP4 with Ollama:
ollama run hf.co/Edge0/Edge0-145B-NVFP4:BF16
- Unsloth Desktop
- Pi
How to use Edge0/Edge0-145B-NVFP4 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Edge0/Edge0-145B-NVFP4: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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Edge0/Edge0-145B-NVFP4:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Edge0/Edge0-145B-NVFP4 with Docker Model Runner:
docker model run hf.co/Edge0/Edge0-145B-NVFP4:BF16
- Lemonade
How to use Edge0/Edge0-145B-NVFP4 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Edge0/Edge0-145B-NVFP4:BF16
Run and chat with the model
lemonade run user.Edge0-145B-NVFP4-BF16
List all available models
lemonade list
- Hermes Agent
How to use Edge0/Edge0-145B-NVFP4 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Edge0/Edge0-145B-NVFP4: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:9931/v1 hermes config set model.default Edge0/Edge0-145B-NVFP4:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Edge0/Edge0-145B-NVFP4 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Edge0/Edge0-145B-NVFP4: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:9931/v1 \ --custom-model-id "Edge0/Edge0-145B-NVFP4: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"
start.sh: find the engine under edge0-strata/ in a clone of Edge0-AI/Edge0
#16
by 0xericy - opened
12345678910111213141516171819202122#!/bin/bash# edge0 model folder - relative-path launcher (no absolute paths)# EDGE0 path to the edge0 repo checkout; repo root must contain strata/# PORT HTTP port (default 8094)# STRATA_BIN optional explicit engine binaryset -eP="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"cd "$P": "${EDGE0:?set EDGE0 to the edge0 repo root (the directory that contains strata/)}"if [ -z "${STRATA_BIN:-}" ]; thenfor c in "$EDGE0/strata/build/strata" "$EDGE0/strata/build-c13b/strata"; do[ -x "$c" ] && { STRATA_BIN="$c"; break; }donefi[ -x "${STRATA_BIN:-}" ] || { echo "no strata binary under $EDGE0/strata" >&2; exit 1; }export PATH="$(dirname "$STRATA_BIN"):$PATH"# CUDA 13 runtime libs shipped inside the venv, if presentfor d in "$EDGE0"/strata/.venv/lib/python*/site-packages/nvidia/cu13/lib; do[ -d "$d" ] && export LD_LIBRARY_PATH="$d${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"doneexec "$EDGE0/strata/.venv/bin/python" "$EDGE0/strata/serve/server.py" \--engine strata --config ./model.json --port "${PORT:-8094}"12345678910111213141516171819202122232425262728#!/bin/bash# edge0 model folder - relative-path launcher (no absolute paths)# EDGE0 path to a clone of github.com/Edge0-AI/Edge0 (the engine is its edge0-strata/)# PORT HTTP port (default 8094)# STRATA_BIN optional explicit engine binaryset -eP="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"cd "$P": "${EDGE0:?set EDGE0 to your clone of github.com/Edge0-AI/Edge0}"# the engine directory: edge0-strata/ in a clone; strata/ or EDGE0 itself in older layoutsS=""for d in "$EDGE0/edge0-strata" "$EDGE0/strata" "$EDGE0"; do[ -f "$d/serve/server.py" ] && { S="$d"; break; }done[ -n "$S" ] || { echo "no edge0-strata/serve/server.py under $EDGE0" >&2; exit 1; }if [ -z "${STRATA_BIN:-}" ]; thenfor c in "$S/build/strata" "$S/build-c13b/strata"; do[ -x "$c" ] && { STRATA_BIN="$c"; break; }donefi[ -x "${STRATA_BIN:-}" ] || { echo "no strata binary under $S/build (build the engine first)" >&2; exit 1; }export PATH="$(dirname "$STRATA_BIN"):$PATH"# CUDA 13 runtime libs shipped inside the venv, if presentfor d in "$S"/.venv/lib/python*/site-packages/nvidia/cu13/lib; do[ -d "$d" ] && export LD_LIBRARY_PATH="$d${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"doneexec "$S/.venv/bin/python" "$S/serve/server.py" \--engine strata --config ./model.json --port "${PORT:-8094}"
start.sh+12-6