Instructions to use Lernex/Metis-1.6-Logos-GGUF 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 Lernex/Metis-1.6-Logos-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 Lernex/Metis-1.6-Logos-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Lernex/Metis-1.6-Logos-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
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 Lernex/Metis-1.6-Logos-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Lernex/Metis-1.6-Logos-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Lernex/Metis-1.6-Logos-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": "Lernex/Metis-1.6-Logos-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
- Ollama
How to use Lernex/Metis-1.6-Logos-GGUF with Ollama:
ollama run hf.co/Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Lernex/Metis-1.6-Logos-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
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": "Lernex/Metis-1.6-Logos-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Lernex/Metis-1.6-Logos-GGUF with Docker Model Runner:
docker model run hf.co/Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
- Lemonade
How to use Lernex/Metis-1.6-Logos-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Metis-1.6-Logos-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Lernex/Metis-1.6-Logos-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 Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
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 Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Lernex/Metis-1.6-Logos-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
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 "Lernex/Metis-1.6-Logos-GGUF:Q4_K_M" \ --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"
Metis-1.6 Logos GGUF
GGUF files of Lernex/Metis-1.6-Logos for llama.cpp and the apps built on it. Every quant is made with an importance matrix and a per-tensor recipe that keeps the parts of this architecture that are sensitive to rounding at higher precision, so even Q4_K_M stays within 1% of BF16 perplexity.
Files
| File | Size | Perplexity | KL divergence | Same top token |
|---|---|---|---|---|
Metis-1.6-Logos-BF16.gguf |
20.5 GB | 15.873 | reference | reference |
Metis-1.6-Logos-Q8_0.gguf |
11.1 GB | 15.887 | 0.0080 | 95.1% |
Metis-1.6-Logos-Q6_K.gguf |
8.8 GB | 15.891 | 0.0115 | 94.5% |
Metis-1.6-Logos-Q5_K_M.gguf |
7.8 GB | 15.979 | 0.0181 | 93.0% |
Metis-1.6-Logos-Q4_K_M.gguf |
6.7 GB | 15.998 | 0.0354 | 90.3% |
Metis-1.6-Logos-IQ4_XS.gguf |
6.1 GB | 16.284 | 0.0448 | 88.7% |
Measured with llama-perplexity on wikitext-2 (512-token context, 40 chunks), against the
BF16 file. Q4_K_M is the one to pick for most machines; Q8_0 is indistinguishable from BF16.
Metis-1.6-Logos-imatrix.gguf is the importance matrix, for making other quants.
Run it
These files need llama.cpp b12089 or newer, which runs them on CPU, Apple Metal and NVIDIA CUDA.
Install it with brew install llama.cpp or winget install llama.cpp, download a build from the
releases page, or
build it from source.
llama-server -hf Lernex/Metis-1.6-Logos-GGUF:Q4_K_M --jinja -ngl 99 -c 32768
--jinja uses the chat template inside the file. The OpenAI-compatible endpoint returns the
model's thinking in reasoning_content and parses tool calls into tool_calls. Thinking is
on by default; pass "chat_template_kwargs": {"enable_thinking": false} in a request for
direct answers.
The files carry the recommended thinking settings (temperature 0.8, top-p 0.95, top-k 20 and a
1.05 repeat penalty over the whole context), so llama.cpp uses them unless you or your client
pass others. They suit code as well. For direct answers, send temperature 0.3 and
"repeat_penalty": 1.0 with the request. If you set the penalty yourself, pass
--repeat-last-n 131072 too: by default llama.cpp only looks at the last 64 tokens.
On an RTX 5070 Ti with the whole model on the GPU, Q4_K_M decodes at about 129 tokens/s and reads prompts at about 1,900 tokens/s.
Ollama and LM Studio
Both run GGUF files through llama.cpp, so they load these once the llama.cpp they bundle
is b12089 or newer. This repository carries template and params files that Ollama reads
when you pull straight from Hugging Face:
ollama run hf.co/Lernex/Metis-1.6-Logos-GGUF:Q4_K_M
The template renders the model's own chat format token for token, so chat, thinking (split
out as thinking) and the recommended sampling work as soon as Ollama can load the file.
Ollama returns structured tool calls once it has a parser for this model's tool-call format;
until then they arrive as text in the reply.
How the quants are made
Plain quantization damages this model far more than usual: a stock Q4_K_M has 39% higher perplexity than BF16 and agrees with it on the top token only 66% of the time. Holding one group of tensors at a time in higher precision shows why. Nearly all of the damage comes from two small parts of the network: the Mamba-2 output and input projections, and the low-rank projections into and out of the experts' latent space. Together they are under 9% of the weights. The 192 routed experts, which are most of the file, quantize normally.
So every file here keeps the Mamba output projections in BF16, and the 4- to 6-bit files keep the latent projections at Q8_0 and the Mamba input projections at Q6_K or Q8_0:
llama-quantize --imatrix Metis-1.6-Logos-imatrix.gguf \
--tensor-type ssm_out=bf16 \
--tensor-type ffn_latent_down=q8_0 --tensor-type ffn_latent_up=q8_0 \
--tensor-type ssm_in=q6_k \
Metis-1.6-Logos-BF16.gguf Metis-1.6-Logos-Q4_K_M.gguf Q4_K_M
The importance matrix was computed over 125k tokens shaped like real use: prose, math worked through in thinking mode, code, and tool calls, all rendered with the model's chat template.
License
Apache 2.0, the same as the original model.
- Downloads last month
- 1,894