Instructions to use Qwen/Qwen3-30B-A3B-Instruct-2507 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3-30B-A3B-Instruct-2507 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Qwen/Qwen3-30B-A3B-Instruct-2507") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-30B-A3B-Instruct-2507") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-30B-A3B-Instruct-2507", 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
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Qwen/Qwen3-30B-A3B-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-30B-A3B-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-30B-A3B-Instruct-2507", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Qwen/Qwen3-30B-A3B-Instruct-2507
- SGLang
How to use Qwen/Qwen3-30B-A3B-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-30B-A3B-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-30B-A3B-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-30B-A3B-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-30B-A3B-Instruct-2507", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Qwen/Qwen3-30B-A3B-Instruct-2507 with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3-30B-A3B-Instruct-2507
Qwen3 30B โ what GPU setup do you need?
#33 opened about 2 months ago
by
duola15
OMS Score -- OMS 70.4 (B) -- Qwen3 30B A3B | 5-dimension independent scoring
#32 opened about 2 months ago
by
duola15
TemporalMesh Transformer: 29.4 PPL at 48% compute โ beats Mamba, new open-source architecture
#31 opened 2 months ago
by
vigneshwar234
Regarding RoPE frequency
#29 opened 5 months ago
by
juneyongyang
Add GPQA evaluation result
โค๏ธ 2
#28 opened 6 months ago
by
burtenshaw
๐ฆ **่ด Qwen3๏ผ่ฐข่ฐขไฝ ๆไธบโๆ่่ โ็ๅบ็ณ**
โค๏ธ 1
#27 opened 6 months ago
by
aifeifei798
Lora Fine Tning- Several Issues
3
#25 opened 8 months ago
by
aetherforge
RTX 5090 + Qwen 30B MoE @ 135 tok/s in NVFP4 Guide
#24 opened 8 months ago
by
JohnTdi
Error when utilizing DUAL_CHUNK_FLASH_ATTN with vLLM.
1
#23 opened 9 months ago
by
lssj14
Can I enable DCA on other qwen3 dense models?
#22 opened 11 months ago
by
dophys
Update README.md
#18 opened 12 months ago
by
Brokersponsor
Polish language support
#17 opened 12 months ago
by
eXt73
Working GPTQ-Int4 version?
๐ 1
#15 opened 12 months ago
by
koesn
fix: max tokens to 1M
#14 opened 12 months ago
by
heitormsb
help: 1M context error?
#13 opened 12 months ago
by
heitormsb
ๅ ณไบ static KV-Cache(ValueError: This model does not support cache_implementation='static')
#11 opened about 1 year ago
by
luohuashijieyoufengjun
Upload 17F9CDA2-7E35-4793-9D18-0581B0276089.jpeg
1
#10 opened about 1 year ago
by
Faragcg
Test Scores Can Be Misleading
๐ 1
8
#8 opened about 1 year ago
by
phil111
Qwen3-30B-A3B-Instruct-2507-Autoround-Int-4bit-gptq
๐๐ฅ 2
1
#7 opened about 1 year ago
by
jart25
Remove trailing tabs after license to avoid mlx_lm.convert errors
#6 opened about 1 year ago
by
Gallardo994
Local Installation Video and Testing - Step by Step
#5 opened about 1 year ago
by
fahdmirzac
Is the base model of the this model Qwen3-30B-A3B๏ผ
โ 3
#4 opened about 1 year ago
by
paulcx
AWQ version
โค๏ธ 6
6
#3 opened about 1 year ago
by
devops724
An Improvement, But Q3 30b Still Has Very Little General Knowledge
๐โค๏ธ 3
11
#2 opened about 1 year ago
by
phil111
THANK YOU QWEN! ๐
๐โค๏ธ 11
1
#1 opened about 1 year ago
by
AyyYOO