Instructions to use Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT", filename="mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00001-of-00024.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 Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS # Run inference directly in the terminal: llama-cli -hf Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS # Run inference directly in the terminal: llama-cli -hf Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
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 Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS # Run inference directly in the terminal: ./llama-cli -hf Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
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 Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS # Run inference directly in the terminal: ./build/bin/llama-cli -hf Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
Use Docker
docker model run hf.co/Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
- LM Studio
- Jan
- Ollama
How to use Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT with Ollama:
ollama run hf.co/Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
- Unsloth Studio
How to use Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT 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 Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT 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 Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT to start chatting
- Pi
How to use Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
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": "Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
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 Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT with Docker Model Runner:
docker model run hf.co/Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
- Lemonade
How to use Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Thireus/mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT:IQ2_XS
Run and chat with the model
lemonade run user.mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_SPLIT-IQ2_XS
List all available models
lemonade list
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00002-of-00024.gguf:6c11f3c48a453f6eb6fc0e5815fdaf3e9b028a10dd3dab612f4baf10981546d1:output.weight:shape=(4096, 248320):dtype=iq2_xs:elements=1017118720:bytes=294010880 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00003-of-00024.gguf:26b7e562d7282a158692147fd648b3f2d9539c3e0cfd806682efd16a542b1bbe:token_embd.weight:shape=(4096, 248320):dtype=iq2_xs:elements=1017118720:bytes=294010880 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00004-of-00024.gguf:b84a39df945d79d46375ecbcf54ef8173a6ef59fa74ac72e653a51a5fffda9f3:blk.60.attn_q.weight:shape=(4096, 16384):dtype=iq2_xs:elements=67108864:bytes=19398656 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00005-of-00024.gguf:fd255a11fa68540100f1689eb21fc45b16806a18c54a551002f784c7ec934a81:blk.60.nextn.eh_proj.weight:shape=(8192, 4096):dtype=iq2_xs:elements=33554432:bytes=9699328 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00006-of-00024.gguf:08ba6d09910277196059c862d2cad9dca23c3d600076325dea9c18e20e96749c:blk.60.attn_output.weight:shape=(8192, 4096):dtype=iq2_xs:elements=33554432:bytes=9699328 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00007-of-00024.gguf:2439e05c75a111d0cf04c507204a6de067cbb82098454d152c7fb9bd73241df0:output_norm.weight:shape=(4096,):dtype=f32:elements=4096:bytes=16384 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00008-of-00024.gguf:1a383841b9c1a14f4526917d4ed05710344fc5583e4c826e0ad427618293c9eb:blk.60.attn_norm.weight:shape=(4096,):dtype=f32:elements=4096:bytes=16384 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00009-of-00024.gguf:15f8419db902b21a30b4e81a4bf3f0d657135e9afe385a4ff01dfe831d878c76:blk.60.ffn_down_exps.weight:shape=(1024, 4096, 512):dtype=iq2_xs:elements=2147483648:bytes=620756992 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00010-of-00024.gguf:35ab83bbd4bfa34372e046ea9aa240f9c97a8379499fa08d3a54c0e58915d040:blk.60.ffn_gate_exps.weight:shape=(4096, 1024, 512):dtype=iq2_xs:elements=2147483648:bytes=620756992 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00011-of-00024.gguf:7ea54066a123042ab424ad3ea35e4957482ee83d6792428a372a061092b5770b:blk.60.ffn_up_exps.weight:shape=(4096, 1024, 512):dtype=iq2_xs:elements=2147483648:bytes=620756992 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00012-of-00024.gguf:5700fd87103c9525804cdcc87f8d25f5c2153bf1ec5db300de3abe011afc4a37:blk.60.ffn_gate_inp.weight:shape=(4096, 512):dtype=bf16:elements=2097152:bytes=4194304 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00013-of-00024.gguf:716967ff450d4fdcdf32136b4aab8df0f5d2c452a791696d670c18fa84c08651:blk.60.ffn_down_shexp.weight:shape=(1024, 4096):dtype=iq2_xs:elements=4194304:bytes=1212416 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00014-of-00024.gguf:8062d986ec150ec6c21c33128a17ad387f6f1846de1b7bc062b9264d4e792c72:blk.60.ffn_gate_shexp.weight:shape=(4096, 1024):dtype=iq2_xs:elements=4194304:bytes=1212416 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00015-of-00024.gguf:bd51870c459e621a6f860a3d3c578cff913f7c68d6c84445bc79e40cb9f1135b:blk.60.ffn_up_shexp.weight:shape=(4096, 1024):dtype=iq2_xs:elements=4194304:bytes=1212416 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00016-of-00024.gguf:da01c2854a2b2689da9016560432916f40907d53b4383facc193b030690d117b:blk.60.ffn_gate_inp_shexp.weight:shape=(4096,):dtype=bf16:elements=4096:bytes=8192 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00017-of-00024.gguf:31c12485ad7302732e14c61468643b9646c5101ef86ce09416a040dbcc73ab28:blk.60.post_attention_norm.weight:shape=(4096,):dtype=f32:elements=4096:bytes=16384 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00018-of-00024.gguf:b1dd08c4fa66cb1ef4b884ca61d1f39ae308a21aa18f5bfb5cdb3e4ebbd3ed30:blk.60.attn_k_norm.weight:shape=(256,):dtype=f32:elements=256:bytes=1024 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00019-of-00024.gguf:5f2b0974b6e6ece5775062ed27b23f6f2d45b0c66e45cfc356fd38b75c01dd54:blk.60.attn_k.weight:shape=(4096, 512):dtype=iq2_xs:elements=2097152:bytes=606208 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00020-of-00024.gguf:13d11323507a6ae7fcc950d01198c78d26d71b589c25c7489ee75d2679023419:blk.60.attn_q_norm.weight:shape=(256,):dtype=f32:elements=256:bytes=1024 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00021-of-00024.gguf:576b5de63223eb879f71f032f76fdff07148f7e9d1a56555ae274fa1121d3f52:blk.60.attn_v.weight:shape=(4096, 512):dtype=iq2_xs:elements=2097152:bytes=606208 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00022-of-00024.gguf:5f9192fcd24af94df159de8e20ac22c4c26e37558e27b7adc86322abae79ed08:blk.60.nextn.shared_head_norm.weight:shape=(4096,):dtype=f32:elements=4096:bytes=16384 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00023-of-00024.gguf:64ef3cc4d66ab84b84ec15a3a3f37257914b73ab1446bb4d85484bc7d089ba13:blk.60.nextn.enorm.weight:shape=(4096,):dtype=f32:elements=4096:bytes=16384 | |
| mtp-Qwen3.5-397B-A17B-THIREUS-IQ2_XS-SPECIAL_TENSOR-00024-of-00024.gguf:3770f6f1db4ce7763dcf6745cfe274c59d7e4d4cdc1031ce6c186e015dd95da7:blk.60.nextn.hnorm.weight:shape=(4096,):dtype=f32:elements=4096:bytes=16384 | |