r/Qwen_AI • • 11h ago

News Qwen 27B rewrote its own weights and gained 6.6 points on unseen math

Thumbnail
runtimewire.com
126 Upvotes

r/Qwen_AI • • 6h ago

Discussion Could China's new AI export restrictions be delaying Qwen4-27B / Flash / Plus?

36 Upvotes

According to a this Reuters report, China is rolling out new export controls on AI. The draft rules apply to any model that hits at least one of three thresholds:

  • Training compute of 10****26 FLOPs or more
  • A parameter count of 2 trillion or higher
  • A place among the global top 10 on specific performance or efficiency benchmarks

First and last conditions IMHO may both hit 27B / flash / plus....

So, is it possible these rules are what's holding up the Qwen4 releases? Or is there no connection at all? Since the regulations are still being finalized, I'd be curious to hear what other PPL makes of it....

EDIT: nice Reddit bug in Bolding superscript text πŸ˜„


r/Qwen_AI • • 50m ago

Discussion Is anyone else getting this issue?

Post image
11 Upvotes

Or am I the only one with an actual issue going on?


r/Qwen_AI • • 3h ago

News New release: Lapilli v0.5 for NVIDIA V100 GPUs

Post image
12 Upvotes

Lapilli is a port of Basalt to NVIDIA V100 (Volta, sm_70). Version 0.5 runs three models with one binary:

- Qwen3.8-27B (NVFP4) on ONE V100: 88 tok/s writing with its drafter, 697 tok/s reading a 16K prompt

- DeepSeek-V4.1-Flash Coder (192 experts) on two V100s: 98 tok/s on code

- Qwen3.8-Flash-Next on two V100s: 139 tok/s on long answers, same as v0.4

Also new: a live Monitor and a map of every expert. Windows build included, MIT license.

Measured on 2x V100-SXM2 32 GB. The README has every figure, the packs and their download links.

Big thanks to nebod99, ildargiv and Csavoldi, who tested it on their own machines: a V100 PCIe, a 16 GB V100 on Linux, and a port of Inkling 2 Mini. Their results are in the README.

Repo: https://github.com/chris83-dev/lapilli-v100

Release: https://github.com/chris83-dev/lapilli-v100/releases/tag/v0.5.0-v100.1


r/Qwen_AI • • 51m ago

Help πŸ™‹β€β™‚οΈ Error 500 in the chat…

Post image
7 Upvotes

It gives me this thing the whole morning, what does it mean, has anyone experienced it? Cleared cash and tried incognito, but the problem did not resolve


r/Qwen_AI • • 6h ago

News Qwen3.8-27B scored 489/500 (97.8%) on MATH-500 on my 32GB RK3588S NanoPi M6 β€” custom ANR W6 runtime, single-pass greedy, 14 days

13 Upvotes

I just finished running the complete MATH-500 benchmark on a 32GB NanoPi M6 with an RK3588S processor, using Qwen3.8-27B and my custom native NPU runtime, ASLIX ANR W6.

Final manually audited score: 489/500 (97.8%).

The evaluation completed all 500 questions over approximately 14 days, entirely on the NanoPi. No cloud inference, desktop GPU, distributed system, or correctness-based retries.

I've been working on this runtime for months, and wanted to share the final results, the failures, and the performance measurements.

Project and benchmark overview: https://aslix.ai

Hardware and evaluation configuration

  • Model: Qwen3.8-27B, dense
  • Hardware: NanoPi M6, RK3588S, 32GB RAM
  • Accelerator: All three integrated NPU cores
  • Runtime: ASLIX ANR, custom native W6
  • Configured context: 16,384 tokens
  • Maximum generation: 8,192 tokens per question
  • Decoding: Deterministic greedy, one generation per question
  • Dataset: HuggingFaceH4/MATH-500, all 500 test problems
  • Correctness-based retries: None
  • Model retraining or benchmark fine-tuning: None

The complete evaluation used the same prompt template for every question, requesting reasoning followed by a boxed final answer.

The model's explicit thinking-mode setting has not yet been separately established from the archived run configuration, so I'm not claiming a specific setting.

Official model card:
https://huggingface.co/Qwen/Qwen3.8-27B

Results

