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
So, I am a big dih?
#164 opened about 10 hours ago
by
QwennAI
(request, not costly) mech interp for Qwen3.8-27B
#163 opened about 10 hours ago
by
john1248
we miss smaller models like 3b - 4b - 5b models that run on tight vram like 4gb to 6 gb vram
1
#162 opened about 11 hours ago
by
Why-T
Qwen 3.8 35B A3B Would be really good!
➕👍 7
4
#161 opened about 21 hours ago
by
ShyliaSafetensors
Deployment & Performance Report: Qwen3.8-27B (BF16) on RTX PRO 6000 with SGLang + EAGLE
👍 3
2
#160 opened 2 days ago
by
sssssong0814
Where the fuck is 4B
👍 2
8
#159 opened 2 days ago
by
Hellomaniamcoollol
Add Terminal-Bench evaluation results
#158 opened 3 days ago
by
SaylorTwift
Quality-first quants here with metrics and graphs
😎 5
#157 opened 3 days ago
by
NikiKrutan
Release: Surgical Quant of Qwen3.8-27B Edition (W4A16 AutoRound + BF16 Preserved) v2
#156 opened 4 days ago
by
goldhub
NVFP4-1M Tried with Dual RTX 5090 via vllm
#155 opened 4 days ago
by
berkerdooo
Performance issues in LMStudio
➕ 1
2
#154 opened 4 days ago
by
m1k0la
KV-cache KLD scales with model fidelity, not quant family — three null results and one metric trap
1
#153 opened 4 days ago
by
Knappy
Qwen3.8
#152 opened 4 days ago
by
willowoods
DFlash2 speeds Qwen 3.8 27B up to 4 times
1
#151 opened 4 days ago
by
artden111
mybot
#149 opened 4 days ago
by
Customer345
Mid-conversation system messages raise an exception, breaking agent clients
#148 opened 4 days ago
by
maven8891
fix(chat_template): accept reasoning_effort="high" (Claude Code default) via alias to "xhigh"
1
#147 opened 5 days ago
by
Ekko0612
No multimodal on vLLM? Model Qwen/Qwen3.8-27B-FP8 is treated as multimodal but has no registered multimodal processor; running in text-only mode.
1
#146 opened 5 days ago
by
pabbbb
arxiv endorsement appreciated if anyone is feeling kind
#145 opened 5 days ago
by
mars2titan
Le Cirque du Raisonnement: 27B Parameters, 262K Tokens of Hot Air, and a Packaging Bug That Silently Truncates Every Prompt)
🔥➕ 5
17
#144 opened 5 days ago
by
AdrienneNoctis
ArtificialAnalysis score of 52 outscore GLM 5.2 , Opus 4.6 and touches Opus 4.7!!!!
🔥 1
9
#143 opened 5 days ago
by
mayankiit04
girl
#142 opened 5 days ago
by
absoluT-1c
Turboquant?
6
#141 opened 5 days ago
by
ghostwithahat
Perfect Model
🤗❤️ 5
#140 opened 5 days ago
by
JustinKanne
Request: DOI
🔥 1
1
#139 opened 6 days ago
by
Bimzypermanent
https://huggingface.co/froggeric/Qwen-Fixed-Chat-Templates/blob/main/chat_template.jinja
👍 3
3
#138 opened 6 days ago
by
VaLtEc-BoY
Best local model ever!
🤗 2
2
#137 opened 6 days ago
by
ihshim523
Horrible model .... Overthink eats all context tokens
➕😔 6
21
#136 opened 6 days ago
by
kremerneil
Qwen3.8-27B-GGUF: UD-Q6_K_XL getting stuck in a loop in unsloth studio
3
#134 opened 6 days ago
by
antagonistot
The 27B and 35B-A3B are like the King and Queen
👀❤️ 31
3
#133 opened 6 days ago
by
Duonglv
5090 Qwen3.8-27B NVFP4 Best setup for real world use (vLLM wins over llama)
16
#132 opened 6 days ago
by
marco9899
What is the speed on OMLX?
#131 opened 6 days ago
by
acere12
Amazing model - Thank you
👍 6
#130 opened 6 days ago
by
ibv-sysadmin
Now we have independent numbers
5
#129 opened 6 days ago
by
owao
This will run locally on a 32gb mac. Has anyone tested it? How's that
👀🤗 1
2
#128 opened 6 days ago
by
ryanjia3141592
chat_template修改
#127 opened 6 days ago
by
Flyingmarx
I love the QWEN and so should u!!!!
#126 opened 6 days ago
by
dhenzjhen
Chapeau !
1
#125 opened 7 days ago
by
grandslam77
new version we want
2
#124 opened 7 days ago
by
sjkskdjddjs
context lenght can't set 1010000
4
#123 opened 7 days ago
by
kuolung
MTP (SPEC_DRAFT_N_MAX) leads to Nvidia RC Watchdog killing the kernel, llama.cpp calls SIGABRT
➕ 1
5
#122 opened 7 days ago
by
Nosepicker3
Qwen3.8-27B
🚀 1
#121 opened 7 days ago
by
willowoods
🙏 The community needs Qwen 3.8 35B-A3B models and others, help us get there 🚀
➕❤️ 139
18
#120 opened 7 days ago
by
highpolygonal
呼唤Qwen3.8MOE模型
👍❤️ 8
1
#119 opened 7 days ago
by
ackerx
Upload R.Basca_Tr2.geojson
#118 opened 7 days ago
by
tab12k
Upload R.Basca_Tr2.geojson
#117 opened 7 days ago
by
tab12k
MOE when?
👍 12
4
#116 opened 7 days ago
by
Rzkoohi
Qwen3.8-27B download
#115 opened 7 days ago
by
PonyXia
Small MoE models
🔥👍 47
8
#114 opened 7 days ago
by
Orcazephyr
This model cannot stop thinking
➕🧠 3
4
#113 opened 8 days ago
by
xvcy3w