r/Qwen_AI • • 3h ago

Chill Qwen with releasing Qwen 4 open weights

151 Upvotes

Are the Qwen 4 35b a3b rumors true ?

I have very low hopes for this model since it uses the same architecture as 3.6 35b a3b from what I heard .. it would probably also suck


r/Qwen_AI • • 5h ago

Image Gen Qwen-Image 2.1 Turbo can edit a transparent PNG without a separate alpha matte

Post image
12 Upvotes

I tried a small two-reference edit with Qwen-Image 2.1 Turbo: replace a glowing cube in a transparent sticker with a gift box, carry over the cyan light onto the hands, and leave the character alone. I ran the same edit twice in TensorSharp, which I maintain: once with a supplied foreground matte and once with Qwen generating the alpha itself.

The useful bit: keep the edit mask in both runs. It tells the pipeline where anything may change. The foreground matte is separate: it sets how opaque the edited region should be. For native RGBA, omit only the foreground matte.

With my fixed matte, Qwen drew a smaller box than the matte expected, leaving a hard pale rim around it. Qwen's native alpha followed the box more closely and removed that hard rim. A softer cyan halo still showed up on dark backgrounds, so I'd check the exported PNG on both dark and light. One other lesson: the pink notch at the bottom of the gift disappeared when I cleaned the fingers out of the object reference, without changing the edit mask.

Numbers for this edit: M5 Pro, 48 GB, Metal; Q5_K_S Turbo preset, fixed 8-step Euler schedule, CFG 1. The source and result were 1254 Γ— 1254; Qwen sampled the small edit crop internally at 320 Γ— 320. All 1,547,143 pixels outside the mask were unchanged in decoded RGBA.

Same source, prompt and edit maskSeed 0Seed 42
Qwen with a foreground matte13.3 s9.1 s
Qwen native RGBA10.9 s9.0 s

These are single local Server.Host requests, excluding startup and transfers. The matte run came first; the native run could reuse caches. The table doesn't establish that native alpha itself is faster. With two full transparent sticker references, the seed-0 native run took 11.1 s and still showed a soft halo. Those inputs also changed the framing, so I wouldn't attribute the difference to input alpha alone.

Try it with your own images

On Apple silicon, install the .NET 10 SDK, CMake 3.20+, and Xcode Command Line Tools. Build the pinned checkout:

git clone https://github.com/zhongkaifu/TensorSharp.git
cd TensorSharp
git checkout f7c3ca8f6e28a5c58e07a43cebb459130deb78e5
TENSORSHARP_GGML_GIT_REF=bb877c0c51f38c52ee2d5e41d58e3d0c20f3fed4 \
  dotnet build TensorSharp.Cli/TensorSharp.Cli.csproj -c Release

From the repo root in Bash or Zsh, change the paths and prompt below. The grayscale edit mask must match the source dimensions: white edits, black keeps, gray blends. The two references can have different dimensions from the source. Leave MATTE empty for native RGBA only. To run the second comparison, point it at a separate same-size grayscale PNG, where white means opaque and black means transparent inside the selected area.

SOURCE="/absolute/path/to/source.png"
REF_OBJECT="/absolute/path/to/object-reference.png"
REF_LIGHT="/absolute/path/to/lighting-reference.png"
MASK="/absolute/path/to/edit-mask.png"
MATTE=""  # Optional: /absolute/path/to/foreground-matte.png
PROMPT="Replace the cube in Picture 1 with the gift box from Picture 2. Use Picture 3 only as a lighting reference. Match the soft cyan light around the gift and preserve everything outside the selection."

export TENSORSHARP_MODELS="${TENSORSHARP_MODELS:-$HOME/.cache/tensorsharp/models}"
mkdir -p "$TENSORSHARP_MODELS" masked-edit-results
cli=(dotnet TensorSharp.Cli/bin/TensorSharp.Cli.dll)
common=(
  --backend ggml_metal --config config/qwen-image-2.1-turbo.json
  --image "$SOURCE" --image "$REF_OBJECT" --image "$REF_LIGHT"
  --prompt "$PROMPT" --mask "$MASK" --mask-mode grayscale
  --mask-feather 0 --mask-crop --mask-crop-padding 64 --keep-source-size
  --diffusion-seed "${SEED:-0}"
)

"${cli[@]}" "${common[@]}" --output masked-edit-results/qwen-native-rgba.png

if [ -n "$MATTE" ]; then
  "${cli[@]}" "${common[@]}" --mask-foreground-matte "$MATTE" \
    --output masked-edit-results/qwen-shared-matte.png
fi