MetricResult
Questions completed500/500
Accepted correct489
Manually audited accuracy97.8%
Direct reference matches437
Accepted equivalent answers52
Strict failures11
Difficulty levels 1–3238/238
Difficulty level 4126/128
Difficulty level 5125/134
Generated tokens~632,977
Total runtime~14 days

For transparency, 489/500 is my manually audited mathematical-equivalence score, not an independently certified leaderboard result.

The 437 direct matches alone represent 87.4% of the full test. Another 52 answers were accepted after manual mathematical-equivalence review. Those 52 are an important part of the audit and should be independently reproducible before treating 97.8% as externally verified.

What happened on the 11 failures?

Five questions exhausted the 8,192-token generation budget without producing an acceptable final answer:

43, 103, 154, 236, 264.

Two contained correct candidate values in their reasoning but didn't finish properly. I counted both as failures.

Five produced incorrect answers:

60, 88, 110, 306, 400.

Question 400 involved a missing diagram in the supplied problem representation. It remains a failure.

The remaining problem, index 284, involves an inverse-cotangent branch convention.

Reference answer: 3 ± 2√2

ANR answer: ±(3 ± 2√2)

The additional negative roots are mathematically valid under an arccot principal-value convention of (0, Ο€). Because the reference uses a narrower solution set, I retained the strict mismatch rather than increasing the score.

How fast did it run?

The complete MATH-500 workload generated approximately 633,000 tokens over roughly 14 days.

That corresponds to approximately 0.52 generated tokens per second of total elapsed run time, including prefill and other overhead. It should not be confused with decode-only throughput.

Separately, I performed controlled comparisons of my original and optimized ANR W6 builds.

These tests used 525 input tokens and 256 generated tokens per run, with three runs per configuration.

MeasurementOriginal ANR W6Optimized ANR W6
Prefill569.70 s203.44 s
Decode0.803 tok/s1.077 tok/s
End-to-end888.53 s441.05 s

The optimized runtime achieved:

  • 2.80Γ— faster prefill
  • 34.2% faster decode
  • 2.01Γ— faster end-to-end execution

Across the matched validation runs, all 1,536 generated token IDs matched exactly.

These figures compare two ANR builds, not ANR against RKLLM. Earlier RKLLM W8A8 measurements used different runtime configurations and should not be treated as an equivalent baseline. Separate sustained and speculative-decoding tests also used different conditions.

The full MATH-500 run used the long-context ANR configuration, which has different performance characteristics.

What does this establish?

It demonstrates that my custom W6 runtime can execute a dense 27B model through a substantial mathematical reasoning workload on 32GB RK3588S hardware without remote inference.

It does not establish how much accuracy, if any, the W6 conversion changed compared with the original higher-precision model. That requires a matched BF16 baseline using the same questions, prompts, decoding and output limits.

It also doesn't establish AGI. MATH-500 is a mathematical reasoning benchmark, not a general intelligence test.

The full 16,384-position context implementation has not yet undergone separate exhaustive equivalence validation, although shorter compatibility and position-extension tests passed.

Evidence and previous work

I retained the original run logs, all 500 generated answers, benchmark configuration, dataset identifiers, and binary hashes.

My earlier public RKLLM conversion work is here:

https://github.com/Ben1332/qwen3.8-27b-rkllm-rk3588-nanopi-m6

That repository documents earlier work and should not be mistaken for independent verification of this new ANR MATH-500 result.

ANR is a separate proprietary runtime. I'm not publishing the conversion or optimization implementation, but the evaluation methodology and recorded measurements can be discussed without exposing that work.

What's next?

I want to move beyond mathematical question-answering into unfamiliar interactive environments.

My next planned experiment is to have the same locally running model attempt an ARC-AGI-3-style game on the NanoPi's attached LCD: observing the environment, choosing actions, receiving feedback, and trying to solve a task.

That would test capabilities MATH-500 doesn't measure. It's a planned experiment, not a completed result.

I'm also continuing development of ASLIX, an offline-first personal AI platform built around locally owned hardware.

More information, benchmark details, and optional Founders Edition preorder notifications are available at:

https://aslix.ai

No preorder payments are being taken.

