Instructions to use Qwen/Qwen3.5-122B-A10B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3.5-122B-A10B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Qwen/Qwen3.5-122B-A10B") 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, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("Qwen/Qwen3.5-122B-A10B") model = AutoModelForImageTextToText.from_pretrained("Qwen/Qwen3.5-122B-A10B") 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
- Local Apps
- vLLM
How to use Qwen/Qwen3.5-122B-A10B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/Qwen3.5-122B-A10B" # 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-122B-A10B", "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-122B-A10B
- SGLang
How to use Qwen/Qwen3.5-122B-A10B 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-122B-A10B" \ --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-122B-A10B", "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-122B-A10B" \ --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-122B-A10B", "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-122B-A10B with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3.5-122B-A10B
Please release Qwen3.6-122B-A10B
🔥 5
12
#23 opened 17 days ago
by
Kosh69
fix chat template to avoid empty historical `<think>` blocks
👍 25
1
#22 opened about 2 months ago
by
latent-variable
Add YC-Bench benchmark result (avg $0)
#21 opened about 2 months ago
by
RiddleHe
PLS BASE ver.
#20 opened 2 months ago
by
EvilinaMaller
Model loading reduction from 5.5 minutes to 5.26 seconds
1
#19 opened 2 months ago
by
tcclaviger
MTP Working on AMD 4xR9700 and MXFP4 Custom Kernel
👍 1
1
#18 opened 2 months ago
by
tcclaviger
Add ScreenSpot-Pro evaluation result
#17 opened 2 months ago
by
merve
40B to 80B dense LLM: A better/smarter model than 122B that can still fit
1
#16 opened 3 months ago
by
rtzurtz
Not abliterated
1
#15 opened 3 months ago
by
Korberich
issue with vllm running
1
#12 opened 3 months ago
by
aathi1324
qwen3.5本地部署后都是使用英文进行推理,这样对吗?
#11 opened 3 months ago
by
mimeng1990
hope to be able to release nightmedia/Qwen3.5-122B-A10B-Text-qx86-hi-mlx,
#10 opened 3 months ago
by
mimeng1990
Qianwen is amazing! He made so many models of different sizes. This is a wonderful thing for the people!
🤗 1
#9 opened 3 months ago
by
mimeng1990
Add evaluation results
#8 opened 3 months ago
by
SaylorTwift
感谢qwen团队的工作!
#7 opened 3 months ago
by
Simon716
Will there be an Instruct version?
3
#6 opened 3 months ago
by
a-r-c
Speed is so good especially the prompt preprocessing, much much faster than coder-next
#5 opened 3 months ago
by
rosspanda0
Official FP8
👀👍 14
4
#4 opened 3 months ago
by
retowyss
Thank you team Qwen for a 120B LLM
❤️ 3
2
#3 opened 3 months ago
by
rtzurtz
Benchmarks against Qwen Coder Next 80B
👍👀 10
1
#2 opened 3 months ago
by
ztsvvstz
请千万千万别忘了把 Qwen Image 2.0 也开源——这对我们本地用户来说会是个巨大的改变 :-)
🤗 3
#1 opened 3 months ago
by
Hanswalter