Instructions to use Qwen/Qwen3-235B-A22B-Instruct-2507 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3-235B-A22B-Instruct-2507 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Qwen/Qwen3-235B-A22B-Instruct-2507") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-235B-A22B-Instruct-2507") model = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen3-235B-A22B-Instruct-2507") 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-Instruct-2507 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-Instruct-2507" # 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-Instruct-2507", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Qwen/Qwen3-235B-A22B-Instruct-2507
- SGLang
How to use Qwen/Qwen3-235B-A22B-Instruct-2507 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-Instruct-2507" \ --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-Instruct-2507", "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-Instruct-2507" \ --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-Instruct-2507", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Qwen/Qwen3-235B-A22B-Instruct-2507 with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3-235B-A22B-Instruct-2507
Add EvalEval community eval results
#41 opened 12 days ago
by
EvalEvalBot
Qwen/Qwen3-VL-235B-A22B-Instruct vs Qwen/Qwen3-235B-A22B-Instruct
#40 opened about 1 month ago
by
guillem-escriba-02
Qwen 3 for performance testing?
#39 opened 5 months ago
by
TylerHilbert
Paid Contract: Deploy Fine-Tuned Qwen3-235B-A22B + Full Production Integration
#38 opened 7 months ago
by
philosop
Qwen3-235B-A22B-Instruct Prioritizing Few-Shot Examples Over Explicit Instructions
#37 opened 8 months ago
by
Mann1904
head_dim in config.json is incorrect?
π 2
1
#36 opened 8 months ago
by
zackangelo
Adding mention of Tinker and TRL support
π₯ 1
#35 opened 9 months ago
by
clem
Chinese characters added in the response
1
#34 opened 9 months ago
by
DrAliGomaa
Can you provide quantization like Qwen3-235B-A22B-IGPTQ-INT4 ?
π 1
#33 opened 9 months ago
by
djdeniro
NF4 for inference?
#32 opened 10 months ago
by
Aly87
W8A8 Quantization leads to wrong token
π 1
#31 opened 10 months ago
by
opter
The model frequently refused to call tool
#28 opened 11 months ago
by
O-delicious
tool_call streaming returns no `arguments`, which is not compatible with langchain framework
#27 opened 11 months ago
by
LeonLiao
cerebras outputting <think>
1
#26 opened 11 months ago
by
therealkenc
π[Fine-tuning] 8x80GiB GPUs LoRA finetuning Qwen3-235B-A22B-Instruct-2507
π€ 4
1
#25 opened 11 months ago
by
study-hjt
π Evaluation Best Practice !
π 4
#24 opened 11 months ago
by
Yunxz
int4 and awq version
1
#23 opened 11 months ago
by
devops724
Tokenizer template is wrong?
1
#22 opened 11 months ago
by
eugenhotaj-ppl
Update README.md
#21 opened 11 months ago
by
EtherAI
Update README.md
#20 opened 11 months ago
by
csabakecskemeti
download on kaggle
#19 opened 11 months ago
by
malik33
An interesting phenomenon
2
#18 opened 11 months ago
by
Shuaiqi
Can this Run on 5090 64gb ram and 9950x3d
1
#17 opened 11 months ago
by
GrimReaper000
Good idea to remove the hybrid thinking mode
π 4
1
#16 opened 11 months ago
by
rtzurtz
Why not introduce the 235b-2507 inference model
#15 opened 11 months ago
by
xldistance
What is GPT-4o-0327?
#14 opened 11 months ago
by
zml24
Jinja template fails on llama.cpp and has think tags for non-thinking model
#13 opened 11 months ago
by
sirus
Smaller models update?
βπ 12
4
#12 opened 11 months ago
by
snapo
Failed to do function calling by qwe-3-235b-a22b-2507 provided by openrouter
#11 opened 11 months ago
by
LucyU2001
Does this version support yarn context extension?
#10 opened 11 months ago
by
rentianyue
4 bit quantisation release?
β 10
1
#9 opened 11 months ago
by
mochiyo
[Experiment] Confirmed by Arc Prize
1
#8 opened 11 months ago
by
clem
Just admit you train on the benchmark datasets
ππ 18
8
#7 opened 11 months ago
by
ChuckMcSneed
Review and Testing Video - Step by Step
#6 opened 11 months ago
by
fahdmirzac
Ensure Cerebras, Groq, and SambaNova support this.
β 6
#5 opened 11 months ago
by
AntDX316
SimpleQA jumped from 12.2 to 54.3?
π₯π§ 24
25
#4 opened 11 months ago
by
phil111
Update README.md to fix invalid yaml
π 1
1
#3 opened 11 months ago
by
neilmehta24
Base model
β 11
#2 opened 11 months ago
by
NyxKrage
Small Models
π 19
4
#1 opened 11 months ago
by
PSM24