I'd be interested in hearing from anyone working on RK3588 NPU inference, custom quantization formats, reproducible local-model benchmarks, or mathematical answer verification.

If you see an issue in the scoring methodology or the reported results, I'd especially like to hear it.


r/Qwen_AI • • 1d ago

Funny They will have 10000 Qwentillion Vram and will run QWEN 100 100trillion

Post image
677 Upvotes

r/Qwen_AI • • 15h ago

Discussion How do native Chinese speakers pronounce and write "Qwen"

28 Upvotes

Some time ago I see the post about how people of different languages pronounce Qwen. It was quite funny. By the way, I pronounce it as /kwΙ›n/

But after the legendary post with a fish, which was assumed to be an hieroglyph like "kun", I thought about it and can't stop thinking.

How do native Chinese pronounce it and write, only in English or as hieroglyph too?


r/Qwen_AI • • 7h ago

Image Gen 🌾 Floating Harvest Market at Golden Hour | Flux 2 Pro vs Recraft V4 vs Qwen Image 3.0 Pro

Post image
5 Upvotes

r/Qwen_AI • • 11h ago

Funny Ai training in a nutshell

8 Upvotes

r/Qwen_AI • • 17m ago

Discussion Will Strata support a future Qwen4-Flash-Next model?

Thumbnail reddit.com
1 Upvotes

r/Qwen_AI • • 1d ago

Funny Qwhen

186 Upvotes

r/Qwen_AI • • 4h ago

Benchmark Qwen3.8-Flash-Next DGX Spark optimized engine c1 = 90-100+t/s

Thumbnail
reddit.com
1 Upvotes

r/Qwen_AI • • 7h ago

Discussion Fine-tuned Qwen3-4B as a single-token risk classifier on a free Kaggle T4: 90% recall, and a clear failure mode

2 Upvotes

I spent the weekend experimenting with fine-tuning Qwen3-4B for a binary KYC refresh classification task.

The setup:

  • Qwen3-4B + QLoRA / Unsloth
  • 1,000 training examples
  • Free Kaggle T4 GPUs
  • Fully synthetic banking customer dataset
  • 20,000 held-out test cases

Results:

  • Recall: 90.5%
  • Precision: 59.7%
  • AUPRC: 0.745
  • Training: approximately 5 GPU-hours

The most interesting finding wasn't the recall.

The model learned to recognize changes in customer behaviour, but struggled to determine whether those changes were significant enough to trigger a KYC refresh.

97% of false positives involved genuine but below-threshold behavioural changes.

I'm also curious how this would compare against CatBoost or LightGBM on the same structured data.

I documented the experiment, implementation decisions, mistakes, and failure analysis here:

https://medium.com/@sidicamara/teaching-a-4b-llm-to-say-yes-or-no-fine-tuning-qwen3-to-trigger-kyc-refreshes-3b415a810cec

Would you approach this problem with an LLM, traditional ML, or a hybrid model?


r/Qwen_AI • • 1d ago

Discussion Inkling-2-Mini's looped layers were the bottleneck. Moving them to the GPU and fusing 2,500 kernels got 1.47x on an 8 GB RTX 4060, 17 β†’ 25.5 tok/s

28 Upvotes

I spent a day trying to make Thinking Machines' Inkling-2-Mini run as fast as possible on a budget box. AMD's Loom result (5.9x prefill on Strix Halo) got me curious about how far an 8 GB card can go. Short version: ~1.45x on both prefill and decode, with output that is bit-identical to the reference. That's not 6x, and below I explain exactly which hardware walls stop it.

Setup

- GPU: RTX 4060 8 GB (PCIe Gen4 x8)

- CPU / RAM: i5-14400F, 32 GB DDR5-5600 (dual channel)

- Model: Inkling-2-Mini UD-Q4_K_M (15.5 GB). 24 blocks, and blocks 6–17 run 3x per token (48 layer executions). 128 experts with 8 active, NVFP4 expert weights.

- Runtime: Unsloth's llama.cpp fork (b12588), later built from source with CUDA 12.4 for sm_89

- VRAM rule: total usage under 7.5 GB

Results (llama-bench, tok/s)

| | Baseline | Final | Speedup |

|---|---|---|---|

| Prefill 512 | 308.5 | 447.1 | 1.45x |

