Instructions to use Qwen/Qwen3.8-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3.8-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Qwen/Qwen3.8-27B") 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-27B") model = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen3.8-27B", 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]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Qwen/Qwen3.8-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/Qwen3.8-27B" # 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-27B", "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-27B
- SGLang
How to use Qwen/Qwen3.8-27B 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-27B" \ --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-27B", "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-27B" \ --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-27B", "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-27B with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3.8-27B
代码能力可能变强了,但是写作能力明显变弱了
👍 2
#107 opened about 2 hours ago
by
sumirecccp
Exploring ThinkingCap fine-tunes for Qwen 3.8: Is it still necessary with native `reasoning_effort`?
👍 2
2
#106 opened about 7 hours ago
by
icognito
Hallucinates MUCH more than Qwen3.6-27B?
3
#105 opened about 7 hours ago
by
nebi
Benchmarked Qwen3.8-27B vs Nemotron 3.5 Lightning and Muse Glimmer on 16 hard problems (RTX 5090, Q4_K_M)
🔥❤️ 5
3
#103 opened about 9 hours ago
by
laxmimerit
Thank You Qwen Team!!!!
🤗❤️ 2
#102 opened about 10 hours ago
by
cob05
qwen3.8-27b on one pro 6000: 140 tok/s, day after release
2
#101 opened about 16 hours ago
by
Avifenesh
It’s really good
🚀 2
2
#100 opened about 19 hours ago
by
jbourny
Tested the model (locally) on coding and agentic work
👍 1
1
#99 opened about 19 hours ago
by
curiousily
Many thanks Qwen and Unsloth
👍 2
#98 opened about 19 hours ago
by
Seraph-Northforge
A crazy thinking model
😔👍 7
8
#97 opened about 22 hours ago
by
xuguowong
About countless think time 关于模型不停思考的问题
1
#96 opened about 22 hours ago
by
TAOTAO777
You brought great honor upon yourself and the country
1
#95 opened about 22 hours ago
by
gbaromhunterisback
New Qwen 4B when?
🚀😔 8
1
#94 opened about 23 hours ago
by
Enderchef
The test wich worth waching
#93 opened 1 day ago
by
Seraph-Northforge
After waiting 49 minutes and 16 seconds while the model was still thinking, I'm simply giving up...
👀 1
8
#92 opened 1 day ago
by
MrDevolver
首先,谢谢你制作这个模型!!还有,请务必推出 12B 版本!/ First, thank you for model!!AND please 12B!
😔➕ 4
#91 opened 1 day ago
by
VaLtEc-BoY
MOE MODEL 35B!
🤯🔥 23
1
#90 opened 1 day ago
by
pinkpink96
35b moe pls ><
👍 22
1
#89 opened 1 day ago
by
clecho52
35B MOE please
➕❤️ 15
2
#88 opened 1 day ago
by
SanderMer
MLX support
#87 opened 1 day ago
by
tushar310
Much better in agent coding
👍 3
#86 opened 1 day ago
by
rosspanda0
35B-A3B PLS!!
👀 8
1
#85 opened 1 day ago
by
hzhzhh
Bench maxed -- don't be fooled by the table presented in the model card
👀 1
4
#84 opened 1 day ago
by
pathosethoslogos
35B-A3B or 35B-A5B
🔥😔 13
4
#83 opened 1 day ago
by
MaxDaddyLongs
Very good 🥰 but thinks too much 🧠
👍 1
4
#82 opened 1 day ago
by
auf1r2
MTP speculation is net-negative under Ollama's GGUF path, strongly positive under MLX (measured on M4 Pro)
5
#80 opened 1 day ago
by
OtsoaD
lengthy reasoning without conclusion
2
#79 opened 1 day ago
by
35huseyin
Does no one use dark mode on HF?
👍 4
2
#78 opened 1 day ago
by
suteki1
35B-A3B
➕👍 30
2
#77 opened 1 day ago
by
gbuzhf
Why Qwen3.8-27B overthinks? Here the reason.
❤️👀 23
23
#76 opened 1 day ago
by
LuffyTheFox
Please provide the model Qwen 3.8 35B-A3B 🙏
🔥🚀 67
2
#75 opened 1 day ago
by
highpolygonal
恭迎小模型的神!
👍 1
1
#73 opened 1 day ago
by
Kalida6
Training and Tinker service support
#72 opened 1 day ago
by
tastelikefeet
Qwen3.8-9B please 9B models
👍➕ 9
6
#71 opened 1 day ago
by
AMAImedia
Please don't forget about us 35B MOE users!
🤯➕ 11
2
#70 opened 1 day ago
by
CYISNOTHERE
It is inferior to the qwen3.6 35 model in image and video recognition
2
#69 opened 1 day ago
by
wzgrx
claude code fixed template here
4
#68 opened 1 day ago
by
gopi87
Base model, PLEASE!!!
🚀 4
4
#67 opened 1 day ago
by
wping
Mom Can we get opus 4.8?
🤗🤯 8
1
#66 opened 1 day ago
by
gsteeeeeeee
we quantized Qwen3.8-27B and compared it with community GGUFs on 4x RTX 5090!
🚀 6
5
#65 opened 1 day ago
by
d4nnyy
Update chat_template.jinja
3
#64 opened 1 day ago
by
edwardyoon79
We Cracked Qwen3.8-27B Quant: 27GB INT4 that actually thinks (Heretic Edition)
🔥 2
8
#63 opened 1 day ago
by
goldhub
🌶️ Qwen3.8-27B-INT4-W4A16-AutoRound (Goldhub Edition)
🔥 1
4
#62 opened 1 day ago
by
goldhub
Issue when using this model for OCR
#61 opened 1 day ago
by
mostafa-amer2
YAY CONGRATS
🚀 2
#60 opened 1 day ago
by
GGUFGuy
Could we please get a QAT Q4 quant?
🔥 6
4
#59 opened 1 day ago
by
dr-housemd
Qwen3.8-27B GGUF / FP8 / Abliterated versions available
1
#58 opened 2 days ago
by
douyamv
Claude Sonnet 5 vs a local 27B model on a single GPU? This is WILD. 🤯
🔥 2
#57 opened 2 days ago
by
Ashacorporation
MTP support in 🤗️ `transformers`
1
#56 opened 2 days ago
by
crumb
Thank you so much for your work! Qwen 3.8 incredible!
❤️ 2
#55 opened 2 days ago
by
Mithnick