The preset downloads its pinned weights if needed; check the weight license separately from the runtime license. CLI runs start fresh processes, so their wall time isn't the same measurement as the server numbers above.

For anyone editing transparent assets with Qwen: what has worked best for keeping the reflected light without a halo on dark backgrounds? I'd especially like to hear whether you've had better luck changing the mask, the reference framing, or the prompt.


r/Qwen_AI • • 6h ago

Experiment Vermilion Editor: A GTK editor/IDE being built with Qwen 3.8 27b & Claude for local AI software development

Post image
3 Upvotes

I've been building Vermilion Editor, a native Linux text and code editor written in C++17 on GTK 4 and GtkSourceView 5. It is an IDE made to put local AI development first.

It's pre-alpha with no release yet, but the core editor works: tabs, open and save with encoding and line-ending detection (UTF-8, UTF-16, Windows-1252, Latin-1), Find, Replace and Go to Line, and crash recovery that copies unsaved work in the background. It reloads files that change on disk, or asks first if you have edits, and has light, dark and follow-system themes and a built-in manual.

The long-term plan adds an AI agent that runs on local models through llama.cpp, plus a terminal and a debugger, but the editor comes first.

https://github.com/adamjeremy-sk/vermilion-editor

The newest piece is the diff engine. It compares whole lines. Each line gets a number through a hash table, the matching start and end of the two files are stripped, and lines that appear exactly once in each file become anchors, as in patience diff.

Between the anchors it runs linear-space Myers on a worker thread. Huge or wildly different files can't hang it, because there are two limits: at most 10,000 differing lines per gap, and a budget of 200 million steps. The budget counts steps instead of measuring time, so the same pair of files gives the same result on a fast machine, a slow one or a debug build.

Anything past a limit shows as one replaced block with a note. Files over 10 MiB, binary files and files over a million lines get a plain message instead.

You see the result in a Compare window: two read-only panes side by side, with filler rows so the changes line up, whole rows coloured, syntax highlighting in each pane and the current change in a stronger colour.

F3 and Shift+F3 jump between changes, both panes scroll together row by row, unchanged stretches fold away behind marker rows you can click open, and there's Refresh and Find. You can open it four ways:

\\- Tools β†’ Compare with Disk (Ctrl+D) shows your unsaved edits against the saved file.

\\- The bar that appears when a file changes on disk.

\\- The crash-recovery prompt, to check a recovered copy before you take it.