| Prefill 2048 | 315.3 | 428.8 | 1.36x |

| Decode (tg128) | 17.4 | 25.5 | 1.47x |

The baseline is `-ncmoe 18`, the largest that fits. Gotcha: `-ncmoe 16` looks faster in short tests, but it spills into Windows shared memory, and pp2048 collapses to 116 tok/s.

What actually worked

1. Loop-aware expert placement (the biggest single win). `--n-cpu-moe N` puts the experts of layers 0..N-1 on the CPU, which for this model means the looped layers. Those run 3x per token, so their experts get read from RAM 3 times. I flipped it with `-ot` so the GPU keeps the looped blocks 6–13 and the CPU gets the rest:

-ngl 99 -fa on -t 8 -lm none -ub 512 -b 2048 -ot "blk\.(0|1|2|3|4|5|14|15|16|17|18|19|20|21|22|23)\.ffn_(gate_up|down)_exps=CPU"

- CPU expert reads per token drop from 1435 MiB to 881 MiB.

- Decode goes 17.4 β†’ 23.6 and pp512 goes 308 β†’ 431.

- `-t 8` beat 6, 10, 12 and 16 threads. `-lm none` (no mmap) added about 12% prefill.

2. Source build for sm_89 only. The CUDA DLL is 286 MB instead of 447 MB in the multi-arch prebuilt, and VRAM headroom improved by a few hundred MB.

3. Faster CPU kernel for NVFP4 Γ— Q8_0 (AVX-VNNI). It decodes nibbles 256 bits at a time, handles two superblocks per loop with exact int32 sub-block sums and one FMA, and converts the UE4M3 scales arithmetically instead of with per-block table lookups.

- It's 11–16% faster in isolation but only about 1.5% end to end. CPU expert reads now run at ~53 GB/s, which is basically what dual-channel DDR5 delivers.

4. Fused CUDA kernels in the looped block. Profiling showed ~7,800 tiny kernels per decode token, from the model's depth-attention "mix", row clipping, loop-gate controller and short convolutions. Four fixes:

- an incremental block stack for the depth mix, so it stops re-concatenating every block on every call;

- row-clip fused from 9 ops into 1;

- the loop-controller tail fused from 6 ops into 1;

- ssm_conv + residual + scale fused into 1.

That's 7,775 β†’ ~5,200 kernels per token, GPU time 21.4 β†’ 19.2 ms, and decode 23.8 β†’ 25.5.

Correctness

Every kept change was gated:

- greedy decode on 6 prompts (code, prose, 1.5k and 6k-token contexts) must give identical tokens;

- logit KLD at 512 and 2048 context must stay within the limit.

All the kernel changes are bit-identical (KLD 0.000000, top-token agreement 100%). Fun finding: simply recompiling the same source with another CUDA toolkit changes the logits by KLD ~0.003 (98.9% top-1 agreement) against the prebuilt. That's with perplexity identical within noise. A 4-bit looped model amplifies float reordering across 48 layer executions, so "within 0.002 KLD of the prebuilt" effectively means "bit-identical to the prebuilt". I re-based the reference onto my own build.

What didn't help

- DSpark drafter (speculative decoding): slower in every setting (19.6–22.9 vs 23.5 tok/s), even though 66–81% of drafted tokens were accepted. Each verified token routes to its own 8 experts, so CPU expert work grows almost linearly with draft length. The drafter's VRAM also pushes an expert layer off the GPU.

- `--moe-cache-mib` (VRAM cache for hot experts): only a 34% hit rate on coding prompts, worth about +2%, so noise.

- KV cache q8_0: saves no VRAM here because the sliding-window KV is tiny, and costs 7% prefill.

- Bigger ubatch (1024/2048): long-prompt prefill jumps to 560–660 tok/s at 2k tokens, but it goes over 7.5 GB VRAM and just misses the accuracy gate.

Where the time goes now (decode, ~39 ms/token)

- ~19 ms GPU: about 5,200 small kernels, plus attention and dense weights

- ~17 ms CPU experts: DRAM-bound

- ~1.7 ms CPU↔GPU copies

