Instructions to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF", filename="ThinkingCap-Qwen3.6-27B-ROCmFP4-STRIX-embF16-headQ6.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-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 plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
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 plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
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 plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
Use Docker
docker model run hf.co/plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
- LM Studio
- Jan
- Ollama
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF with Ollama:
ollama run hf.co/plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
- Unsloth Studio
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-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 plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-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 plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF to start chatting
- Pi
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
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": "plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-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 plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF: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:8080/v1 hermes config set model.default plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF: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:8080/v1 \ --custom-model-id "plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF: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"
- Docker Model Runner
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF with Docker Model Runner:
docker model run hf.co/plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
- Lemonade
How to use plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull plunderstruck/ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF:BF16
Run and chat with the model
lemonade run user.ThinkingCap-Qwen3.6-27B-MTP-ROCmFP4-GGUF-BF16
List all available models
lemonade list
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▟███████████████████████▙
▄▟█████████████████████████████▙▄
▟███████████████████████████████████▙
▐███████████████▛▀▀▀▀▀▜███████████████▌
▝████████████████ ████████████▛▘
▐████▛▘ ▝▜████▌
▐█▌ ▟▙ ▐█▌
▐█▌ ▟███▙ ▐█▌
▀▀ ▟█████▙ ▀▀
▟███████▙
FORMAT ROCmFP4 4-BIT |
PRECISION 4.94 BPW |
SIZE 16.9 GB |
CONTEXT 262 K |
DRAFT MTP n-max 5 |
VISION QWEN3-VL |
BACKEND VULKAN0 |
CALIBRATION non-imatrix |
The custom
q4_0_rocmfp4 / q4_0_rocmfp4_fast tensor types will not load in stock llama.cpp, LM Studio, Ollama, Jan, or koboldcpp. Build/run with charlie12345/ROCmFPX · branch experimental-rocmfpx-branch:
git clone https://github.com/charlie12345/ROCmFPXcd ROCmFPX && git checkout experimental-rocmfpx-branchenv JOBS=16 scripts/build-strix-rocmfp4-mtp.sh
One file — the best speed/quality balance in ROCmFP4 for Strix Halo. It keeps the two quality levers that are actually felt — genuine f16 token embeddings (from F16 source) and a Q6_K output head — on the fast single-scale q4_0_rocmfp4_fast body, plus the MTP head, with no imatrix (this recipe's daily-driver default; see §05). Repo bundles the mmproj-F32.gguf Qwen3-VL vision projector and chat_template.jinja (froggeric's unified Qwen3.6 template — tool calls + inline think-toggle + vision).
Run from the folder holding the .gguf + chat_template.jinja:
env HSA_OVERRIDE_GFX_VERSION=11.5.1 GGML_HIP_ENABLE_UNIFIED_MEMORY=1 \
llama-server \
-m ThinkingCap-Qwen3.6-27B-ROCmFP4-STRIX-embF16-headQ6.gguf \
--alias thinkingcap-27b \
--host 0.0.0.0 \
--port 8080 \
-dev Vulkan0 \
-ngl 999 \
-fa on \
-c 262144 \
-b 2048 \
-ub 256 \
-t 16 \
-tb 16 \
-ctk f16 \
-ctv f16 \
-cpent 256 \
-ctxcp 32 \
--cache-reuse 256 \
--cache-ram 65536 \
--temp 0.6 \
--top-p 0.95 \
--top-k 20 \
--min-p 0.0 \
--spec-type draft-mtp \
--spec-draft-device Vulkan0 \
--spec-draft-ngl all \
--spec-draft-type-k f16 \
--spec-draft-type-v f16 \
--spec-draft-n-max 5 \
--spec-draft-n-min 2 \
--spec-draft-p-min 0.0 \
--spec-draft-p-split 0.10 \
--chat-template-file chat_template.jinja \
--reasoning on \
--reasoning-format deepseek \
--chat-template-kwargs '{"preserve_thinking": true}' \
--jinja \
--parallel 1 \
--metrics \
--no-mmap \
--mmproj mmproj-F32.gguf \
--image-min-tokens 1024
The last two lines enable vision — the mmproj-F32.gguf Qwen3-VL projector is bundled in this repo; omit them for text-only. --image-min-tokens 1024 is required whenever --mmproj is set.
temp=1.0, top_p=0.95, top_k=20, min_p=0.0. We serve at temp 0.6 (Qwen3.6 "precise coding" preset) by default — raise to 1.0 for open-ended/creative tasks.
OpenAI-compatible client (e.g. OpenCode). In single-model mode llama-server ignores the request's model field, so the client's model name is just a label.
- Base URL:
http://<host>:8080/v1· API key: any non-empty string (e.g.sk-local) - Model id this server reports:
thinkingcap-27b
A patched OpenCode that compacts conversation history without invalidating the prompt cache is at PlunderStruck/opencode — pair it with the checkpoint flags to keep long sessions fast.
Qwen3-VL lineage — vision works via the bundled mmproj-F32.gguf projector at launch with --mmproj (no different LLM GGUF needed).
# add to your llama-server launch:
--mmproj mmproj-F32.gguf \
--image-min-tokens 1024 # REQUIRED — Qwen-VL needs >=1024 image tokens or it misreads fine detail
<think>, else the visible answer can come back empty. With --mmproj loaded the server disables the --cache-reuse feature (multimodal caching isn't supported).
This is the best speed/quality balance in ROCmFP4 — by design, not the absolute fastest. It keeps the two quality levers that are actually felt — genuine f16 token embeddings and a Q6_K output head — on the fast single-scale body, with no imatrix calibration (this recipe's default for the dense Qwen3.6-27B line — see the 27B card for the full lever sweep and rationale).
Hands-on, on a Framework Desktop / AMD Ryzen AI Max+ 395 (gfx1151, 128 GB unified):
Build the fork:
git clone https://github.com/charlie12345/ROCmFPX
cd ROCmFPX && git checkout experimental-rocmfpx-branch
env JOBS=16 scripts/build-strix-rocmfp4-mtp.sh
Quantize from the bottlecapai F16 GGUF — ROCmFP4 body, genuine f16 embeddings, Q6_K head, no imatrix:
# the one build: STRIX preset + f16 embeddings + Q6_K output head
llama-quantize \
--token-embedding-type f16 \
--output-tensor-type q6_K \
ThinkingCap-Qwen3.6-27B-f16.gguf \
ThinkingCap-Qwen3.6-27B-ROCmFP4-STRIX-embF16-headQ6.gguf \
Q4_0_ROCMFP4_STRIX
Architecture (qwen35): 64 blocks, 5120 hidden, dense (not MoE), nextn_predict_layers=1 MTP head — self-speculative draft-MTP survives quantization. Format: ROCmFP4 is a 4-bit weight format for AMD using an FP4-derived value codebook plus one (FAST) or two (dual) UE4M3/FP8 scale bytes per 32-weight block; tensor-aware. This build (STRIX-embF16-headQ6): quality-biased STRIX preset + f16 token embeddings (full precision; a lookup, so ~zero decode cost) + a Q6_K output head. Attention K/V (+ fused QKV) run q4_0_rocmfp4 (dual-scale); FFN/rest run q4_0_rocmfp4_fast (single-scale).
Experimental research build for AMD Strix Halo — hardware-, driver-, model-, and prompt-sensitive, may not reproduce on other GPUs. Not native FP4 tensor-core execution. Do not treat these numbers as upstream llama.cpp claims.
Derivative quantization — Apache 2.0, same as the base model.
- Downloads last month
- 360
16-bit