Text Generation
GGUF
edge0
Mixture of Experts
edge-inference
latent-moe
4-bit precision
agent
coding
cuda
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"
docs: say where strata-vision comes from
Browse files
README.md
CHANGED
|
@@ -458,16 +458,23 @@ and then serves OpenAI- and Anthropic-compatible endpoints:</p>
|
|
| 458 |
<summary><b>Images</b> 路 the vision encoder in this folder</summary>
|
| 459 |
<p><code>mmproj-BF16.gguf</code> is the vision encoder: it turns a picture into the embedding rows the language model
|
| 460 |
reads, and the language model itself is unchanged. Reading pictures also needs a small helper program,
|
| 461 |
-
<code>strata-vision</code>.
|
| 462 |
-
build it, so it comes from one of these two places:</p>
|
| 463 |
<ul>
|
| 464 |
<li><strong>The prebuilt engine archive.</strong> <code>setup.py</code> and <code>strata launch</code> download one and
|
| 465 |
unpack <code>strata</code> and <code>strata-vision</code> side by side, so an install that ran with <code>--vision</code>
|
| 466 |
already has the helper next to the engine.</li>
|
| 467 |
-
<li><strong>Building it.</strong> Take a Strata source checkout (the <code>tools/vision</code> project lives there, not
|
| 468 |
-
in Edge0) and run <code>cmake --build build-vision --target strata-vision</code>, then put the result next to
|
| 469 |
-
<code>strata</code>.</li>
|
| 470 |
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 471 |
<p>Then two entries in <code>model.json</code>, next to <code>args</code>:</p>
|
| 472 |
<pre><code class="language-json">"exe": "/path/to/strata",
|
| 473 |
"vision": {
|
|
|
|
| 458 |
<summary><b>Images</b> 路 the vision encoder in this folder</summary>
|
| 459 |
<p><code>mmproj-BF16.gguf</code> is the vision encoder: it turns a picture into the embedding rows the language model
|
| 460 |
reads, and the language model itself is unchanged. Reading pictures also needs a small helper program,
|
| 461 |
+
<code>strata-vision</code>. It comes from one of these two places:</p>
|
|
|
|
| 462 |
<ul>
|
| 463 |
<li><strong>The prebuilt engine archive.</strong> <code>setup.py</code> and <code>strata launch</code> download one and
|
| 464 |
unpack <code>strata</code> and <code>strata-vision</code> side by side, so an install that ran with <code>--vision</code>
|
| 465 |
already has the helper next to the engine.</li>
|
|
|
|
|
|
|
|
|
|
| 466 |
</ul>
|
| 467 |
+
<p>Or build its source, which is in this repository at <code>edge0-strata/tools/vision/</code>. It is a separate CMake
|
| 468 |
+
project that the main build does not compile, and it needs a llama.cpp checkout at the engine's pinned commit
|
| 469 |
+
(<code>third_party/llama.cpp</code> is not vendored; a tree whose main CMake fetched it has one under
|
| 470 |
+
<code>build/_deps/strata_llamacpp-src</code>):</p>
|
| 471 |
+
|
| 472 |
+
```sh
|
| 473 |
+
cmake -S edge0-strata/tools/vision -B build-vision -DLLAMA_DIR=/path/to/llama.cpp
|
| 474 |
+
cmake --build build-vision --target strata-vision
|
| 475 |
+
```
|
| 476 |
+
|
| 477 |
+
<p>Put the result next to <code>strata</code>.</p>
|
| 478 |
<p>Then two entries in <code>model.json</code>, next to <code>args</code>:</p>
|
| 479 |
<pre><code class="language-json">"exe": "/path/to/strata",
|
| 480 |
"vision": {
|