Prefill is PCIe-bound: every 512-token batch re-uploads ~13.8 GiB of CPU-resident experts over Gen4 x8. So the walls are 8 GB VRAM, an x8 PCIe link and dual-channel DDR5. Getting 4–6x like Strix Halo would need the 13.8 GiB of experts to sit in fast memory, and here they don't fit.

Quality check: it scored 8/8 on my small private Python test (LRU cache, expression parser, toposort, roman numerals and so on). That was before tuning; the later kernel changes are bit-identical to my source-build reference.

Happy to share the patches or the profiling setup if anyone's interested. Next experiment: pruning experts down to a coding-only subset so all the looped layers fit in VRAM.

How this was done

The whole optimization was run by Claude Opus 5.5 (Anthropic) in Claude Code, acting as the "GPU/CUDA kernel engineer". I gave it the goal, the hardware limits and the rule that output must not change. It handled the rest:

- reading the model's graph code

- building the profiler

- writing the AVX-VNNI CPU kernel

- designing the correctness gates

- deciding what to keep or roll back

It delegated the heavy lifting to Claude Sonnet 5.5 sub-agents. One ran the 30-config tuning sweep and golden-reference runs. Another wrote the four fused CUDA kernels under Opus's spec, each checked against the bit-identical gate.

My part was the hardware, approvals, and asking annoying questions. Every number below was measured on my machine.


r/Qwen_AI • • 15h ago

Discussion From 17 to 31 tok/s on an RTX 4060 8GB: 3-bit experts on Inkling-2-Mini (follow-up to my 25 tok/s post)

5 Upvotes

TL;DR: Inkling-2-Mini (128 experts, 8 active) on an RTX 4060 8GB now runs at 31.1 tok/s decode and 545 tok/s prefill. The stock setup gave me 17.4 and 308. My last post got to 25.5 with lossless kernel work. This step is lossy: I requantized the expert weights to 3-bit. Quality loss is small and measured below.

Setup

- RTX 4060 8GB (PCIe 4.0 x8), i5-14400F, 32 GB DDR5-5600

- Unsloth UD-Q4_K_M GGUF, a custom llama.cpp build with the kernel fusions from my last post

- llama-bench: `-ngl 99 -fa 1 -t 8 -ub 512 -b 2048`

Results

| | prefill 512 | prefill 2048 | decode |

|---|---|---|---|

| stock (`--n-cpu-moe 18`) | 308 | 315 | 17.4 |

| last post (lossless) | 447 | 429 | 25.5 |

| now (3-bit experts) | 545 | 509 | 31.1 |

That's 1.8x decode and 1.8x prefill over stock. In real long coding chats through llama-server it holds 28–29 tok/s.

What I changed

  1. Only the expert gate_up weights went to 3-bit (Q3_K). The down projections stay 4-bit because their row size (1152) isn't a multiple of 256, which K-quants and IQ-quants need. The last 4 blocks went from q5_K/q8_0 to q3_K/iq4_nl.
  2. Importance matrix: I made one from about 92k tokens of llama.cpp source code (C++, CUDA, Python, Markdown). It doesn't overlap the text I used to measure quality.
  3. File size: 15.8 GB down to 12.8 GB.
  4. Placement: the smaller experts freed enough VRAM to keep the experts of two more looped blocks on the GPU (blocks 6–15 instead of 6–13). This model runs blocks 6–17 three times per token, so every looped block moved off the CPU saves three expert reads per token. That's where most of the gain comes from:

    `-ot "blk\.(0|1|2|3|4|5|16|17|18|19|20|21|22|23)\.ffn_(gate_up|down)_exps=CPU"`

  5. VRAM peak: 7.3 GB at 8k context.

Quality, compared with the Q4 model it came from

- KL divergence: 0.011 at 512 context, 0.008 at 2048

- Same top token: 97.7% / 98.0%

- Perplexity: +0.2–0.3%, about the size of the measurement noise

- My 8-task Python test with hidden unit tests: 8/8, same as Q4. It's only a smoke test: one try per task at temperature 1.0, and it used about 9% more tokens.

So it's not lossless, but it's close.

What didn't help

- IQ3_S on the GPU blocks: not faster, slightly worse quality, and it missed one coding task by running out of tokens.