\\- \\\`vermilion --diff old new\\\` from a terminal, which works even when the editor isn't running.

The editor is built with a gated, spec-driven method. The roadmap is split into milestones and small gates (the diff was gate M2.6), and each gate gets its own git branch. Before any code is written, I settle the design with Claude, which acts as the orchestrator: it proposes options, I decide, and every decision and later amendment is written down with its date (the diff gate ended with 17 amendments).

The orchestrator then splits the gate into steps and writes one spec per step: dictated headers and tests, exact edits, the expected file hashes, and the commands whose output proves the step was done. Each spec stays under about 35 KB so it fits a local model's context with room to work. Before a spec goes out, the orchestrator builds the step itself in a cloud copy of the repo and runs the tests and mutation tests on it, so the expected results are known in advance.

A local model, Qwen running on llama.cpp, then does exactly one step per fresh session: it writes the implementation from the spec, reports the raw evidence, and flags anything in the spec it doubts. Every step is audited and gets a verdict: PASS, PASS WITH NOTES or FAIL. Notes are fixed before the commit and never carried forward as debt. I test each UI step by hand, then commit and push it. At the end of a gate the documentation is brought up to date and the branch is merged into main with a full CI run. The diff gate took 47 steps, and the project now has 1888 passing tests.


r/Qwen_AI • • 9h ago

CLI SerranoLabs :[]\>>: start-servers ; adb wireless ; adb shell

Thumbnail
share.gemini.google
0 Upvotes

r/Qwen_AI • • 10h ago

Help πŸ™‹β€β™‚οΈ My entire chat got deleted somehow

3 Upvotes

I was just using it closed the tab to do something came back it the chat was still but everything inside it POOF gone and the bot didn't remember anything from the chat either so it not like I can't see it it's literally just gone


r/Qwen_AI • • 11h ago

News Possible mention of Qwen4-120B

Thumbnail
reddit.com
3 Upvotes

r/Qwen_AI • • 11h ago

Model New Fintan update: it shows where its answers come from now, and runs on Ollama and Macs

1 Upvotes

Hey all, new Fintan update out today for both the 9B and the 4B.

For anyone new: Fintan is Qwen3.5 that keeps learning after it's released. You give it your docs, notes or code, it learns them on your own GPU, and its general scores stay where they were.

The big one this time is sources. When it answers from something it learnt, it tells you where that came from (your file, the name you gave it, or the news article) and when it learnt it. If it learnt something wrong, you can pull that one fact out or correct it, and the old answer stops straight away.

Other stuff in this one:

  • a page at localhost:8900 where you can chat, drop in files (PDF, Word, Markdown, CSV and more) and start a learning run
  • point it at a synced folder (Google Drive, Dropbox, OneDrive, iCloud, Obsidian, a Notion or Slack export) and it keeps itself up to date. n8n and Zapier webhooks work too
  • it picks up things people mention in normal chat, and corrections, without you telling it to learn them
  • the 9B now learns at full precision on a 24 GB card: 13 facts in 8.7 minutes, and 22 of 22 right on wordings it never practised (it was 1 of 22)
  • Ollama support, learning included (you still need an NVIDIA card to learn)
  • early Mac support. So far I've only run the whole loop on an 8 GB M2 with a small model (0 of 6 right before, 5 of 6 after), not the 9B yet

A new news week is out too (25 Nov to 2 Dec). On its 152 questions the 9B gets 86.8% right vs 20.4% for plain Qwen3.5-9B, and the 4B gets 88.8% vs 15.8%. Every answer links its article.

If you aready have it, python scripts/update.py pulls all of this in and keeps everything you taught it.

huggingface.co/fintanlabs/Fintan-9B
huggingface.co/fintanlabs/Fintan-4B

Would love to hear what you end up teaching it.


r/Qwen_AI • • 12h ago

News looped Qwen 3.8 Flash Next

Thumbnail
youtu.be
4 Upvotes

r/Qwen_AI • • 17h ago

News Tencent, Alibaba, ByteDance Shift 2027 Nvidia Chip Budgets to Chinese Suppliers

Thumbnail
vectorwire.ai
148 Upvotes

r/Qwen_AI • • 20h ago

News LexiSuite 2922c5c: my all-Rust local AI stack after two full source audits (92 changes); Inkling-2-Mini reads a 262k prompt 32% faster; tensor parallel arrives as an experimental toggle for Inkling-2-Mini and Qwen3.8 FN; ahead of llama.cpp and Strata on Inkling, Flash-Next, Qwen3.8 27B & Nemotron!!!

Thumbnail
github.com
0 Upvotes

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp.

A new development image went out today, one day after the last one. 92 changes this time. Here is what they are.

Two audits of the whole source

The entire tree, 2.07 million lines of Rust, went through two outside audit rounds of about 100 parts each, through four lenses: security, continuity, compatibility and speed. I then checked the findings rated high by hand against the code, one by one, and fixed what held up: 93 confirmed findings are fixed in this image. Most of this release is that work.

Some of what was closed:

- Root-only routes (system update, disk install, backup recovery) accepted an internal service header in place of the root password. They no longer do.

- The restart export could read another instance's records through a second, unchecked parameter.

- Full model verification saved a changed model's fingerprint before refusing it, so a second load would have accepted it.

- A fresh fleet join code could replace an enrolled box. A replaced remote endpoint kept the API key saved for the old address.

- The engine now checks who owns its key file, and refuses an unusable key list instead of reading it as "no keys".

A more stable platform

- The installer writes the firmware fallback boot file last, verifies the bytes it then uses, and gives two disks installed from one stick different identifiers.

- Uninstall with purge refuses a folder that has a disk mounted under it.

- An answer cut off by the token limit while tools are offered now returns "length" instead of a server error.

- A model load that cannot fit no longer evicts an idle model first.

- The Panel's Secure Boot page hands out the current certificate (the bug named in the last post is fixed). Same certificate as the last image: nothing to enroll again.

Inkling-2-Mini reads long prompts faster

A new attention kernel for prompt processing. At a 262,144-token context a 261,632-token prompt now reads at 1,525.7 tok/s, up from 1,152.7, which is 32% faster. It sums in another order, so its output is not bit for bit the old kernel's: the two pick the same top token on 98.8% of 510 positions. One environment variable brings the old kernel back.

Qwen3.8 Flash-Next gets to its first token sooner

This is the 94 GB mixture-of-experts model served from one 24 GB card. First token after a 64k prompt comes 9% sooner and after a 128k prompt 10% sooner, with identical output.

Tensor parallel (experimental, off by default)

Inkling-2-Mini and Flash-Next can now split their experts across several ranks: several Vulkan devices, or several ranks on one card. It is one toggle in the Panel's New instance form and one engine option. With it off, output is bit for bit as before. With it on, output is deterministic; Flash-Next is bit for bit with two and three ranks on one card, and a 7900 XTX with an RTX 2060 as second rank works with uneven shares.

Speed, measured on this version

One Radeon RX 7900 XTX, one run each, November 30. Old version in brackets.

Inkling-2-Mini, 4-bit cache:

- 16,384-token prompt: reads at 2,471.4 tok/s (2,177.6), generates at 62.9 tok/s (61.2), 137.0 with the model's draft head (132.6)

- 261,632-token prompt: reads at 1,525.7 tok/s (1,152.7), generates at 50.1 tok/s (50.0), 64.9 with the draft head (68.1)

Inkling-2-Mini, 8-bit cache:

- 16,384-token prompt: reads at 2,436.8 tok/s (2,155.7), generates at 61.0 tok/s (61.0), 135.2 with the draft head (131.6)

- 261,632-token prompt: reads at 1,483.8 tok/s (1,140.4), generates at 43.7 tok/s (43.4)

Qwen3.8 Flash-Next at a 262,144-token context, time to first token:

- after a 16k prompt: 37.5 s (36.4)

- after a 64k prompt: 132.2 s (145.3)

- after a 128k prompt: 266.7 s (295.8)

- after a 256k prompt: 559.6 s (new row)

Qwen3.8 Flash-Next, generation:

- after a 16k prompt: 6.90 tok/s (7.64)

- after a 64k prompt: 12.73 tok/s (12.49)

- after a 128k prompt: 9.54 tok/s (9.56)

Things I am not hiding:

- Flash-Next gained nothing at a 16k prompt, and its generation there came out lower than last time (6.90 against 7.64). Both are single runs; I have not measured it enough to say whether that is real.

- Drafted generation on Inkling after the 262k prompt was 64.9 tok/s against 68.1 last time. Drafted speed follows how many drafts the prompt lets through.

- Tensor parallel is not benchmarked on a machine with two fast cards: I do not have one. On a single card it is slower than one rank, because rows cross through system memory. It is there so people with the hardware can use it and tell me.

- I did not re-run llama.cpp and Strata on this version. The comparison tables on the benchmark page are from version d484004 (November 27 to 28) and say so.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a real card in this version; the Linux boot entry is the one for daily use

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

Tested

Every test in the tree ran on this version: 17,997 tests, none failed. Both images passed nine Secure Boot checks in a VM, and the plain image passed an 18-step install to a disk.

Links

Download (960 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.7 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

All 92 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-2922c5c

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the audits, tensor parallel or the engine.


r/Qwen_AI • • 20h ago

Discussion Qwen 3.8 Omni Flash Gibberish

Post image
0 Upvotes

Hmm first time I got this kind of output, i was trying out this model and i got this. Happened to you before?


r/Qwen_AI • • 1d ago

Benchmark Qwen 3.8 27B on a 32GB MacBook built an Angry Birds style short for Amazon Ergo: $3.74 instead of $11.38, and 17 minutes faster

18 Upvotes

i had ergo plan the work and qwen 3.8 27b write the code on my 32gb m5 macbook. it finished in 43:24 for $3.74. ergo alone on the same prompt took 60:59 and $11.38.

the prompt was a 30 sec cardboard cartoon with the angry birds pigs. they come up with a plan in their workshop and end up flying a balloon cart over a waterfall to the eggs. it's all drawn by code in the browser.

ergo split the prompt into tasks and handed them to qwen one at a time. it never touched the files itself, it only read qwen's short reports and decided what to do next.

honestly i expected qwen to be the weak spot. it's a long creative build and the story has to read in 30 seconds. it held up fine, and i actually think the left film looks better than the one ergo made alone. video is side by side, judge for yourself.

the 17 minutes faster part i can't fully explain, a 27b on a laptop isn't fast. most likely the solo ergo run lost time fixing things with its whole project in context. one run each though.

anyone tried a smaller qwen for the coding part? wondering if 9b or 14b would be enough.

(disclosure: i work on atomic agent – its free&open-source so AMA, this is its fusion mode. prompt in the comments if you want to try it)


r/Qwen_AI • • 1d ago

Experiment A quarter of the experts is all you need

Post image
0 Upvotes

r/Qwen_AI • • 1d ago

Discussion I really need to upgrade my hardware. I fear the day we will be cut off from frontier reasoning models, unless we can pay 1000 dollars per 1m output token API calls

37 Upvotes

Question 1: How likely do you think we, regular folks, will be cut off from the frontier models? They have been bleeding and losing money for years now. Don't think 20 dollars a month can make them turn a profit in claude's case for example

How soon do you predict we will be cut off? That's why I want to upgrade my hardware so much and fast, asap

So question2: What do you think I should do for hardware upgrade? My current rig is:

RXT 4090, 7900x, 64GB ddr5 ram, 4TB SSD

Should I finance a Mac Studio 5 Ultra? I know it costs 30k USD but it can run deepseek 4.1v flash with 1m context from what I have seen on youtube


r/Qwen_AI • • 1d ago

Model Mallard 1.0 (9B/27B): 5.2x less KV cache than Qwen, same performance. Full context fits 12GB / 16GB cards

40 Upvotes

I'm u/Charming_Car_504, Obit Research, and we just released Mallard 1.0, with 27B and 9B variants.

HuggingFace 9B -- HuggingFace 27B -- Inference Engine

Summary

  • Full 9B context + weights fit a 12GB card (q8); 27B fits a 16GB card (q3) and a 24GB card (q4)
  • Full 262k context fits in 3.3 GB on the 27B and 1.65GB on the 9B (KV cache shrunk 5.2x)
  • Hybrid DSA (DeepSeek V3.2) / GDN architecture (ratio 1:4), with MLA (DeepSeek V2) KV cache
  • The model parents are Qwen 3.5 / Qwen 3.8 checkpoints
  • 27B training run completed in 26 H100 hours and 9B run in 8 H100 hours
  • Public GGUFs included with Unsloth Dynamic quants, several precisions

Benchmarking Mallard

AreaBenchmarkQwen3.8-27BMallard 1.0-27B
Long-context retrievalRULER, 1,440 rows, at 8k / 32k / 128kreferenceβˆ’1.38 / +8.06 / βˆ’0.07
KnowledgeMMLU-Pro (500)80.883.4
Instruction followingIFEval (200), strict / loose94.0 / 97.789.5 / 95.4
CodeHumanEval+ (164), pass@191.4694.51
Science reasoningGPQA Diamond (198), ~80k thinking budget89.9087.88
Math reasoningAIME 2025 + 2026 (120), 81,920-token cap98.3396.67

Running the model

Because the model is architecturally different than stock Qwen, it learned to think (produce more reasoning tokens) a little more on hard problems, up to 16% more on the hardest problems. It also thought up to 9% less in some other benchmarks.

Stock llama.cpp and llama.cpp-based apps do not support Mallard. We've forked llama.cpp to integrate fast sparse attention, speculation, prefill and loader kernels. Fork is here.

With a tuned inference engine (coming out alongside our next release), both prefill and decode on Mallard stay stable as context increases. This table illustrates this on the 9B and 27B variants; "max" refers to the maximum that the hardware can support with the given model (Q4, on NVIDIA A40). Each cell shows empty context / 131k context.

Mallard's architecture delivers up to 2x prefill and decode at 131k context:

ModelTestQwen maxMallard max
9BDecode107 / 60108 / 105
9BPrefill (pp512)21.5k / 6.2k21.2k / 13.9k
27BDecode34.3 / 22.934.6 / 34.0
27BPrefill (pp512)6.0k / 2.0k6.0k / 4.4k

Licensing

We release these models under Apache 2.0, and the inference engine under MIT.

Future work and an invitation!

Mallard 1.0-27B still takes 12KB per token, and we think that we can get that down to less than 3KB per token. This is the naive version of the architecture, effectively a pilot- please expect a smarter, more efficient model in the Mallard model line in a few weeks' time.

We can also do this on much larger models, and we will be releasing conversions of larger models in the future, with the goal of running on hardware like the DGX Spark.

We're always working on new models. We're a new lab and we are constrained on resources, but we have more ideas than we have the mental and computational resources to pursue. If you're interested in helping us, send me a DM.

We acknowledge the National Artificial Intelligence Research Resource (NAIRR) Pilot and the San Diego Supercomputing Center for contributing to this research result.


r/Qwen_AI • • 1d ago

Discussion built a tiny model, somehow 137 people downloaded it, now me and my friend in crime explain algorithms with an AI voice coz ours are not good lol

12 Upvotes

hey guys

so remember tiny-vision? the tiny model i build for learning only, the one that lets claude kinda "watch" videos. ya that one. when i first uploaded it to huggingface i was like ok maybe 10 download, 5 of them will be me checking if download button works. but here we are at 137 downloads on v1.0 (268 if you count old v0.1 also) and it's still going up daily. bhai i genuinely dont know who you all are but thank you so much πŸ™ you all are giving more respect to my 36M param model than my relatives give to my career choice

and it's not just downloads, 8 stars on github also. my mom will be so proud if she knew what github was

if you havent seen it yet:

ok so now the main thing. me and my friend in crime started a channel πŸ˜… two confused engineers, one channel, zero idea what we are doing but we are doing it anyway

Embracing Low Level

what it is:

  • we explain algorithms we are learning and stuff we've been building (tiny-vision included)
  • all the animations are made with manim (the 3b1b library). before you ask, no we are not 3b1b, combined we are like 0.5b1b on a good day
  • the voice is AI, fish audio s2 pro. we tried recording our own voices first, listened once and both agreed the world doesn't deserve that. the AI sounds more confident about the algorithms than both of us combined tbh
  • short reels on insta, longer full explanations on youtube

honest disclaimer like last time: we took a lot of help from claude for this too. writing manim scripts, debugging why the animation suddenly flies off screen, all that. so not entirely ours, but the learning part is 100% ours and that's kind of the whole point of the channel. if we can understand it after 4 cups of chai each, you definitely can

also these videos are made by two people who once spent 2 hours debugging only to find out the file was never saved. and we still argue whose fault it was. so if you find any mistake in the explanation please roast us in comments, we will learn and fix it. that's literally why we are doing this yaar

what kind of algorithms or topics would you guys want to see? we are open to suggestions, just don't say "explain transformers in 60 seconds", our manim skills are not that strong yet πŸ’€

thanks again for all the support on tiny-vision, still can't believe it.


r/Qwen_AI • • 1d ago

Experiment 41 tok/s on Qwen3-30B-A3B (coding prompt, CPU-only) β€” built a 2.9 MB C++20

Post image
5 Upvotes

Everyone told me 30B MoE on DDR4 CPU-only hits a hard wall around 17-20 tok/s. So I wrote a tiny C++20 engine from scratch (Veltra + an experimental execution path called APEX) to see what happens when you strip everything down to raw AVX2 kernels and memory-mapped .vlt files.

On a regular Ryzen 9 3900 (8 threads, DDR4, no GPU), here is what the same model file did in one measuring round across 9 benchmark prompts:

- Veltra default: 22.0 tok/s on code (1.00x)

- Pareto: 26.6 tok/s (1.21x)

- APEX exact (token-identical to Pareto): 35.2 tok/s (1.60x)

- APEX: 41.0 tok/s on code (1.87x) β€” also hitting 40 on math, 38 on JSON, 35 on 500-ctx code, and 30 on 2000-ctx code (vs 17.0 tok/s median in llama.cpp on an earlier generic prompt run).

The whole server binary is 2.9 MB and uses ~9.7 GiB RAM in default mode vs 13.6 GiB in llama.cpp.

What actually worked vs what blew up:

- Zen 2 DDR4 (~29-33 GB/s) is 100% memory-bound (~1.24-1.41 GB read per token). Tweaking AVX2 math alone did almost nothing until we cut memory traffic.

- The real jump came from 3/4-bit mixed attention, tighter expert scheduling, and multi-token verification with EAGLE-3 drafting + lookup/edit reuse (which is why code, math, and JSON jump way higher than Dutch prose at 23 tok/s).

- Huge graveyard of failed ideas in the repo: shared gate/up low-rank bases, naive neuron skipping, entropy coding (AVX2 unpacking killed the savings), and reusing hidden-state deltas across tokens (consecutive hidden states change ~100%, so deltas aren't sparse at all).

Full disclosure: APEX uses top-5 instead of top-6 experts so it changes answers slightly (scored 148 vs 147 for Pareto on our 160-task eval), while APEX exact gives the exact same tokens as Pareto at 35.2 tok/s. We are still finishing the clean reproducible .vlt weight build + Vulkan GPU support before uploading the weights.

Repo (Apache-2.0) with raw logs and all the failed experiments: https://github.com/MrRetslav/veltra-public

If anyone has ideas on pushing Dutch/English prose closer to the code numbers without tanking accuracy, I'm all ears.


r/Qwen_AI • • 1d ago

Benchmark Local models for C++: Qwen3.8-27B FP8 vs QFN IQ4_XS

26 Upvotes

I've been benchmarking local models with OpenCode to decide which one to use for my C++17 projects. Following some recommendations in the comments, I've now also tested QFN GSQ-RCO IQ3_S.

Setup:

  • 2Γ— RTX 3090 (PCIe 4.0 x8/x8, P2P enabled, 260W each)
  • Ryzen 5 5600XT, 64GB DDR4, Ubuntu
  • Qwen3.8-27B FP8 on vLLM
  • Qwen Flash Next UD-IQ4_XS v3.1 (Unsloth) on Strata
  • Qwen Flash Next GSQ-RCO IQ3_S (ISTA-DASLab) on Strata
  • All using xhigh reasoning

Observed inference speeds:

  • 27B FP8: 170+ t/s coding, ~100 t/s narrative.
  • QFN IQ4_XS: ~130 t/s coding, ~100 t/s narrative.
  • QFN IQ3_S: slightly higher effective generation throughput across the benchmark.

Hase-Bench results with OpenCode:

C++ TaskQFN IQ3_SQFN IQ4_XS27B FP8
Thread pool4m 07s3m 44s*8m 23s
SPSC ring buffer3m 39s4m 59s8m 48s
Lifetime repair4m 34s4m 53s15m 23s
Deadlock repair2m 48s1m 25s2m 40s
RAII resource pool2m 43s3m 51s3m 55s
Total17m 50s18m 51s39m 09s
Tasks accepted5/55/5*5/5

* IQ4 passed the visible thread pool tests but encountered an apparent MSVC 2019 compatibility issue when compiling the hidden tests. Provisionally accepted after code review (official score: 4/5).

Token usage:

MetricIQ3_SIQ4_XSFP8
Output tokens37,12333,39155,096
Thinking tokens57,00959,659127,183
Total tokens94,13293,050182,279
Effective throughput (est.)104.7 t/s97.3 t/s93.4 t/s

Code review highlights:

  • Thread pool: Both QFN quants had better exception safety than FP8. IQ3 also improved argument forwarding and MSVC compatibility.
  • Ring buffer: Both QFN implementations handled destruction better. All three had counter wraparound issues.
  • Lifetime: Both QFN quants produced simpler solutions without rebuilding temporary vectors on every owning-template render.
  • Deadlocks: IQ3 used std::scoped_lock, IQ4 used portable pointer ordering, and FP8 used raw pointer comparisons. All three missed signed integer overflow (UB).
  • RAII pool: Both QFN quants used O(1) resource acquisition vs FP8's O(n). IQ3 also improved weak pointer cleanup.

Takeaways:

Despite FP8's higher peak coding throughput, both QFN quants completed the benchmark more than twice as fast, consuming roughly half as many generated tokens.

IQ3_S finished 5.4% faster than IQ4_XS, with comparable or slightly better implementations, while requiring roughly 10GB less memory for transformer weights.

FP8 and IQ3 were more thorough with stress testing, cross-compiler validation and attempts to use sanitizers than IQ4 in these runs.

Interestingly, IQ4 initially timed out on the lifetime task with high reasoning but solved it in under five minutes with xhigh.

Neither model nor quant produced flawless code. Manual review revealed issues that the official hidden tests missed.

Small sample size, one comparable run per task and no comprehensive sanitizer coverage, so this isn't a definitive ranking. However, I haven't observed a clear quality downgrade from IQ4 to IQ3.

I'm now leaning towards QFN GSQ-RCO IQ3_S with xhigh as my daily driver. My next experiment will be adding an independent review subagent to the workflow.

Hopefully this helps anyone choosing between these models.


EDIT: Full hardware setup

  • CPU: AMD Ryzen 5 5600XT
  • Motherboard: ASUS ROG Strix X570-E Gaming WiFi II
  • RAM: 64GB (2Γ—32GB) Kingston Fury Beast DDR4 3200MHz CL16 (KF432C16BB/32)
  • GPUs: 2Γ— MSI RTX 3090 Ventus 3X OC (PCIe 4.0 x8/x8 directly connected to the CPU, P2P read/write enabled, 260W power limit each)
  • Case: Corsair FRAME 4000D RS
  • Cooling: 3Γ— stock front intake fans + 2Γ— ID-Cooling XF-120-K exhaust fans (top rear and rear)
  • Storage: 1TB M.2 SSD
  • OS: Ubuntu Linux
  • PSU: ADATA XPG Core Reactor II 1000W, 80 Plus Gold, fully modular.

EDIT 2: Following the recommendations in the comments, I've also benchmarked QFN GSQ-RCO IQ3_S. I've updated the tables, code review highlights and conclusions below to include all three configurations. Surprisingly, IQ3_S performed slightly better than IQ4_XS v3.1 while requiring less memory.


r/Qwen_AI • • 1d ago

Help πŸ™‹β€β™‚οΈ How do i make this stop?

Post image
0 Upvotes

I am on android and have downloaded the latest build from qwen site directly. This ad has no way to close it or get around it. The only way is to attempt to update the app with the most recent apk, then for 1 session this dialog does not appear. On relaunch it is back again.


r/Qwen_AI • • 1d ago

Model Uncensored Multi-Model Releases Made With the Latest Version of Heretic, Scarlett Opus With MTPs, Qwen3.8-27B With MTPs and Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator, All Available in GGUF Format!

Thumbnail
huggingface.co
19 Upvotes

Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved:

Safetensors: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved

GGUFs: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved-GGUF

Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2-GGUF

Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator-GGUF

β€”β€”β€”β€”β€”β€”β€”β€”

That's it for now!

As usual you can find all my models here: HuggingFace-LLMFan46

Tremendous amount of work went into making these releases come true, especially since I was aiming to make the most uncensored models while at the same time preserving the original models capabilities, while preventing issues like looping and closed thinking degradation (particulary hard thing to do for the Qwen3.8-27B models), not to mention the months of work involved in putting together the dataset needed to train a model for improved Japanese to English translations, on top of all the training time involved.

So if you like my work and find my models useful, then I would really appreciate if you could support me on Ko-fi: https://ko-fi.com/llmfan46


r/Qwen_AI • • 1d ago

Funny Umm... I feel like it's getting off topic here.

Post image
48 Upvotes

r/Qwen_AI • • 1d ago

Benchmark The best draft head for Qwen 3.8 27B? DSpine vs DFlash2 on one GPU: 160.6 vs 105.6 tok/s (no draft: 44.5)

Thumbnail
youtube.com
13 Upvotes

The memory on my card says a 27B model should write about 50 tokens per second: every token reads all 15.5 GB of weights, at roughly 800 GB/s. With Tencent's DSpine draft head it writes 160.

What DSpine changes compared to DFlash: DFlash guesses a whole block of tokens in one pass, but no position sees what its neighbours are planning, so the guesses often don't fit together and the target model stops at the first wrong one. DSpine is a small 5-layer network where, after every layer, each position listens to the one before it (with a learned gate). Still one pass, but the guesses fit.

My numbers (one RTX PRO 4500, 4-bit Kate = Qwen 27B fine-tune, one conversation at a time, llama.cpp-based engine):

  • 24 agent tasks, A-B-B-A: DSpine 160.6 Β· DFlash2 105.6 Β· no draft 44.5 tok/s
  • tokens kept per check: DSpine 5.8 Β· DFlash2 3.9 (same per-position acceptance at the start; DFlash2 stops at 5, DSpine keeps going to 15)
  • live demo, same prompt (voxel pagoda in three.js): 47 tok/s without, 177 with DSpine; both pages run exactly as written

Speculative decoding doesn't change the output distribution: the big model still decides every token with its own odds.

Limits: my numbers, one card, 4-bit, batch 1. Tencent measured SGLang, BF16, 8 requests at a time. Full speed needs about 20 GB of VRAM. I also tried training my own head: +27 % accepted tokens on my own test set, but 1.2 % slower on real agent conversations, so I kept Tencent's.

Video (5 min, explains the three ideas with a live demo):Β https://youtu.be/6BXT-xaonhU

Run it:Β flelink run kate-27b-dspineΒ (FLE Link 0.1.18+,Β https://flelink.run)

Paper:Β https://arxiv.org/abs/2609.36173Β Β· Tencent's head (Apache-2.0):Β https://huggingface.co/tencent/Qwen3.8-27B-DSpine-b16Β Β· GGUF by aj9o9:Β https://huggingface.co/aj9o9/Qwen3.8-27B-DSpine-b16-GGUFΒ Β· Kate:Β https://huggingface.co/sirfyyn/Kate-Qwen-27B-GGUF-SpedUp-Abliterated

Thanks to the authors for publishing the paper and the weights.

Has anyone measured EAGLE-3 or an MTP head against these on a 24 GB card? I'd like to add them to the comparison.


r/Qwen_AI • • 1d ago

Discussion Is Inklin 2 Mini the new king of the 27B class?

47 Upvotes

I'm a huge fan of Qwen3.8 27B, but I think there's a new player in town that I'm "afraid" might actually be better: Inklin 2 Mini.

It gives me the same vibe as Qwen3.8 27B, but it seems to spend less time reasoning, and thanks to its MoE architecture, it can achieve higher tokens/s.

So far, I'm really impressed with its balance between intelligence and speed.

Has anyone else tried it? Do you guys feel the same way, or is it just me?

Still waiting for Qwen4 27B though πŸ˜„


r/Qwen_AI • • 1d ago

Discussion "I need to answer honestly and honest answer..." from Q3.8FN

9 Upvotes

I really like Q3.8FN and use it daily for codingβ€”it’s currently helping me build an ASR app. However, it has a slightly annoying habit of repeating phrases like 'honest answer' and 'I need to answer honestly' in its reasoning and outputs. I realize this is likely due to its post-training, and I’m hoping Q4FN will have a broader vocabulary.


r/Qwen_AI • • 1d ago

Funny Qwen qwait qwoom, qome qight qin, take a qseat

Post image
30 Upvotes