Instructions to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF", filename="Qwythos-9B-Claude-Mythos-5-1M-BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-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 empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf empero-ai/Qwythos-9B-Claude-Mythos-5-1M-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 empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
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 empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
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 empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "empero-ai/Qwythos-9B-Claude-Mythos-5-1M-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": "empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
- Ollama
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with Ollama:
ollama run hf.co/empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
- Unsloth Studio
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF to start chatting
- Pi
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-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 empero-ai/Qwythos-9B-Claude-Mythos-5-1M-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:8080/v1 hermes config set model.default empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf empero-ai/Qwythos-9B-Claude-Mythos-5-1M-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:8080/v1 \ --custom-model-id "empero-ai/Qwythos-9B-Claude-Mythos-5-1M-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"
- Docker Model Runner
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with Docker Model Runner:
docker model run hf.co/empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
- Lemonade
How to use empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwythos-9B-Claude-Mythos-5-1M-GGUF-Q4_K_M
List all available models
lemonade list
The 9B MTP Q4_K_M model is looping its reasoning
Currently 9B Q4_K_M just loops its own thought paragraph by paragraph at complete random, it generates its reasoning for a good chunk then doing it again and again until it hits reasoning budget. I don't have that issue with normal Qwen 3.5 9B model. The sampling I used is the recommended one.
Hey @bakaemon
Can you provide more details like the harness you use, the tool you use to host the model aswell as the exact parameters?
A screenshot could also be helpful
It's llama.cpp server using vulkan back end, here is the command I am using:
llama-server \
--host 0.0.0.0 \
--port 11434 \
--mmap \
-c $((32*1024)) \
--flash-attn on \
--override-tensor "blk\.([1-9]|1[0-9]|2[0-9]|3[0-2])\..*=Vulkan0,.*=CPU" \
--cache-type-k q4_0 \
--cache-type-v q4_0 \
--reasoning on \
--reasoning-budget $((4*1024)) \
--reasoning-budget-message "OK, let's answer" \
-m /mnt/smt-08/HuggingFace/Models/Qwythos-9b-MTP-Q4_K_M.gguf \
--spec-type draft-mtp --spec-draft-n-max 2
The sampling followed strictly to your recommendation in the model card.
I am sorry for unable to provide the screenshot. The nature of the issue is quite random during the task . I could answer any question for provide further info. I will also try to produce a workable demonstration of the issue whenever possible.
If the model is looping, it's mostly your harness, the AI detects the loop but it doesnt have a way to exit the loop
If the model is looping, it's mostly your harness, the AI detects the loop but it doesnt have a way to exit the loop
then it does not explain why normal Qwen 3.5 9B does not having that issue, such is why I raised this to this thread.
one would say that explanation is that such finetunes are nothing more than hype
mine looped as well and it was not the harness lol
the finetune is a crap and downloads numbers just follows hype
Hey @bakaemon
From your command i see that you are missing a few blocks, i have adjusted it for you:
llama-server \
--host 0.0.0.0 \
--port 11434 \
--mmap \
-c $((32*1024)) \
--flash-attn on \
--override-tensor "blk\.([1-9]|1[0-9]|2[0-9]|3[0-2])\..*=Vulkan0,.*=CPU" \
--cache-type-k q4_0 \
--cache-type-v q4_0 \
--temp 0.6 \
--top-p 0.95 \
--top-k 20 \
--repeat-penalty 1.05 \
--n-predict 16384 \
--reasoning on \
-m /mnt/smt-08/HuggingFace/Models/Qwythos-9b-MTP-Q4_K_M.gguf \
--spec-type draft-mtp --spec-draft-n-max 2
You were missing the sampling recommendations and your reasoning budget was way to low for this model as its quiet verbose.
Also: Careful with kv cache quantization on qwen3.5 architecture. Small models were very sensitive to it in the originals as well.
Best for q3.5 9B: No kv cache quantization, stick exactly to temp, top_k etc.
Hey @bakaemon
From your command i see that you are missing a few blocks, i have adjusted it for you:
llama-server \ --host 0.0.0.0 \ --port 11434 \ --mmap \ -c $((32*1024)) \ --flash-attn on \ --override-tensor "blk\.([1-9]|1[0-9]|2[0-9]|3[0-2])\..*=Vulkan0,.*=CPU" \ --cache-type-k q4_0 \ --cache-type-v q4_0 \ --temp 0.6 \ --top-p 0.95 \ --top-k 20 \ --repeat-penalty 1.05 \ --n-predict 16384 \ --reasoning on \ -m /mnt/smt-08/HuggingFace/Models/Qwythos-9b-MTP-Q4_K_M.gguf \ --spec-type draft-mtp --spec-draft-n-max 2You were missing the sampling recommendations and your reasoning budget was way to low for this model as its quiet verbose.
Also: Careful with kv cache quantization on qwen3.5 architecture. Small models were very sensitive to it in the originals as well.
Best for q3.5 9B: No kv cache quantization, stick exactly to temp, top_k etc.
thank you for the suggestions. I applied the samplings from the client side to the API. Though currently I do not know how to replicate the issue as it happens randomly, and more likely during a heavy logical task like autonomous problem solving inside a VM. I will try as per suggestion setting sampling from server side.