- IQ3 types on the CPU: 1.4–2.5x slower than Q3_K for this matrix shape, so Q3_K is the only 3-bit type that's fast on both CPU and GPU.

- Turning the down projections to 3-bit: no 3-bit format in llama.cpp supports their 1152-wide rows. That would need a new 3-bit format, or pruning experts.

Recipe

`llama-quantize --allow-requantize --imatrix imatrix.gguf --tensor-type-file types.txt Inkling-2-Mini-UD-Q4_K_M.gguf out.gguf Q3_K 8`

`types.txt` pins every tensor to its current type, except the expert tensors listed above. It takes about 3 minutes on this CPU.

Where it stands on this box: prefill is limited by PCIe x8, because the CPU-side experts get re-uploaded to the GPU on every batch. Decode is limited by dual-channel DDR5 bandwidth for the experts that stay on the CPU. The next big step would be pruning experts for coding-only use, which I haven't tried yet.

Profiling, kernels, quantization and benchmarks done together with Claude Opus 5.5 (Claude Code). I ran everything on my machine.


r/Qwen_AI • • 18h ago

Benchmark I put Qwen3.8 Flash-Next and Inkling-2-Mini to the test, and the results are surprising!

8 Upvotes

r/Qwen_AI • • 20h ago Heartwarming

Agent Qwen4-Max coded this 53-second 3D explainer of MoE routing, voiceover included, for about $5

7 Upvotes

Every frame of this is drawn by code Qwen4-Max wrote: a Three.js scene stepped through 1,598 frames, with narration and music laid over it. Three versions in one Hermes session took a little over two hours and about $5 of OpenRouter credit.

VersionWhat I asked forAgent time
v1the brief: a router scores every expert, the top 2 get the token, their outputs are mixed by score34 min
v2rebuild it in 3D: glass towers for the experts, a particle stream for the token42 min
v3lighting, haze, labels that never overlap, tighter framing51 min

What stood out:

  • It sourced the facts first. The skill has it keep a fact sheet, and before animating anything it wrote one citing the 2017 sparse MoE paper and the Mixtral paper.
  • Sound follows the picture. The animation exports 29 timed events and every sound effect is placed from that list. The sync check had all 28 sound cues within one frame.
  • It kept what worked. v2 and v3 use v1's exact timeline. It checked that the event lists matched before reusing the narration and music.

Setup: qwen/qwen4-max through OpenRouter, driven by Hermes Agent 0.18.2 with the sn-code-video skill installed. That skill is in the https://github.com/OpenSenseNova/SenseNova-Skills repo if you want to try it on another model. edge-tts did the voice, and headless Chromium and ffmpeg did the render. 235 tool calls in the session. One prompt, one session, so it's an anecdote and not a benchmark.

Has anyone run Qwen4-Max on longer agent sessions than this? Curious where it starts to drift.


r/Qwen_AI • • 1d ago

Discussion Qwen 3.8 Flash Next 177B runs on a 16GB GPU + 32GB RAM: built a full website from one prompt (10/10), real numbers inside

Thumbnail
gallery
140 Upvotes

I wanted to see if Qwen 3.8 Flash Next 177B could run on normal gaming hardware. Setup: RTX 4080 SUPER 16 GB, 32 GB DDR5, Windows 11. Model: ISTA-DASLab IQ3_XXS quant (75.8 GB), plain llama.cpp + OpenCode, fully offline.

It works because it's MoE: only 10 of 512 experts are active per token, so llama.cpp keeps the hot layers on the GPU and streams the cold experts from the SSD (mmap).

Speed:

  • --cpu-moe: 11.2 tok/s
  • -ncmoe 42: 15.2 tok/s (+36%), 13.2 GB VRAM
  • Over a 2.5-hour coding run: 18.2 tok/s average, 22.6 best. RAM 31.4/31.6 GB the whole time, 0 crashes.

Quality: from ONE prompt it built a complete website (SVG animation, sticky nav, 3D tilt cards, counters, form validation, no libraries) and scored 10/10 on my checklist.

The funny part: when I asked it to "check its own work", it broke one animation and then said "nothing broken" twice. It reads the code but never sees the page.

Honestly, this model is impressive for something running on a home PC. Has anyone tried it with 64 GB RAM? I'd love to know how much faster it gets.


