r/Qwen_AI • • 13h ago

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

Thumbnail
vectorwire.ai
140 Upvotes

r/Qwen_AI • • 23h 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 • • 1h ago

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

Post image
9 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 • • 8m ago

Chill Qwen with releasing Qwen 4 open weights

8 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 • • 8h ago

News looped Qwen 3.8 Flash Next

Thumbnail
youtu.be
4 Upvotes

r/Qwen_AI • • 7h 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 • • 7h ago

News Possible mention of Qwen4-120B

Thumbnail
reddit.com
3 Upvotes

r/Qwen_AI • • 3h ago

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

Post image
2 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 • • 7h 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 • • 17h 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 • • 23h ago

Experiment A quarter of the experts is all you need

Post image
0 Upvotes

r/Qwen_AI • • 5h ago

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

Thumbnail
share.gemini.google
0 Upvotes

r/Qwen_AI • • 17h 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.