Text Generation
GGUF
edge0
Mixture of Experts
edge-inference
latent-moe
4-bit precision
agent
coding
cuda
conversational
Instructions to use Edge0/Edge0-120B-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-120B-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-120B-NVFP4:BF16 # Run inference directly in the terminal: llama cli -hf Edge0/Edge0-120B-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-120B-NVFP4:BF16 # Run inference directly in the terminal: llama cli -hf Edge0/Edge0-120B-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-120B-NVFP4:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Edge0/Edge0-120B-NVFP4:BF16
Use Docker
docker model run hf.co/Edge0/Edge0-120B-NVFP4:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use Edge0/Edge0-120B-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Edge0/Edge0-120B-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-120B-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Edge0/Edge0-120B-NVFP4:BF16
- Ollama
How to use Edge0/Edge0-120B-NVFP4 with Ollama:
ollama run hf.co/Edge0/Edge0-120B-NVFP4:BF16
- Unsloth Desktop
- Pi
How to use Edge0/Edge0-120B-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-120B-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-120B-NVFP4:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Edge0/Edge0-120B-NVFP4 with Docker Model Runner:
docker model run hf.co/Edge0/Edge0-120B-NVFP4:BF16
- Lemonade
How to use Edge0/Edge0-120B-NVFP4 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Edge0/Edge0-120B-NVFP4:BF16
Run and chat with the model
lemonade run user.Edge0-120B-NVFP4-BF16
List all available models
lemonade list
- Hermes Agent
How to use Edge0/Edge0-120B-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-120B-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-120B-NVFP4:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Edge0/Edge0-120B-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-120B-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-120B-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"
docs: say what the vision encoder is and how to turn it on
Browse files
README.md
CHANGED
|
@@ -453,6 +453,44 @@ and then serves OpenAI- and Anthropic-compatible endpoints:</p>
|
|
| 453 |
<p>猬囷笍 <strong>Download:</strong> <strong><a href="https://github.com/Edge0-AI/Edge0/releases">GitHub Releases</a></strong></p>
|
| 454 |
<p>Open <strong>Edge0 Chat</strong> on Windows and choose a model folder, such as <code>Edge0-120B-NVFP4</code>, to run the model locally. To build the app from source, follow the <a href="https://github.com/Edge0-AI/Edge0/blob/main/edge0-infer/examples/desktop/README.md">Edge0 Chat</a> guide.</p>
|
| 455 |
</details>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 456 |
<p><a name="memory-update"></a>
|
| 457 |
<a name="deployment-qa"></a>
|
| 458 |
<a name="memory-deployment"></a>
|
|
|
|
| 453 |
<p>猬囷笍 <strong>Download:</strong> <strong><a href="https://github.com/Edge0-AI/Edge0/releases">GitHub Releases</a></strong></p>
|
| 454 |
<p>Open <strong>Edge0 Chat</strong> on Windows and choose a model folder, such as <code>Edge0-120B-NVFP4</code>, to run the model locally. To build the app from source, follow the <a href="https://github.com/Edge0-AI/Edge0/blob/main/edge0-infer/examples/desktop/README.md">Edge0 Chat</a> guide.</p>
|
| 455 |
</details>
|
| 456 |
+
<details open>
|
| 457 |
+
<summary><b>Images</b> 路 the vision encoder in this folder</summary>
|
| 458 |
+
<p><code>mmproj-BF16.gguf</code> is the vision encoder. It turns a picture into the embedding rows
|
| 459 |
+
the language model reads; the language model itself is unchanged. Two entries in <code>model.json</code> wire it in,
|
| 460 |
+
next to <code>args</code>:</p>
|
| 461 |
+
<pre><code class="language-json">"exe": "/path/to/strata",
|
| 462 |
+
"vision": {
|
| 463 |
+
"exe": "/path/to/strata-vision",
|
| 464 |
+
"mmproj": "./mmproj-BF16.gguf",
|
| 465 |
+
"model": "./model-skeleton.gguf",
|
| 466 |
+
"gpu": false,
|
| 467 |
+
"max_tokens": 1024
|
| 468 |
+
}
|
| 469 |
+
</code></pre>
|
| 470 |
+
<ul>
|
| 471 |
+
<li><code>strata-vision</code> ships with the engine build, in the same folder as the engine.</li>
|
| 472 |
+
<li><code>"model"</code> is the text backbone this folder already uses.</li>
|
| 473 |
+
<li><code>"gpu": false</code> runs the encoder on the CPU and takes no VRAM. <code>true</code> runs it on the card and
|
| 474 |
+
keeps about 1.4 GB free for it, so the expert cache gets that much less.</li>
|
| 475 |
+
<li><code>"max_tokens"</code> caps how many tokens one picture becomes. More keeps more detail and takes longer.</li>
|
| 476 |
+
</ul>
|
| 477 |
+
<p>Add <code>--vision</code> to <code>"args"</code> as well. The server adds it by itself when the config has a
|
| 478 |
+
<code>vision</code> section and prints a line saying so; writing it keeps the two in step.</p>
|
| 479 |
+
<p>The log says <code>images on</code> once the encoder is up. Then send a picture: <code>/image /path/to.png</code>
|
| 480 |
+
followed by the question in the terminal chat, or an <code>image_url</code> part over the OpenAI API. That part takes a
|
| 481 |
+
<code>data:</code> URL, an <code>http(s)</code> URL or a local file path.</p>
|
| 482 |
+
<pre><code class="language-bash">curl localhost:8000/v1/chat/completions -H 'content-type: application/json' -d '{
|
| 483 |
+
"model": "edge0_120b",
|
| 484 |
+
"messages": [{"role": "user", "content": [
|
| 485 |
+
{"type": "text", "text": "What does this picture show?"},
|
| 486 |
+
{"type": "image_url", "image_url": {"url": "data:image/png;base64,<base64>"}}
|
| 487 |
+
]}],
|
| 488 |
+
"max_tokens": 256
|
| 489 |
+
}'
|
| 490 |
+
</code></pre>
|
| 491 |
+
<p>Add <code>"reasoning_effort": "none"</code> to get the answer without a thinking pass first; otherwise the reply can
|
| 492 |
+
come back empty with the token budget spent on the reasoning.</p>
|
| 493 |
+
</details>
|
| 494 |
<p><a name="memory-update"></a>
|
| 495 |
<a name="deployment-qa"></a>
|
| 496 |
<a name="memory-deployment"></a>
|