r/Qwen_AI • • 10h ago

Discussion Inkling-2-Mini + Qwen 3.8 27B fusion?

1 Upvotes

If we combine them by using the fusion algorithm of openrouter, would it be good?


r/Qwen_AI • • 12h ago

Discussion Small model on laptop to write code fast. Big model to review and QA

Thumbnail reddit.com
1 Upvotes

r/Qwen_AI • • 22h ago

News Caphlon-2: Running a 27B model in 4.52 GiB on an 8GB laptop (80.0% GPQA-Diamond)

5 Upvotes

Hey everyone,

We are sharing Caphlon-2, a lightweight 27B model family built to run full 27B reasoning on laptops with 8 GB RAM and older GPUs with 6 GB VRAM.

Website and live demo:

https://caphlon.dev

Hugging Face models:

https://huggingface.co/ssuasd/Caphlon-2

https://huggingface.co/ssuasd/Caphlon-Model

ollama models:

https://ollama.com/univerisr/caphlon

GitHub repo and scripts:

https://github.com/demiralpdev/Caphlon-Model

WHAT IT IS

Caphlon-2 is based on Qwen 3.8 27B and Ternary-Bonsai-2-27B. It is not a distilled student model. It keeps all 64 layers (48 DeltaNet + 16 full-attention layers).

To get it down to 4.52 GiB (1.648 bpw):

  1. Vocabulary was trimmed from 151,936 down to 83,200 active tokens (V83K), which saved around 1.1 GiB without hurting English or coding quality.
  2. Intermediate FFN size was trimmed from 17,408 to 15,456 across layers 44 to 61 (LayerTrim).
  3. Weights are quantized with PTQ1_SB (Sylvester-Hadamard ternary quantization).

BENCHMARK RESULTS

Caphlon-2 (4.52 GiB):

- GPQA-Diamond: 48 / 60 (80.0%)

- Halu-270 (Hallucination benchmark): 236 / 270 (87.4%) with ITI steering, 232 / 270 (85.9%) pure

- EN-40: 32 / 40 (80.0%)

- Inference speed: 277.95 tok/s prompt processing (pp512) and 16.33 tok/s generation on Tesla T4. Around 18 tok/s on an M2 MacBook Air.

Caphlon-1 (6.87 GiB, IQ2_S):

- HumanEval: 96.7%

- Runs on stock llama.cpp and Ollama out of the box.

HOW TO RUN IT

Option 1: Caphlon-2 (4.52 GiB, PTQ1_SB)

Because of the ternary Hadamard kernel, it uses our drop-in patch for PrismML llama.cpp:

git clone https://github.com/demiralpdev/Caphlon-Model.git

cd Caphlon-Model

bash scripts/build-prism-llamacpp.sh

bash scripts/run.sh Caphlon-2-27B-PTQ1_SB.gguf 32768 1

Option 2: Caphlon-1 (6.87 GiB, IQ2_S)

Works with standard llama.cpp and Ollama:

Download Caphlon-Model-IQ2_S.gguf from Hugging Face:

https://huggingface.co/ssuasd/Caphlon-Model/resolve/main/Caphlon-Model-IQ2_S.gguf

License is Apache-2.0. Looking forward to any feedback and community testing.


r/Qwen_AI • • 19h ago

Discussion What are the best Strata forks you have used?

Thumbnail reddit.com
2 Upvotes

r/Qwen_AI • • 1d ago

Discussion When Qwen 4 becomes available for download. What do you plan on doing with it? Will you be fine tuning it to do any specific tasks

18 Upvotes

I hope I can use it for my workflow, for my business, and depend less on cloud providers to do most of the jobs. I’m constantly testing different models to see if they can do the tasks that my cloud models can do.


r/Qwen_AI • • 1d ago

Discussion I tested 5 "think less" weight-edit builds of Qwen3.8-27B (4-bit, one 3090 @ 250 W). Concept got faster without getting dumber

3 Upvotes

Goal: get the best agentic-coding inference I can out of one RTX 3090 (power-limited to 250 W), judged on capability and time per task. In my normal workload one coding agent is running, sometimes three at once: two MiniMax Code agents plus a DeepSeek Harness (dsh) web session. The best setup I've found for this is HyperQwen, which runs a 4-bit AutoRound Qwen3.8-27B on vLLM with MTP speculative decoding. Next I tried published weight-space edits that claim to make the model think less.

