Instructions to use gittensor-model-hub/Qwythos-9B-nsys-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT 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 gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M # Run inference directly in the terminal: llama cli -hf gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M # Run inference directly in the terminal: llama cli -hf gittensor-model-hub/Qwythos-9B-nsys-SFT: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 gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf gittensor-model-hub/Qwythos-9B-nsys-SFT: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 gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M
Use Docker
docker model run hf.co/gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gittensor-model-hub/Qwythos-9B-nsys-SFT" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gittensor-model-hub/Qwythos-9B-nsys-SFT", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M
- Ollama
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT with Ollama:
ollama run hf.co/gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M
- Unsloth Studio
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT 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 gittensor-model-hub/Qwythos-9B-nsys-SFT 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 gittensor-model-hub/Qwythos-9B-nsys-SFT to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for gittensor-model-hub/Qwythos-9B-nsys-SFT to start chatting
- Pi
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gittensor-model-hub/Qwythos-9B-nsys-SFT: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": "gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gittensor-model-hub/Qwythos-9B-nsys-SFT: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 gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gittensor-model-hub/Qwythos-9B-nsys-SFT: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 "gittensor-model-hub/Qwythos-9B-nsys-SFT: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 gittensor-model-hub/Qwythos-9B-nsys-SFT with Docker Model Runner:
docker model run hf.co/gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M
- Lemonade
How to use gittensor-model-hub/Qwythos-9B-nsys-SFT with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gittensor-model-hub/Qwythos-9B-nsys-SFT:Q4_K_M
Run and chat with the model
lemonade run user.Qwythos-9B-nsys-SFT-Q4_K_M
List all available models
lemonade list
Qwythos-9B nsys SFT (self-taught)
LoRA + GGUF fine-tune of Qwythos-9B for Nsight Systems (nsys) / CUDA-L1 tool-calling.
Self-taught (not API distillation)
The SFT trajectories were generated by this same local model stack, not by an external teacher LLM API (no GPT/Claude/OpenRouter demos):
- Qwythos-9B served locally with sparkinfer on an RTX 5090
- Autonomous agent loop (
prof_dataset_gen) + real nsys / CUDA-L1 tools - Quality-filtered dataset → cuda-nsys-training
- QLoRA SFT back into the same Qwythos base
Base pretrained weights still come from Empero/Qwen; the tool-use teaching signal is self-generated.
Contents
| Path | Description |
|---|---|
adapter/ |
PEFT LoRA (r=16, α=32) |
gguf/Qwythos-9B-nsys-SFT-Q4_K_M.gguf |
Merged no-MTP Q4_K_M (~5.3G) for sparkinfer |
gguf/Qwythos-9B-nsys-SFT-noMTP-BF16.gguf |
Merged no-MTP BF16 (~17G), non-quantized |
eval/ |
Holdout A/B results: base Q4, SFT Q4, SFT BF16 |
Eval (first-turn XML tool calls, n=20)
Same holdout prompts from sft_eval.jsonl, temp=0.2, max_tokens=768:
| Model | Runtime | parse_rate | valid tool names |
|---|---|---|---|
| Base Mythos Q4_K_M | sparkinfer | 0% | 0% |
| SFT Q4_K_M | sparkinfer | 30% | 30% |
| SFT BF16 (non-quantized) | llama.cpp (enable_thinking=false) |
85% | 85% |
See eval/summary.json, eval/sft_bf16_llamacpp_n20_v2.json.
Serve
Q4 (sparkinfer):
sparkinfer_server -m Qwythos-9B-nsys-SFT-Q4_K_M.gguf --tokenizer tokenizer.json --ctx 65536 --model-name qwythos-9b --port 8080
BF16 (llama.cpp):
llama-server -m Qwythos-9B-nsys-SFT-noMTP-BF16.gguf -c 4096 -ngl 99 --jinja -fa on --port 8081
# API: chat_template_kwargs={"enable_thinking": false}
Load LoRA (transformers)
from transformers import Qwen3_5ForConditionalGeneration, AutoTokenizer
from peft import PeftModel
base_id = "empero-ai/Qwythos-9B-Claude-Mythos-5-1M"
tok = AutoTokenizer.from_pretrained(base_id, trust_remote_code=True)
model = Qwen3_5ForConditionalGeneration.from_pretrained(base_id, torch_dtype="bfloat16", trust_remote_code=True)
model = PeftModel.from_pretrained(model, "gittensor-model-hub/Qwythos-9B-nsys-SFT", subfolder="adapter")
License
Apache-2.0 (inherits Qwen / Empero base terms). Dataset: see cuda-nsys-training.
- Downloads last month
- 73
4-bit
16-bit
Model tree for gittensor-model-hub/Qwythos-9B-nsys-SFT
Base model
Qwen/Qwen3.5-9B-Base