Instructions to use Qwen/Qwen3-235B-A22B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3-235B-A22B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Qwen/Qwen3-235B-A22B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-235B-A22B") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-235B-A22B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Qwen/Qwen3-235B-A22B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/Qwen3-235B-A22B" # 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-235B-A22B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Qwen/Qwen3-235B-A22B
- SGLang
How to use Qwen/Qwen3-235B-A22B 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-235B-A22B" \ --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-235B-A22B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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-235B-A22B" \ --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-235B-A22B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Qwen/Qwen3-235B-A22B with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3-235B-A22B
Listed on OpenModelMap
#48 opened 20 days ago
by
duola15
Listed on OpenModelMap
#47 opened about 1 month ago
by
duola15
TemporalMesh Transformer: 29.4 PPL at 48% compute — beats Mamba, new open-source architecture
#46 opened about 2 months ago
by
vigneshwar234
Add EvalEval community eval results
#45 opened about 2 months ago
by
EvalEvalBot
Add SWE-Bench Pro evaluation results
#44 opened 5 months ago
by
nielsr
What is the minimum hardware needed to run Qwen3-235B-A22B with vLLM?
#43 opened 8 months ago
by
PYTHON01100100
yarn scale to 122,880 context length
#41 opened about 1 year ago
by
nbroad
chat_template issue
#40 opened about 1 year ago
by
Alex-Chan
Add assistant mask support to Qwen3-235B-A22B
🚀 2
#38 opened about 1 year ago
by
waleko
system prompt suggestion
1
#37 opened about 1 year ago
by
Shuaiqi
Publish to GitHub Marketplace
#36 opened about 1 year ago
by
typed-sigterm
The Qwen3-235B-A22B model is not as effective as the Qwen3-32B model.
🔥 4
#35 opened about 1 year ago
by
czqqq
Video?
2
#34 opened about 1 year ago
by
jujutechnology
关于Qwen3-235B-A22B在文学创作中“思维链”模式对输出风格影响的观察与建议
🧠👍 8
#33 opened about 1 year ago
by
yxcl6874
In complex reasoning tasks Qwen3 is far behind QwQ
12
#32 opened about 1 year ago
by
AdamF92
I know not related but saw This Star Wars picture on Facebook and i thought it is code so trying to say Hi to Someone named John!
#31 opened about 1 year ago
by
ebearden
Not sure Clocks keep coming up and keep getting the run around might need time stamping confirmations?
#30 opened about 1 year ago
by
ebearden
Not Sure Orginal to Persian to Binary?
#29 opened about 1 year ago
by
ebearden
Qwen3 is simply amazing.
#28 opened about 1 year ago
by
Trilogix1
Upload b891b3c3bb6a146a8e809bb72a06d101.png
#27 opened about 1 year ago
by
Jalil16
Add image visual recognition output just like qwen 2.5 vl-32b instruct
6
#26 opened about 1 year ago
by
devopsML
English to French - French to English based on Meta & HuggingFace Chat Bot
#25 opened about 1 year ago
by
ebearden
Qwen3 幻觉太高了,比 Qwen 2.5 差太多了
9
#24 opened about 1 year ago
by
hehua2008
Upload 3 files
#23 opened about 1 year ago
by
neuroQuantu
Upload 3 files
1
#22 opened about 1 year ago
by
neuroQuantu
Model keeps talking about Cumhurbaşkanlığı Sarayı when speaking Turkish
#21 opened about 1 year ago
by
aeminkocal
Qwen3 not Using Tools in Complex Prompts Unlike QwQ-32B
8
#20 opened about 1 year ago
by
Paul-Roeseler
Thanks a lot for this release
🔥 3
#19 opened about 1 year ago
by
Volko76
Does anyone feel Qwen3 often fails to follow instructions accurately?
🚀 8
7
#18 opened about 1 year ago
by
DOFOFFICIAL
Two of the base models are missing
➕ 1
1
#17 opened about 1 year ago
by deleted
Qwen is loosing broad knowledge since Qwen2.
🔥👍 11
16
#16 opened about 1 year ago
by
phil111
GPQA perf for DSV3-Base seems wrong
➕ 3
2
#15 opened about 1 year ago
by
AChen-qaq
72B-MoE
👍 4
#13 opened about 1 year ago
by
avalonsec
235B会放出来Base模型吗?
➕ 8
#12 opened about 1 year ago
by
Yantao2009
看模型介绍和模型结构里面没有关于vision encoder的部分,但是在qwen的在线模型服务界面可以用这个模型去看图片,想问下视觉部分是复用了哪个vision encoder呢?
5
#11 opened about 1 year ago
by
Chloez
有用4张H20实践过的大佬吗
2
#10 opened about 1 year ago
by
Edison0902
8张80G显存的8卡A100能部署不?
11
#9 opened about 1 year ago
by
Yuxin362
User rating and reviews of Qwen3 App and Qwen3 Model
#8 opened about 1 year ago
by
DeepNLP
是不是奖励函数没有ngram重复度惩罚
2
#7 opened about 1 year ago
by
wzx111
🚀[Fine-tuning] Qwen3-MoE Megatron Training Implementation and Best Practices👋
🚀 7
1
#6 opened about 1 year ago
by
study-hjt
【Evaluation】Best practice for evaluating Qwen3 !!
🚀👍 4
#5 opened about 1 year ago
by
wangxingjun778
Please upload the base model for this one
👍 6
#4 opened about 1 year ago
by
mesh-ops
GPTQ/AWQ
👀 14
4
#3 opened about 1 year ago
by
ndurkee
Add languages tag
#2 opened about 1 year ago
by
de-francophones