Instructions to use byteshape/Qwen3.6-35B-A3B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use byteshape/Qwen3.6-35B-A3B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="byteshape/Qwen3.6-35B-A3B-GGUF") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("byteshape/Qwen3.6-35B-A3B-GGUF", dtype="auto") - llama-cpp-python
How to use byteshape/Qwen3.6-35B-A3B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="byteshape/Qwen3.6-35B-A3B-GGUF", filename="Qwen3.6-35B-A3B-IQ2_S-2.17bpw.gguf", )
llm.create_chat_completion( 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" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use byteshape/Qwen3.6-35B-A3B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S # Run inference directly in the terminal: llama-cli -hf byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S # Run inference directly in the terminal: llama-cli -hf byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
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 byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
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 byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
Use Docker
docker model run hf.co/byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
- LM Studio
- Jan
- vLLM
How to use byteshape/Qwen3.6-35B-A3B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "byteshape/Qwen3.6-35B-A3B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "byteshape/Qwen3.6-35B-A3B-GGUF", "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/byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
- SGLang
How to use byteshape/Qwen3.6-35B-A3B-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "byteshape/Qwen3.6-35B-A3B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "byteshape/Qwen3.6-35B-A3B-GGUF", "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 images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "byteshape/Qwen3.6-35B-A3B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "byteshape/Qwen3.6-35B-A3B-GGUF", "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" } } ] } ] }' - Ollama
How to use byteshape/Qwen3.6-35B-A3B-GGUF with Ollama:
ollama run hf.co/byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
- Unsloth Studio new
How to use byteshape/Qwen3.6-35B-A3B-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 byteshape/Qwen3.6-35B-A3B-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 byteshape/Qwen3.6-35B-A3B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for byteshape/Qwen3.6-35B-A3B-GGUF to start chatting
- Pi new
How to use byteshape/Qwen3.6-35B-A3B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
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": "byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use byteshape/Qwen3.6-35B-A3B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
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 byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
Run Hermes
hermes
- Docker Model Runner
How to use byteshape/Qwen3.6-35B-A3B-GGUF with Docker Model Runner:
docker model run hf.co/byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
- Lemonade
How to use byteshape/Qwen3.6-35B-A3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull byteshape/Qwen3.6-35B-A3B-GGUF:Q4_K_S
Run and chat with the model
lemonade run user.Qwen3.6-35B-A3B-GGUF-Q4_K_S
List all available models
lemonade list
Bigger quants
Your quants are fantastic - great in both tk/s (speed) and intelligence. The speed is so good, that I would trade part of it for even better precision (quality) in the intelligence.
Kindly asking for Q5-6 quants.
Oh, and any plans for dense Qwen3.6-27B? It would be much appreciated 🙏
Thank you for the kind words! Really glad to hear you’re finding the quants useful.
On larger quants, our experiments show that the 4-bit model is already almost on par with BF16, so bigger quants did not show a compelling speed/size vs. quality trade-off in our tests.
That said, if you have a specific task, benchmark, or set of prompts where these models are lagging behind higher quants, we’d be very happy to investigate. That kind of feedback would actually be very helpful for improving our quants.
For the 27B model, with 3.7 coming soon, it is not very likely that we will release it. It takes us some time to properly evaluate a good set of models, and 27B dense is also much slower than the MoEs.
Is this the absolute best 4bit quant of qwen3.6 35b ? Cause in all the quants I saw for this model, you need q5-q6 to be able to say it's 99.9 the same as q8, which is pretty much same as f16.
What is the raw data you have behind the claim that q4 is almost on par with bf16 ?
Thank you for your comment.
For our model releases, we optimize across three objectives: speed, size, and quality. The goal is not to focus on only one of them, but to find the best overall trade-off: strong quality, high speed, and the smallest possible model size.
Our quality score is measured across six benchmarks, including:
- BFCL-V3
- LiveCodeBench V6
- HumanEval
- GSM8K
- IFEVAL
- GSM8K_V (evaluated in both thinking and instruct modes)
So when you ask whether this is the "absolute best" 4-bit quant, the answer depends on what you mean by best. If you mean the highest absolute benchmark score, then no, there are models that score slightly higher. For example, in our benchmarks:
- Mudler-APEX-Quality scores 99.5 on average
- Our GPU-5 scores 99.27
But our GPU-5 is also about 25% smaller and runs more than 10% faster. That means it can fit into smaller VRAM budgets while delivering almost the same measured quality. For us, that is the trade-off we are trying to optimize.
Another useful comparison is Unsloth's UD-IQ4_XS. It is very close to our GPU-5 model, about 1.5% smaller and 0.2% higher in score, but in our tests it runs even slower than Mudler-APEX-Quality. So again, the question becomes whether that small quality difference is worth the speed cost.
We are always working to improve both our methods and our evaluation process. That includes ShapeLearn, which learns the best datatype for each tensor, as well as how we benchmark, compare, and validate model quality. For this Qwen 3.6 series, we also found that sampling parameters matter quite a bit. With the right settings, we think the improvements are noticeable in practice.
That said, we are planning a blog post soon that will go deeper into model quality, benchmarking, KLD, and the data behind these comparisons.
We rely heavily on community feedback to improve, and we really appreciate everyone's comments, questions, and participation. :)