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
Please don't forget about us 35B MOE users!
🤯 1
#70 opened 25 minutes ago
by
CYISNOTHERE
It is inferior to the qwen3.6 35 model in image and video recognition
#69 opened about 1 hour ago
by
wzgrx
claude code fixed template here
2
#68 opened about 1 hour ago
by
gopi87
Base model, PLEASE!!!
🚀 2
3
#67 opened about 2 hours ago
by
wping
Mom Can we get opus 4.8?
🤯 2
1
#66 opened about 2 hours ago
by
gsteeeeeeee
we quantized Qwen3.8-27B and compared it with community GGUFs on 4x RTX 5090!
🚀 1
#65 opened about 3 hours ago
by
d4nnyy
Update chat_template.jinja
#64 opened about 3 hours ago
by
edwardyoon79
We Cracked Qwen3.8-27B Quant: 27GB INT4 that actually thinks (Heretic Edition)
🔥 1
1
#63 opened about 3 hours ago
by
goldhub
🌶️ Qwen3.8-27B-INT4-W4A16-AutoRound (Goldhub Heretic Edition)
🔥 1
3
#62 opened about 3 hours ago
by
goldhub
Issue when using this model for OCR
#61 opened about 5 hours ago
by
mostafa-amer2
YAY CONGRATS
#60 opened about 5 hours ago
by
GGUFGuy
Could we please get a QAT Q4 quant?
🔥 4
3
#59 opened about 6 hours ago
by
dr-housemd
Qwen3.8-27B GGUF / FP8 / Abliterated versions available
1
#58 opened about 6 hours ago
by
douyamv
Claude Sonnet 5 vs a local 27B model on a single GPU? This is WILD. 🤯
#57 opened about 6 hours ago
by
Ashacorporation
MTP support in 🤗️ `transformers`
#56 opened about 6 hours ago
by
crumb
Thank you so much for your work! Qwen 3.8 incredible!
❤️ 1
#55 opened about 7 hours ago
by
Mithnick
DFlash draft model instead of MTP one
1
#54 opened about 7 hours ago
by
artden111
please make a 70 dense model and more smaller sizes
➕ 5
2
#53 opened about 7 hours ago
by
Manni1000
Obligatory pelican on a bicycle ;)
🔥 6
1
#52 opened about 8 hours ago
by
ju6ge
Qwen3.8-27B on RTX 5090 (SM120): the fused GDN decode kernel is unreachable, twice
🚀 2
#51 opened about 8 hours ago
by
kakrotto
Reverse this string: '.DefaultCellStyle'
🔥 1
9
#50 opened about 8 hours ago
by
owao
35B A3B PLEASEEEEEEEE
➕👀 37
1
#49 opened about 9 hours ago
by
AsThirtyThree
Avoid empty historical thinking blocks
👀 1
#48 opened about 9 hours ago
by
Thump604
Qwen3.8-27B-Q4_0-qat possible?
2
#47 opened about 9 hours ago
by
artden111
怎么感觉似乎好像 不如 3.6 27B
1
#46 opened about 9 hours ago
by
Albert-Liu-Hongkang
Installation Video and Testing - Step by Step
#45 opened about 10 hours ago
by
fahdmirzac
EPIC ! Thank you! Thank you very much! CHINA!
🚀❤️ 13
2
#44 opened about 10 hours ago
by
RomanHammer
Qwen3.8 35B A3B model, please, please, please.
🚀❤️ 37
5
#43 opened about 10 hours ago
by
Duonglv
My fingers have blisters!
#41 opened about 10 hours ago
by
darkbit1001
`preserve_thinking` for llama.cpp
1
#39 opened about 11 hours ago
by
artden111
Best small size dense model
#38 opened about 11 hours ago
by
weisunding
A desktop runnable MoE?
👍🚀 5
1
#37 opened about 11 hours ago
by
TheBigBlockPC
How can I run this well on an RTX 5070 ti?
5
#36 opened about 11 hours ago
by
theonerm2
Thank you Qwen Team
🤗❤️ 11
#35 opened about 11 hours ago
by
aaron-newsome
Qwen3.8-27B Serving Configs: DGX Spark vLLM NVFP4 and RTX 4090 llama.cpp GGUF
🚀 2
#34 opened about 11 hours ago
by
erdal
What level of quantization can preserve accuracy while effectively reducing the model size?
👀 1
2
#33 opened about 11 hours ago
by
SeanKd
wen qwen3.8-omni?
👀 7
#32 opened about 12 hours ago
by
felfri
开源必胜!
1
#31 opened about 12 hours ago
by
quitmy0001
Absolute legend!
🔥❤️ 20
#30 opened about 12 hours ago
by
BuiDoan
my boi ♥♥♥
❤️ 3
#28 opened about 12 hours ago
by
skham667
Super-compressed brain monster has been unleashed.
🤗❤️ 4
#25 opened about 12 hours ago
by
tooltd
Congratulations qwen team!
🤗❤️ 2
#24 opened about 12 hours ago
by
justintime47
Excellent work - Seems like reasoning effort is the new big thing here
❤️🤗 2
1
#23 opened about 12 hours ago
by
VISHNUDHAT
Add evaluation results
❤️🤗 2
#22 opened about 12 hours ago
by
SaylorTwift
THANKS!
❤️ 3
#21 opened about 12 hours ago
by
JohnJ990
Thank you Queen Team🌹, from all over the world
❤️🚀 9
1
#20 opened about 12 hours ago
by
aa23563473