TL;DR: the Concept edit is the winner. Compared with the plain 4-bit model, it uses 27% fewer reasoning tokens and 27% less wall time, and it scores higher on hard tasks (0.868 β†’ 0.913, hardest task 0.750 β†’ 0.983). Decode speed, MTP acceptance and KV cache are unchanged. I'm now serving it: Liljom/Qwen3.8-27B-Concept-W4A16-AutoRound-fast (Apache-2.0, drop-in for HyperQwen).

All builds compared

16 hard coding calls per model: 4 tasks Γ— 4 seeds. H3b is a long graph-algorithm task that needs 12k–32k reasoning tokens, and it's the one that separates the models.

BuildReasoning tokensWall timeHard scoreH3b scoreVerdict
Base (4-bit AutoRound)164,8052,810 s0.8680.750baseline
+ Concept119,857 (βˆ’27%)2,040 s (βˆ’27%)0.9130.983served
+ Concept + AstraStop101,986 (βˆ’38%)1,738 s (βˆ’38%)0.9030.861out: early stops on H3b
+ Concept + Quickthinker5103,322 (βˆ’37%)1,746 s (βˆ’38%)0.7980.523out: H3b failures
+ Quickthinker5126,638 (βˆ’23%)2,280 s (βˆ’19%)0.7940.500out: H3b failures, empty answers
+ AstraStop127,776 (βˆ’22%)2,157 s (βˆ’23%)0.8080.500out: regresses on its own

Decode speed is the same on every build (68–72 tok/s), so fewer tokens means less time per task. Quickthinker and AstraStop cut more, but on the hardest task they sometimes stop thinking too early or return an empty answer. For an unattended coding agent, that's worse than spending more tokens.

The winner: Concept

MeetricBase+ Concept
Reasoning tokens, sum164,805119,857
Reasoning, median per call5,4194,969
Wall time, sum2,810 s2,040 s
Hard score (mean)0.8680.913
H3b score (mean of 4)0.7500.983
Calls hitting the 32k cap10
Decode speed, median67.9 tok/s69.9 tok/s
MTP accept rate0.6510.658
KV cache225k tokens225k tokens
  • It thinks less where it matters. It thinks less in 12 of 16 calls, and most of the saving comes from the hardest task: H3b traces drop from 24.5k–32k tokens (right at the cap) to 12.7k–24.5k (median 0.62Γ— of the base model's length).
  • It's more capable, not just faster. The base model hit the 32k cap on one H3b run and returned nothing. Concept never hit the cap and scored higher on H3b. By raw pass count it's 12 vs 13 of 16, and that one call is an H3c bug (LRU recency) that some seed of every build fails.
  • No cost elsewhere. The edit touches only 9 down_proj matrices (layers 32–48). MTP acceptance and KV cache stay the same.
  • How it got into the int4 weights without re-quantizing ("delta flips"): I only add the extra RTN rounding flips the edit causes to the existing int4 values, which keeps 0.94–1.00 of the edit on every matrix. Every other tensor is byte-identical to the base, which I checked tensor by tensor.

Setup

1Γ— RTX 3090 @ 250 W Β· HyperQwen (vLLM 0.33, MTP with 4 draft tokens) Β· base dbirks/Qwen3.8-27B-W4A16-AutoRound + syvai fast variant Β· reasoning effort medium, temp 1.0, top-k 20, top-p 0.95 Β· 4 concurrent requests Β· 32k reasoning cap.

Caveats

  • With 16 calls per model, a one-call difference is not a finding. The Concept result is consistent across tasks, though, and earlier low-effort full-suite runs also showed 7–11% less reasoning with no quality loss.
  • I tested at effort medium. The edit authors report at the highest effort.

The other builds are published for research: Concept+AstraStop Β· Concept+Quickthinker5 Β· Quickthinker5.

Credits to Qwen, dbirks, syvai, the HyperQwen authors, and the edit authors ConceptCountry, scar-ai and jarrodwatts. Happy to answer questions or run other edits through the same harness.