Instructions to use Qwen/Qwen3.5-35B-A3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3.5-35B-A3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Qwen/Qwen3.5-35B-A3B") 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 AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Qwen/Qwen3.5-35B-A3B") model = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen3.5-35B-A3B", device_map="auto") 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?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- AMD Developer Cloud
- Local Apps Settings
- vLLM
How to use Qwen/Qwen3.5-35B-A3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/Qwen3.5-35B-A3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Qwen/Qwen3.5-35B-A3B", "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/Qwen/Qwen3.5-35B-A3B
- SGLang
How to use Qwen/Qwen3.5-35B-A3B 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 "Qwen/Qwen3.5-35B-A3B" \ --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": "Qwen/Qwen3.5-35B-A3B", "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 "Qwen/Qwen3.5-35B-A3B" \ --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": "Qwen/Qwen3.5-35B-A3B", "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" } } ] } ] }' - Docker Model Runner
How to use Qwen/Qwen3.5-35B-A3B with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3.5-35B-A3B
Qwen Team :- Qwen3-coder-next vs Qwen3.5-35B-A3B for coding
2
#29 opened 5 months ago
by
mayankiit04
comment here if you are from actionfi hugging face task
#28 opened 5 months ago
by
jairusl
ghuon
2
#27 opened 5 months ago
by
jayengkoplo
CHAMPIONS LEAGUE
#26 opened 5 months ago
by
dreezy05
wow cool
3
#25 opened 5 months ago
by
princejoe12
Is `qwen3_nonthinking.jinja` available for disabling thinking?
7
#23 opened 5 months ago
by
kraftDong
Update README.md
#21 opened 5 months ago
by
amoduadeola
My suggestion
#20 opened 5 months ago
by
amoduadeola
Reasoning content leaks into `message.content` with JSON schema response format
❤️🔥 9
2
#18 opened 5 months ago
by
Tikhonum
Quantization AWQ INT4
1
#17 opened 5 months ago
by
abbas381366
I would like a recommended training environment setup for the Qwen3.5-MoE model (e.g., Qwen3.5-35B-A3B, model_type: qwen3_5_moe).
👍 1
1
#16 opened 5 months ago
by
444515liuxin
数字和中文之间多了空格,在某些场景下完全用不了。
14
#15 opened 5 months ago
by
waxwax0099
Update README.md
#12 opened 5 months ago
by
Sadiqeen
Add evaluation results
#11 opened 5 months ago
by
SaylorTwift
Context-Folding Reproducibility | 可复现性 ?
➕ 7
#10 opened 5 months ago
by
pandemo
Chat template for Pi AGent
3
#9 opened 5 months ago
by
nimishchaudhari
LESS GOo
2
#8 opened 5 months ago
by
Akicou
🚀 Qwen3.5 Dense/MoE Training Support
🔥❤️ 2
2
#7 opened 5 months ago
by
study-hjt
Installation Video and Testing - Step by Step
#6 opened 5 months ago
by
fahdmirzac
Why is this part of the default template?
1
#5 opened 5 months ago
by
DaGhostman
tool calling chat template is broken
👍 5
5
#4 opened 5 months ago
by
fullstack
Instruct mode metrics
2
#3 opened 5 months ago
by
Baskermas
Great release! Thank you Qwen!
❤️🔥 9
2
#2 opened 5 months ago
by
Dampfinchen
请千万千万别忘了把 Qwen Image 2.0 也开源——这对我们本地用户来说会是个巨大的改变 :-)
2
#1 opened 5 months ago
by
Hanswalter