Instructions to use localslm/Qwen3.5-9B-MTP-Uncensored 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 localslm/Qwen3.5-9B-MTP-Uncensored 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 localslm/Qwen3.5-9B-MTP-Uncensored # Run inference directly in the terminal: llama cli -hf localslm/Qwen3.5-9B-MTP-Uncensored
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf localslm/Qwen3.5-9B-MTP-Uncensored # Run inference directly in the terminal: llama cli -hf localslm/Qwen3.5-9B-MTP-Uncensored
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 localslm/Qwen3.5-9B-MTP-Uncensored # Run inference directly in the terminal: ./llama-cli -hf localslm/Qwen3.5-9B-MTP-Uncensored
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 localslm/Qwen3.5-9B-MTP-Uncensored # Run inference directly in the terminal: ./build/bin/llama-cli -hf localslm/Qwen3.5-9B-MTP-Uncensored
Use Docker
docker model run hf.co/localslm/Qwen3.5-9B-MTP-Uncensored
- LM Studio
- Jan
- Ollama
How to use localslm/Qwen3.5-9B-MTP-Uncensored with Ollama:
ollama run hf.co/localslm/Qwen3.5-9B-MTP-Uncensored
- Unsloth Studio
How to use localslm/Qwen3.5-9B-MTP-Uncensored 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 localslm/Qwen3.5-9B-MTP-Uncensored 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 localslm/Qwen3.5-9B-MTP-Uncensored to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for localslm/Qwen3.5-9B-MTP-Uncensored to start chatting
- Pi
How to use localslm/Qwen3.5-9B-MTP-Uncensored with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf localslm/Qwen3.5-9B-MTP-Uncensored
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": "localslm/Qwen3.5-9B-MTP-Uncensored" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use localslm/Qwen3.5-9B-MTP-Uncensored with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf localslm/Qwen3.5-9B-MTP-Uncensored
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 "localslm/Qwen3.5-9B-MTP-Uncensored" \ --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 localslm/Qwen3.5-9B-MTP-Uncensored with Docker Model Runner:
docker model run hf.co/localslm/Qwen3.5-9B-MTP-Uncensored
- Lemonade
How to use localslm/Qwen3.5-9B-MTP-Uncensored with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull localslm/Qwen3.5-9B-MTP-Uncensored
Run and chat with the model
lemonade run user.Qwen3.5-9B-MTP-Uncensored-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use localslm/Qwen3.5-9B-MTP-Uncensored with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf localslm/Qwen3.5-9B-MTP-Uncensored
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 localslm/Qwen3.5-9B-MTP-Uncensored
Run Hermes
hermes
- Atomic Chat
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 localslm/Qwen3.5-9B-MTP-Uncensored to start chattingUsing HuggingFace Spaces for Unsloth
# No setup required# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for localslm/Qwen3.5-9B-MTP-Uncensored to start chattingUncensored Qwen3.5-9B-MTP Q8_0 GGUF
Example Hybrid Setup: CPU (LLM) + GPU (Vision, ~4GB VRAM)
This setup launches a hybrid CPU/GPU vision-enabled server using llama.cpp designed for maximum performance on budget hardware:
- Fast CPU Text Generation (~20+ tokens/sec): Leverages Multi-Token Prediction (MTP) speculative decoding while disabling model "thinking/reasoning" steps.
- Instant Image Preprocessing (~1 second): Offloads the multimodal projector to even a low-end GPU (4GB VRAM). Even with a massive budget of 4,096 visual tokens, image processing takes under a second on GPU โ whereas running vision encoding on CPU alone would take up to 5 minutes.
- Context & WebUI: Features a 16K context window and an OpenAI-compatible local API/WebUI server on port 8080.
llama-server.exe ^
-m "D:\LLMs\Qwen3.5-9B-MTP-Uncensored\model.gguf" ^
--mmproj "D:\LLMs\Qwen3.5-9B-MTP-Uncensored\mmproj.gguf" ^
--spec-type draft-mtp --spec-draft-n-max 6 ^
--image-min-tokens 4096 ^
--image-max-tokens 4096 ^
-t 6 --threads-batch 6 ^
-b 4224 -ub 4224 ^
--no-mmap --mlock ^
-ngl 0 ^
--mmproj-offload ^
-fa on ^
-c 16384 ^
--temp 0.7 --top-p 0.8 --top-k 20 --min-p 0.0 ^
--presence-penalty 1.5 --repeat-penalty 1.0 ^
--chat-template-kwargs "{\"enable_thinking\": false}" ^
--jinja ^
--metrics ^
--host 127.0.0.1 --port 8080
This command launches llama-server.exe (the server binary provided by llama.cpp) to host a local REST API / web interface for a vision-enabled Qwen3.5-9B on Windows:
1. Model & Multimodal Files
-m "D:\LLMs\Qwen3.5-9B-MTP-Uncensored\model.gguf"
Path to the main GGUF language model file (Qwen 3.5 9B).--mmproj "D:\LLMs\Qwen3.5-9B-MTP-Uncensored\mmproj.gguf"
Path to the multimodal projector file (vision), allowing the model to process image inputs alongside text.
2. Speculative Decoding & Multimodal Settings
--spec-type draft-mtp
Enables Multi-Token Prediction (MTP) speculative decoding. By predicting multiple tokens per step natively, it dramatically boosts CPU token generation speed (up to 20+ tokens/sec).--spec-draft-n-max 6
Sets the maximum number of draft tokens generated per speculative decoding step to6.--image-min-tokens 4096&--image-max-tokens 4096
Forces image processing to use a fixed allocation of 4,096 visual tokens per image input, ensuring maximum visual detail and OCR precision.
3. CPU, Hardware, & Memory Management
-t 6
Allocates 6 CPU threads for token generation.--threads-batch 6
Allocates 6 CPU threads for prompt processing/batch processing.-b 4224
Sets the maximum prompt/logical batch size to 4,224 tokens.-ub 4224
Sets the micro-batch size (ubatch) to 4,224 tokens, ensuring batch processing is not split into smaller sub-batches.--no-mmap
Disables memory mapping (mmap). The entire model is loaded directly into RAM at startup rather than read lazily from disk.--mlock
Locks model memory in physical RAM to prevent the operating system from swapping it out to disk/pagefile.-ngl 0
Set GPU offload layers to0. This forces the main LLM to run entirely on the CPU.--mmproj-offload
Crucial optimization: Offloads the heavy vision encoder to the GPU. Even on a cheap GPU with 4GB VRAM, processing a huge 4,096 visual token budget completes in < 1 second, whereas CPU-only vision processing would bottleneck the system for ~5 minutes.-fa on
Enables FlashAttention (or optimized attention kernels) to reduce RAM usage and improve processing speed.
4. Context & Generation (Sampling) Parameters
-c 16384
Sets the maximum context window size to 16,384 tokens.--temp 0.7
Sets generation temperature to0.7(balances creativity and coherence).--top-p 0.8
Applies nucleus sampling, considering tokens within the top 80% cumulative probability.--top-k 20
Restricts token selection to the top 20 candidate tokens at each step.--min-p 0.0
Sets Min-P sampling threshold to0.0(effectively disabling Min-P filtering).--presence-penalty 1.5
Applies a strong penalty for introducing already mentioned tokens, encouraging the model to introduce new topics.--repeat-penalty 1.0
Sets repetition penalty to1.0(neutral / standard repetition penalty disabled).
5. Template & Server Configuration
--chat-template-kwargs "{\"enable_thinking\": false}"
Passes custom key-value parameters to the model's chat template. Disables reasoning/thinking blocks to minimize generation overhead and maximize speed.--jinja
Enables Jinja2 templating support to process modern complex chat templates included with models.--metrics
Enables an endpoint for system metrics monitoring (e.g., tokens per second, memory usage).--host 127.0.0.1
Binds the server locally tolocalhost(127.0.0.1), preventing external network access.--port 8080
Runs the server API on port8080(accessible viahttp://127.0.0.1:8080).
- Downloads last month
- 379
We're not able to determine the quantization variants.
Install Unsloth Studio (macOS, Linux, WSL)
# Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for localslm/Qwen3.5-9B-MTP-Uncensored to start chatting