Instructions to use YTan2000/Qwen3.6-35B-A3B-TQ3_4S 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 YTan2000/Qwen3.6-35B-A3B-TQ3_4S 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 YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16 # Run inference directly in the terminal: llama cli -hf YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16 # Run inference directly in the terminal: llama cli -hf YTan2000/Qwen3.6-35B-A3B-TQ3_4S: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 YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16 # Run inference directly in the terminal: ./llama-cli -hf YTan2000/Qwen3.6-35B-A3B-TQ3_4S: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 YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
Use Docker
docker model run hf.co/YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
- LM Studio
- Jan
- vLLM
How to use YTan2000/Qwen3.6-35B-A3B-TQ3_4S with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "YTan2000/Qwen3.6-35B-A3B-TQ3_4S" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "YTan2000/Qwen3.6-35B-A3B-TQ3_4S", "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/YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
- Ollama
How to use YTan2000/Qwen3.6-35B-A3B-TQ3_4S with Ollama:
ollama run hf.co/YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
- Unsloth Desktop
- Pi
How to use YTan2000/Qwen3.6-35B-A3B-TQ3_4S with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use YTan2000/Qwen3.6-35B-A3B-TQ3_4S with Docker Model Runner:
docker model run hf.co/YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
- Lemonade
How to use YTan2000/Qwen3.6-35B-A3B-TQ3_4S with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
Run and chat with the model
lemonade run user.Qwen3.6-35B-A3B-TQ3_4S-BF16
List all available models
lemonade list
- Hermes Agent
How to use YTan2000/Qwen3.6-35B-A3B-TQ3_4S with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YTan2000/Qwen3.6-35B-A3B-TQ3_4S: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 YTan2000/Qwen3.6-35B-A3B-TQ3_4S:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use YTan2000/Qwen3.6-35B-A3B-TQ3_4S with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf YTan2000/Qwen3.6-35B-A3B-TQ3_4S: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 "YTan2000/Qwen3.6-35B-A3B-TQ3_4S: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"
llama.cpp-hip-turboquant β ROCm port of the TurboQuant fork (turbo-tan) for AMD RX 7900 XTX
llama.cpp-hip-turboquant
Arch Linux PKGBUILD and minimal patch to build the
turbo-tan/llama.cpp-tq3 fork
with the HIP/ROCm backend, enabling TurboQuant-quantized models
(TQ3_1S, TQ3_4S) and TQ3_0 KV cache on AMD GPUs.
The upstream fork is CUDA-only β this patch only adds the HIP shims required
for the GPU kernels. No change to the TurboQuant logic itself.
GITHUB : https://github.com/flamme-demon/llama.cpp-hip-turboquant-tq3
Validated on
- GPU: AMD Radeon RX 7900 XTX (gfx1100)
- ROCm: 7.2.0 / HIP 7.2.26043
- OS: Manjaro Linux (kernel 6.19)
- Model:
YTan2000/Qwen3.6-35B-A3B-TQ3_4S+ BF16 mmproj
Measured performance (llama-server, 65k context)
| Config | Prompt | Generation |
|---|---|---|
-ctk q4_0 -ctv tq3_0 -fa on |
238 t/s | 78.2 t/s |
| Default f16 KV cache | 159 t/s | 89.6 t/s |
VRAM usage: ~15 / 24 GB (full 35B model on GPU).
What the patch changes
112 lines, 4 files in ggml/src/ggml-cuda/:
vendors/hip.hβ variadic__shfl_*_syncmacros (3/4-arg),__ballot_sync,cudaEventCreate/cudaEventElapsedTimeshims.tq3-native.cuhβ conditional HIP vs CUDA include forfp16.handGGML_COMMON_DECL_*.tq3-native.cuβ include order (common.cuhbeforetq3-native.cuh).vecdotq.cuhβ replaces 4Γ__dp4awithggml_cuda_dp4a(portable wrapper
that maps tov_dot4con RDNA3).
Install
git clone <this-repo> llama.cpp-hip-turboquant
cd llama.cpp-hip-turboquant
makepkg -si
The package conflicts with llama.cpp and llama.cpp-hip (both ship
/usr/bin/llama-server). pacman will handle the transition.
Limitations
- GGML_RPC=OFF β the RPC backend is disabled because of a static_assert on
GGML_OP_COUNT that changed upstream. Patch separately if you need it.
- llama-cli: add --no-warmup to avoid a rare kernel that hangs during
warmup. llama-server is not affected.
Supported types in this build
ββββββββββ¬ββββββ¬ββββββββββββββββββ
β Type β ID β Role β
ββββββββββΌββββββΌββββββββββββββββββ€
β TQ3_1S β 44 β Weights β
ββββββββββΌββββββΌββββββββββββββββββ€
β TQ3_4S β 46 β Weights (4 bpw) β
ββββββββββΌββββββΌββββββββββββββββββ€
β TQ3_0 β 200 β KV cache β
ββββββββββ΄ββββββ΄ββββββββββββββββββ
The TURBO2_0 / TURBO3_0 / TURBO4_0 / TQ4_1S variants from the
https://github.com/domvox/llama.cpp-turboquant-hip fork are not
supported β the two KV cache designs have diverged.
Credits
- Upstream TurboQuant (CUDA): https://github.com/turbo-tan/llama.cpp-tq3
- Original HIP port (different KV cache design):
https://github.com/domvox/llama.cpp-turboquant-hip
- Base PKGBUILD: llama.cpp-hip by Orion-zhen / txtsd on AUR
- Paper: https://arxiv.org/abs/2504.19874
License
MIT (same as upstream llama.cpp).
Nice work, I incorporate your change in this branch https://github.com/turbo-tan/llama.cpp-tq3/tree/experiment/hip-tq3-support
if it work, I will merged into main, your fork is outdated and miss a few enhancement
can you confirm it work?
I built the version on my machine and played around with the model, yes.
merged into master. thanks!