Instructions to use Qwen/Qwen3-Next-80B-A3B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3-Next-80B-A3B-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Qwen/Qwen3-Next-80B-A3B-Instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-Next-80B-A3B-Instruct") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-Next-80B-A3B-Instruct") 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
- vLLM
How to use Qwen/Qwen3-Next-80B-A3B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/Qwen3-Next-80B-A3B-Instruct" # 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-Next-80B-A3B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Qwen/Qwen3-Next-80B-A3B-Instruct
- SGLang
How to use Qwen/Qwen3-Next-80B-A3B-Instruct 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-Next-80B-A3B-Instruct" \ --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-Next-80B-A3B-Instruct", "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-Next-80B-A3B-Instruct" \ --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-Next-80B-A3B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Qwen/Qwen3-Next-80B-A3B-Instruct with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3-Next-80B-A3B-Instruct
Megatron Swift dpo training on Qwen/Qwen3-Next-80B-A3B-Instruct always always return nan loss. Why?
#45 opened 4 months ago
by
tangyiming
华为910B能调用了吗?
#44 opened 4 months ago
by
h420405961
Add MMLU-Pro evaluation result
#43 opened 4 months ago
by
burtenshaw
Add GPQA evaluation result
#42 opened 4 months ago
by
burtenshaw
请问一下,使用megatron微调Qwen3-Next时,设置--target_modules为"all-linear"能否训练到Qwen3NextGatedDeltaNet部分?
👀 2
#41 opened 6 months ago
by
alanayu
Add Artificial Analysis evaluations for qwen3-next-80b-a3b-instruct
#40 opened 6 months ago
by
mackenzietechdocs
Will there be a "VL" version of Qwen3-Next been released in the future?
#39 opened 6 months ago
by
banne2266
Problems with inference
1
#38 opened 6 months ago
by
Kirill200223
Issues with Fine Tuning
👍 2
1
#37 opened 7 months ago
by
rirv938
Has anybody got MTP working on VLLM? ('GPUModelRunner' object has no attribute 'drafter')
1
#36 opened 7 months ago
by
stev236
Generates nonsense when run with latest VLLM with Flashinfer 0.4
#35 opened 7 months ago
by
stev236
Bug: Running the example gives nonsensical response on 8xH100
#33 opened 8 months ago
by
kz919
return null
#32 opened 8 months ago
by
sakuramiko35
How much Vram needed for the full context length?
6
#31 opened 8 months ago
by
Aly87
求大神解读一下这行代码的含义
#30 opened 8 months ago
by
bluelueSea
Int4 quantization broken
3
#28 opened 8 months ago
by
TheBigBlockPC
Could you release a 20B‑scale MoE version? Thank you very much.
🔥 1
1
#27 opened 8 months ago
by
houxiaowei
Awesome! Please be sure to train a 80B A3B next version coder model!
🔥 11
#26 opened 8 months ago
by
wukongai
Bug report with running with transformers
#25 opened 8 months ago
by
qsstcl
Only 2k max-tokens in lm-studio?
#24 opened 8 months ago
by
jkkit
VRAM requirement for maximum token length?
🚀 5
#21 opened 8 months ago
by
Donhuay
guide for runing this at 12gbvram and 180gb ram with dual cpu in vllm 0.5 to 0.6t/sec in vllm
🔥👍 4
2
#20 opened 8 months ago
by
gopi87
Fix broken qwen3-next blog link
#19 opened 8 months ago
by
Smorty100
FP8 please
👀➕ 16
8
#18 opened 8 months ago
by
aliquis-pe
model_use
#17 opened 9 months ago
by
mohanpichikala
Will smaller Qwen3-Next models be released in the future?
➕👀 7
1
#15 opened 9 months ago
by
ZAID041
🚀 Best Practices for Evaluating the Qwen3-Next Model
🚀👍 9
#13 opened 9 months ago
by
Yunxz
Is it possible to finetune with ms-swift?
🚀 1
3
#12 opened 9 months ago
by
phosira
reduced multi language quality
👍 1
3
#11 opened 9 months ago
by
rastegar
遥遥领先了
3
#10 opened 9 months ago
by
OrlandoHugBot
用readme的代码测试,返回乱码
6
#9 opened 9 months ago
by
tarjintor
Plan for AWQ?
➕ 28
3
#8 opened 9 months ago
by
hyunw55
How much GPU memory is needed for local deployment?
13
#7 opened 9 months ago
by
XuehangCang
fix the blog link
1
#6 opened 9 months ago
by
ryan-u
Will there be dedicated technical report for Qwen3-Next?
👍 6
#5 opened 9 months ago
by
Gmc2
The model is wholesome
🔥 1
2
#4 opened 9 months ago
by deleted
Local Installation Video and Testing On CPU - Step by Step
🤗 3
#3 opened 9 months ago
by
fahdmirzac
No base model
👍 15
8
#2 opened 9 months ago
by
ricardo-rei
GGUF when? 8 bit quant when?
➕❤️ 13
14
#1 opened 9 months ago
by
ouchiewouchie