Image-Text-to-Text
Transformers
Safetensors
qwen3_5
qwen3_8
qwopus
coding
tool-use
gptq
int4
mtp
speculative-decoding
intel
xpu
arc
vllm
conversational
4-bit precision
Instructions to use Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked") model = AutoModelForMultimodalLM.from_pretrained("Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked", 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked", "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/Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked
- SGLang
How to use Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked 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 "Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked" \ --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": "Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked", "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 "Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked" \ --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": "Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked", "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 Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked with Docker Model Runner:
docker model run hf.co/Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked
v1.0.1: card update, all seven tasks measured on this checkpoint as shipped (weights unchanged)
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ library_name: transformers
|
|
| 7 |
tags: [qwen3_8, qwopus, coding, tool-use, gptq, int4, mtp, speculative-decoding, intel, xpu, arc, vllm]
|
| 8 |
---
|
| 9 |
|
| 10 |
-
# Qwopus3.8-27B-Coder-Flash, GPTQ INT4 baked (v1.0)
|
| 11 |
|
| 12 |
[Jackrong/Qwopus3.8-27B-Coder-Flash](https://huggingface.co/Jackrong/Qwopus3.8-27B-Coder-Flash) quantized from BF16 to
|
| 13 |
INT4 by Launch80. The `lm_head` and the MTP draft head are INT4 **on disk** too, so a single **Intel Arc Pro B65 32 GB**
|
|
@@ -20,8 +20,9 @@ serves it at the full **262,144-token** context, and stock vLLM loads it with no
|
|
| 20 |
|
| 21 |
| version | what changed | status |
|
| 22 |
|---|---|---|
|
| 23 |
-
|
|
| 24 |
-
|
|
|
|
|
| 25 |
|
| 26 |
## What's in it
|
| 27 |
|
|
@@ -66,26 +67,38 @@ Every baked linear beats round-to-nearest (RTN):
|
|
| 66 |
## Quality vs BF16 (pre-registered)
|
| 67 |
|
| 68 |
We wrote the thresholds down and hashed them before any quantized model was evaluated. The BF16 reference ran on a rented
|
| 69 |
-
RTX PRO 6000 (vLLM 0.30, CUDA); this checkpoint ran on the Arc Pro B65 (vLLM 0.30, XPU)
|
| 70 |
-
|
|
|
|
| 71 |
|
| 72 |
| # | measure | bar | this checkpoint | |
|
| 73 |
|---|---|---|---|---|
|
| 74 |
-
| T1 | wikitext-2 perplexity | ≤ +3% | +1.
|
| 75 |
| T2 | code-corpus perplexity | ≤ +3% | +1.83% | pass |
|
| 76 |
| T3 | mean next-token KL divergence (1.05M tokens, top-64) | ≤ 0.05 | 0.0412 | pass |
|
| 77 |
| T4 | top-1 next-token agreement | ≥ 93% | 92.84% | **fail** (by 0.16 pt) |
|
| 78 |
-
| T5 |
|
| 79 |
-
| T5 | six other tasks | as above | being rerun on this checkpoint | pending |
|
| 80 |
| T6 | KLD vs Jackrong's Q4_K_M GGUF | ours ≤ theirs | not measured yet | pending |
|
| 81 |
-
| T7 | greedy, spec decoding on = off | identical | 26/32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
**Disclosure: the tool-call calibration is a post-hoc fix.** The first bake, with no tool calls in its calibration set,
|
| 84 |
passed six of the seven tasks but lost 7.75 points on BFCL. It ended its turn after the first of several parallel calls.
|
| 85 |
-
We traced that to the calibration data, recalibrated the body, and rebaked the head and MTP. This checkpoint is that rebake
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
whole investigation.
|
| 89 |
|
| 90 |
## Speed (Arc Pro B65 32 GB, vLLM 0.30.0 XPU, fp8 KV, single stream)
|
| 91 |
|
|
@@ -94,7 +107,7 @@ TTFT p50, prefill 1,283 tok/s at 2K and 856 tok/s at 64K, 210.9 tok/s aggregate
|
|
| 94 |
Page: https://launch80.com/a/30aa8ae2-f00c-409a-a4a9-2e298fc81f67
|
| 95 |
|
| 96 |
Decode is held back by the draft head, not the INT4 body. Jackrong's fine-tune left the MTP head byte-identical to base
|
| 97 |
-
Qwen3.8-27B, so it drafts the base model's style and gets about 3
|
| 98 |
next version. Follow it on the blog and in Discord.
|
| 99 |
|
| 100 |
## Serving
|
|
@@ -109,7 +122,7 @@ vllm serve Launch80/Qwopus3.8-27B-Coder-Flash-Int4-baked \
|
|
| 109 |
Every number above was measured with this configuration (vLLM 0.30.0 XPU image), plus three vLLM-XPU correctness
|
| 110 |
patches for speculative decoding (MTP nightly, MTP boundary, GDN mixed-split) from the
|
| 111 |
[launch80/B65](https://github.com/launch80/B65) repository. Tool calling needs `qwen3_xml`, not `hermes`. Pin a
|
| 112 |
-
revision (`--revision v1.0`) if you want this exact build; `main` moves as new versions ship.
|
| 113 |
|
| 114 |
## License
|
| 115 |
|
|
|
|
| 7 |
tags: [qwen3_8, qwopus, coding, tool-use, gptq, int4, mtp, speculative-decoding, intel, xpu, arc, vllm]
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# Qwopus3.8-27B-Coder-Flash, GPTQ INT4 baked (v1.0.1)
|
| 11 |
|
| 12 |
[Jackrong/Qwopus3.8-27B-Coder-Flash](https://huggingface.co/Jackrong/Qwopus3.8-27B-Coder-Flash) quantized from BF16 to
|
| 13 |
INT4 by Launch80. The `lm_head` and the MTP draft head are INT4 **on disk** too, so a single **Intel Arc Pro B65 32 GB**
|
|
|
|
| 20 |
|
| 21 |
| version | what changed | status |
|
| 22 |
|---|---|---|
|
| 23 |
+
| v1.0 (tag `v1.0`) | GPTQ INT4 body calibrated with tool-call data, baked INT4 head and MTP | released 2 Nov 2026 |
|
| 24 |
+
| **v1.0.1** (this revision, tag `v1.0.1`) | card only, weights unchanged: all seven tasks measured on this exact checkpoint, served as shipped (MTP k=6) | released 2 Nov 2026 |
|
| 25 |
+
| next | a faster drafter adapted to Qwopus (target: 115 tok/s on the B65) | in progress |
|
| 26 |
|
| 27 |
## What's in it
|
| 28 |
|
|
|
|
| 67 |
## Quality vs BF16 (pre-registered)
|
| 68 |
|
| 69 |
We wrote the thresholds down and hashed them before any quantized model was evaluated. The BF16 reference ran on a rented
|
| 70 |
+
RTX PRO 6000 (vLLM 0.30, CUDA); this checkpoint ran on the Arc Pro B65 (vLLM 0.30, XPU), served exactly as shipped,
|
| 71 |
+
with MTP k=6 on for every task and for the logprobs. Full study:
|
| 72 |
+
https://launch80.com/a/84829a3a-a0b2-407f-ab38-59cd2d5006fa
|
| 73 |
|
| 74 |
| # | measure | bar | this checkpoint | |
|
| 75 |
|---|---|---|---|---|
|
| 76 |
+
| T1 | wikitext-2 perplexity | ≤ +3% | +1.72% | pass |
|
| 77 |
| T2 | code-corpus perplexity | ≤ +3% | +1.83% | pass |
|
| 78 |
| T3 | mean next-token KL divergence (1.05M tokens, top-64) | ≤ 0.05 | 0.0412 | pass |
|
| 79 |
| T4 | top-1 next-token agreement | ≥ 93% | 92.84% | **fail** (by 0.16 pt) |
|
| 80 |
+
| T5 | seven tasks, paired pass@1, greedy | Δ ≥ −2 pts or CI includes 0 | 7/7 tasks (table below) | pass |
|
|
|
|
| 81 |
| T6 | KLD vs Jackrong's Q4_K_M GGUF | ours ≤ theirs | not measured yet | pending |
|
| 82 |
+
| T7 | greedy, spec decoding on = off | identical | 26/32; all 6 differences are at a tie (3 exact, 3 a 0.0156 FP16 step) | fail as written |
|
| 83 |
+
|
| 84 |
+
| task | BF16 | this checkpoint | Δ pts [95% CI] |
|
| 85 |
+
|---|--:|--:|---|
|
| 86 |
+
| GSM8K | 86.96 | 86.66 | −0.30 [−1.21, +0.61] |
|
| 87 |
+
| IFEval | 80.22 | 80.78 | +0.55 [−2.22, +3.14] |
|
| 88 |
+
| MMLU-Pro subset | 71.80 | 70.90 | −0.90 [−2.70, +0.90] |
|
| 89 |
+
| HumanEval+ | 90.24 | 88.41 | −1.83 [−5.49, +1.83] |
|
| 90 |
+
| MBPP+ | 76.98 | 75.66 | −1.32 [−3.17, +0.53] |
|
| 91 |
+
| BFCL subset (400) | 89.00 | 88.25 | −0.75 [−3.00, +1.50] |
|
| 92 |
+
| LiveCodeBench v6 slice | 41.14 | 40.57 | −0.57 [−5.14, +4.00] |
|
| 93 |
+
|
| 94 |
+
Needle retrieval: 100% at 32k and at 128k. MTP draft acceptance over the whole suite: 46.8% of drafted tokens
|
| 95 |
+
(80.2 / 62.2 / 48.0 / 37.4 / 29.5 / 23.3% by draft position), about 3.8 tokens per verify step under greedy decoding.
|
| 96 |
|
| 97 |
**Disclosure: the tool-call calibration is a post-hoc fix.** The first bake, with no tool calls in its calibration set,
|
| 98 |
passed six of the seven tasks but lost 7.75 points on BFCL. It ended its turn after the first of several parallel calls.
|
| 99 |
+
We traced that to the calibration data, recalibrated the body, and rebaked the head and MTP. This checkpoint is that rebake,
|
| 100 |
+
and the table above measures it on all seven tasks. The change was made after seeing results, so treat it as post hoc.
|
| 101 |
+
The blog post has the whole investigation.
|
|
|
|
| 102 |
|
| 103 |
## Speed (Arc Pro B65 32 GB, vLLM 0.30.0 XPU, fp8 KV, single stream)
|
| 104 |
|
|
|
|
| 107 |
Page: https://launch80.com/a/30aa8ae2-f00c-409a-a4a9-2e298fc81f67
|
| 108 |
|
| 109 |
Decode is held back by the draft head, not the INT4 body. Jackrong's fine-tune left the MTP head byte-identical to base
|
| 110 |
+
Qwen3.8-27B, so it drafts the base model's style and gets about 3 tokens per step in the BetterBench run (sampled), 3.8 under greedy decoding. A drafter adapted to Qwopus is the
|
| 111 |
next version. Follow it on the blog and in Discord.
|
| 112 |
|
| 113 |
## Serving
|
|
|
|
| 122 |
Every number above was measured with this configuration (vLLM 0.30.0 XPU image), plus three vLLM-XPU correctness
|
| 123 |
patches for speculative decoding (MTP nightly, MTP boundary, GDN mixed-split) from the
|
| 124 |
[launch80/B65](https://github.com/launch80/B65) repository. Tool calling needs `qwen3_xml`, not `hermes`. Pin a
|
| 125 |
+
revision (`--revision v1.0.1`) if you want this exact build; `main` moves as new versions ship.
|
| 126 |
|
| 127 |
## License
|
| 128 |
|