Text Generation
Transformers
Safetensors
qwen3
conversational
Eval Results
text-generation-inference
Instructions to use Qwen/Qwen3-32B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3-32B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Qwen/Qwen3-32B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-32B") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-32B") 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-32B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/Qwen3-32B" # 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-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Qwen/Qwen3-32B
- SGLang
How to use Qwen/Qwen3-32B 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-32B" \ --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-32B", "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-32B" \ --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-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Qwen/Qwen3-32B with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3-32B
TemporalMesh Transformer: 29.4 PPL at 48% compute β beats Mamba, new open-source architecture
#47 opened about 3 hours ago
by
vigneshwar234
Add LEXam evaluation results
#46 opened 5 days ago
by
joelniklaus
Install & run Qwen/Qwen3-32B easily using llmpm
#45 opened 3 months ago
by
sarthak-saxena
original_max_position_embeddings for YaRN
#44 opened 4 months ago
by
XirenZhou
WHEN WILL THE BASE MODEL BE RELEASED? WHEN WILL THE BASE MODEL BE RELEASED? WHEN WILL THE BASE MODEL BE RELEASED?
β 3
#43 opened 8 months ago
by
Linksome
When can we see the base model for Qwen3 32B?
π₯ 6
#41 opened 10 months ago
by
arpitsh018
Will Qwen3-32B be updated just like Qwen3-235B-A22B?
2
#40 opened 10 months ago
by
Enigrand
JSON formatting errors in Function Call scenarios
#39 opened 11 months ago
by
liopen
MoE version with the same performance as this 32B dense
#37 opened 11 months ago
by
rtzurtz
Low Score on GSM8K on lm-eval-harness? (just 74.91)
2
#36 opened 11 months ago
by
jvonrad
Transformers version for qwen3-32B-8FP
#35 opened 12 months ago
by
as-il
Where is the Base Model?
πβ 10
3
#34 opened 12 months ago
by
jvonrad
I want to use this model to run my code
#33 opened 12 months ago
by
yunxi0827
Qwen3-32B-Base?
π 13
2
#32 opened about 1 year ago
by
canac84073
RuntimeError: probability tensor contains either `inf`, `nan` or element < 0
#31 opened about 1 year ago
by
VMoorjani
Add assistant mask support to Qwen3-32B
β 1
#30 opened about 1 year ago
by
waleko
Setting 'enable_thinking=False' has no effect.
2
#29 opened about 1 year ago
by
ktrocks
finetune question
1
#28 opened about 1 year ago
by
Saicy
Qwen3ForCausalLM - Architecture issue
2
#26 opened about 1 year ago
by
cr-gkn
Request to Release the Base Model for Qwen3-32B
βπ 16
#25 opened about 1 year ago
by
eramax
How to control thinking length?
β 10
2
#24 opened about 1 year ago
by
lidh15
Qwen3 does not deploy on Endpoints
1
#23 opened about 1 year ago
by
zenfiric
The model's instructions follow too poorly
β 1
3
#22 opened about 1 year ago
by
xldistance
Update README.md
#21 opened about 1 year ago
by
Logical-Transcendence84
please release AWQ version
#20 opened about 1 year ago
by
classdemo
Collections of Bad Cases User Reviews and Comments of Qwen3 32B model
#19 opened about 1 year ago
by
DeepNLP
Potential issue with large context sizes - can someone confirm?
15
#18 opened about 1 year ago
by
Thireus
Qwen 3 presence of tools affect output length?
#17 opened about 1 year ago
by
evetsagg
"/no_think" control is unstable
2
#16 opened about 1 year ago
by
Smorty100
LICENSE files missing
π 1
1
#14 opened about 1 year ago
by
johndoe2001
After setting /nothinking or enable_thinking=False, can the empty <thinking> tag be omitted from the response?
π 4
2
#13 opened about 1 year ago
by
pteromyini
Feedback: It's a good model, however it hallucinates very badly at local facts (Germany)
ππ 11
2
#12 opened about 1 year ago
by
Dampfinchen
The correct way of fine-tuning on multi-turn trajectories
π 12
3
#11 opened about 1 year ago
by
hr0nix
Providing a GPTQ version
π 3
12
#10 opened about 1 year ago
by
blueteamqq1
how to set, enable_thinking=False, on ollama
π 6
2
#9 opened about 1 year ago
by
TatsuhiroC
π[Fine-tuning] Implementation and Best Practices for Qwen3 CPT/SFT/DPO/GRPO Trainingπ
ππ₯ 3
#7 opened about 1 year ago
by
study-hjt
Reasoning or Non-reasoning model?
4
#6 opened about 1 year ago
by
dipta007
Local Installation Video and Testing - Step by Step
#5 opened about 1 year ago
by
fahdmirzac
γEvaluationγBest practice for evaluating Qwen3 !!
ππ₯ 5
#4 opened about 1 year ago
by
wangxingjun778
Base Model?
βπ 12
13
#3 opened about 1 year ago
by
Downtown-Case
Is this multimodal?
π 1
1
#2 opened about 1 year ago
by
pbarker
Add languages tag
π 2
#1 opened about 1 year ago
by
de-francophones