Instructions to use Qwen/Qwen3.8-Flash-Next with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3.8-Flash-Next with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Qwen/Qwen3.8-Flash-Next") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Qwen/Qwen3.8-Flash-Next") model = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen3.8-Flash-Next", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Qwen/Qwen3.8-Flash-Next with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/Qwen3.8-Flash-Next" # 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.8-Flash-Next", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Qwen/Qwen3.8-Flash-Next
- SGLang
How to use Qwen/Qwen3.8-Flash-Next 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.8-Flash-Next" \ --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.8-Flash-Next", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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.8-Flash-Next" \ --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.8-Flash-Next", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use Qwen/Qwen3.8-Flash-Next with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3.8-Flash-Next
Qwen3.8-Flash-Next vs Qwen 3.8 27B - Architecture Teardown
❤️🔥 3
2
#22 opened about 2 hours ago
by
laxmimerit
new idea
1
#21 opened about 3 hours ago
by
dpe1
这个尺寸你说你尴尬不尴尬???
2
#20 opened about 3 hours ago
by
linghuchong1995
🚀 Try training Qwen3.8-Flash-Next with ms-swift (Day-0 Support)
#19 opened about 4 hours ago
by
hu5enpai
Why isn't it Apache 2.0 licensed?
🤯😔 5
1
#18 opened about 4 hours ago
by
PotatoSniffer
here qwen3.8-flash-next is 125B but unsloth has 180B ... how come?
2
#17 opened about 4 hours ago
by
mayankiit04
Great innovation!
👍👀 3
1
#16 opened about 4 hours ago
by
websb
Question about SWEBench-Pretrain eval
👍 2
#14 opened about 5 hours ago
by
sammiebae
GatedDeltaNet-2 (GDN-2) ??
❤️ 4
1
#13 opened about 5 hours ago
by
khtsly
Add community evaluation results
🚀 2
#12 opened about 5 hours ago
by
SaylorTwift
50b moe?
🔥 9
2
#11 opened about 5 hours ago
by
vonamakitsune
r/localllama Release Megathread
❤️ 2
1
#10 opened about 6 hours ago
by
smcleod
Deep Thanks
#8 opened about 6 hours ago
by
AxiomEI
Let see what Santa brought
#7 opened about 6 hours ago
by
Trilogix1
Anyone tries 1 or 2 bits quantization?
#6 opened about 6 hours ago
by
SeanKd
Thank you!
❤️ 5
#5 opened about 6 hours ago
by
RandomUserNA12312
Can see, can touch but can’t use
🚀➕ 15
7
#4 opened about 6 hours ago
by
Duonglv
35B-A3B or 35B-A5B
😔❤️ 60
7
#3 opened about 6 hours ago
by
MaxDaddyLongs
second comment
#2 opened about 6 hours ago
by
ChaosAIVision
Qwen3.8 35B-A5B PLS
😔❤️ 37
5
#1 opened about 6 hours ago
by
highpolygonal