{"id":30298,"date":"2026-12-02T23:10:48","date_gmt":"2026-12-02T14:10:48","guid":{"rendered":"https:\/\/localmodelwatch.tsuchitsuchi.com\/2026\/12\/02\/qwen38-flash-next-looped-l24-experimental-patch\/"},"modified":"2026-12-04T00:16:13","modified_gmt":"2026-12-03T15:16:13","slug":"qwen38-flash-next-looped-l24-experimental-patch","status":"publish","type":"post","link":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/12\/02\/qwen38-flash-next-looped-l24-experimental-patch\/","title":{"rendered":"Qwen3.8-Flash-Next-Looped-L24: ~95GB Memory"},"content":{"rendered":"<p><!-- lmw:facts --><\/p>\n<h2>At a Glance<\/h2>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th>Item<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Repository<\/td>\n<td><a href=\"https:\/\/huggingface.co\/AtomicChat\/Qwen3.8-Flash-Next-Looped-L24\">AtomicChat\/Qwen3.8-Flash-Next-Looped-L24<\/a><\/td>\n<\/tr>\n<tr>\n<td>Publisher guide<\/td>\n<td><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/publisher-alibaba-en\/\">Alibaba (Qwen): models and licenses<\/a><\/td>\n<\/tr>\n<tr>\n<td>Published<\/td>\n<td>2026-12-02<\/td>\n<\/tr>\n<tr>\n<td>Source type<\/td>\n<td>Unverified (not confirmed by a primary source)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><em>Values determined by this site&#8217;s code when the information was collected. Dates are JST.<\/em><\/p>\n<p><!-- \/lmw:facts --><\/p>\n<h2>Overview<\/h2>\n<p><strong>This information has not been officially confirmed.<\/strong> &#8220;Qwen3.8-Flash-Next-Looped-L24&#8221;, reported to be published by AtomicChat, is a llama.cpp runtime patch. It runs the MoE feed-forward network (FFN) at the 24th layer (0-indexed) twice. Weights are not newly distributed; instead, the existing AD-4.27bpw GGUF (AtomicChat\/Qwen3.8-Flash-Next-GGUF) is reportedly used as-is.<\/p>\n<p>The model card frames this endeavor as experimental. In a pilot evaluation of 200 tasks, it did not outperform standard execution.<\/p>\n<h2>Specifications<\/h2>\n<p>The following is stated in the card for the original GGUF targeted by the patch (AtomicChat\/Qwen3.8-Flash-Next-GGUF):<\/p>\n<ul>\n<li>Total parameters: 125B, active parameters: 6B (plus a 51B N-gram embedding and a 4B MTP layer)<\/li>\n<li>Architecture: MoE (512 experts, routing 10 + shared 1)<\/li>\n<li>Number of layers: 48<\/li>\n<li>Context length: Native 262,144, expandable up to 1,000,000<\/li>\n<li>Patch details: At the 24th layer, the attention mechanism remains executed once. The second FFN reads the updated residual state and recalculates routing. The FFN output is multiplied by 0.125 before being added to the residual<\/li>\n<\/ul>\n<h2>Performance<\/h2>\n<p>Below are the 200-task pilot results published by the publisher itself, as listed on the model card. These are not third-party validations. They are reported to have been measured on Lambda H100 using the same patched binary, with thinking disabled, a 512-token limit, temperature 0, and 4 concurrent requests.<\/p>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th><code>AQ_FLASH_ROUTE<\/code><\/th>\n<th>Layer 24 behavior<\/th>\n<th style=\"text-align: right;\">Correct<\/th>\n<th style=\"text-align: right;\">Batch time<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>stock<\/code><\/td>\n<td>One FFN pass<\/td>\n<td style=\"text-align: right;\">175\/200<\/td>\n<td style=\"text-align: right;\">253.6 s<\/td>\n<\/tr>\n<tr>\n<td><code>fixed<\/code><\/td>\n<td>Two passes with the same ten expert IDs<\/td>\n<td style=\"text-align: right;\">175\/200<\/td>\n<td style=\"text-align: right;\">255.8 s<\/td>\n<\/tr>\n<tr>\n<td><code>fresh<\/code><\/td>\n<td>Two passes with a new top-10 selection<\/td>\n<td style=\"text-align: right;\">173\/200<\/td>\n<td style=\"text-align: right;\">256.1 s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>This table shows no accuracy benefits from loop execution. <code>fresh<\/code>, which re-selects experts on the second pass, scored 173\/200, which is 2 fewer questions than the standard execution <code>stock<\/code> (175\/200). <code>fixed<\/code>, which uses the same expert IDs as the first pass, scored 175\/200, showing no difference from <code>stock<\/code>. According to the card, <code>fresh<\/code> gained 2 questions and lost 4 compared to <code>stock<\/code>, with a two-sided exact McNemar test p = 0.688. The difference is considered to be within the margin of error.<\/p>\n<p>The batch times are 253.6 s for <code>stock<\/code>, 255.8 s for <code>fixed<\/code>, and 261.6 s (typo in source: 256.1 s) for <code>fresh<\/code>. While the overhead from the second execution is small, there are no speed advantages either.<\/p>\n<p>The evaluation panel consists of 68 GSM8K items (math word problems, EM, higher is better), 66 MBPP items (Python tasks, Pass@1, higher is better), and 66 BFCL items (tool calling, accuracy, higher is better). The changes from <code>stock<\/code> to <code>fresh<\/code> were 60 \u2192 61 for math, 51 \u2192 51 for Python, and 64 \u2192 61 for tool calling. Only tool calling dropped by 3 questions, but the sample size is small and the difference is minor.<\/p>\n<p>In another trace, across 4 calibration prompts at the 612 token position, the two executions shared an average of 8.11 out of 10 expert IDs. The overlap ranged from 2 to 10, and was 10 at all positions for <code>fixed<\/code>.<\/p>\n<p>The original GGUF itself is reportedly evaluated using KLD and top-1 agreement rate rather than these benchmarks.<\/p>\n<h2>Strengths and Use Cases<\/h2>\n<p>This patch is positioned as an experimental inference modification rather than a practical product aimed at improving performance. As noted in the first half, it did not outperform standard execution (<code>stock<\/code>) in the 200-task pilot. Therefore, there is no documentation to pinpoint specific strengths.<\/p>\n<p>Expected use cases include:<\/p>\n<ul>\n<li>Investigating how &#8220;loops&#8221;, which repeatedly execute a subset of layers, behave in MoE models<\/li>\n<li>Comparative experiments switching between <code>stock<\/code>, <code>fixed<\/code>, and <code>fresh<\/code> using <code>AQ_FLASH_ROUTE<\/code><\/li>\n<li>Acquiring expert ID traces and observing routing using <code>AQ_FLASH_TRACE<\/code><\/li>\n<\/ul>\n<p>If you are looking for an everyday model, it is safer to use the original GGUF as-is. The model&#8217;s raw strengths belong to the information on the original model side. The card lists values reported by Qwen: LiveCodeBench v6 91.9, GPQA Diamond 91.7, and SWE-bench Multilingual 81.0. These are Qwen&#8217;s own published values and were not measured on this patch or quantized version. The original GGUF supports text paths only, whereas Qwen3.8-Flash-Next is a multimodal model with a vision encoder.<\/p>\n<h2>How It Differs from Similar Models<\/h2>\n<p>A past article covering the same base model is <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/2026\/11\/17\/qwen-38-flash-next-e384-fp4-local\/\">&#8220;Qwen3.8-Flash-Next-E384-FP4-Local&#8221; VLM Model: Approx. 96GB Required Memory<\/a>. According to an excerpt from this article, that model reduces the 512 experts to 384, making it about 16% smaller as a lightweight variant. Conversely, the current Looped-L24 experiments with increasing the computation of the 24th layer once without changing the weights.<\/p>\n<p>The introductory article for the original model, <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/2026\/10\/05\/qwen-38-flash-next\/\">&#8220;Qwen3.8-Flash-Next&#8221; Multimodal MoE Model: Approx. 402GB Required Memory<\/a>, deals with a design aimed at inference efficiency and reduced latency. The current patch slightly increases execution time compared to <code>stock<\/code> while showing no confirmed accuracy improvements.<\/p>\n<p><!-- lmw:hardware --><\/p>\n<h2>Hardware Requirements<\/h2>\n<p><strong>Estimated requirements (calculated by Local Model Watch)<\/strong><\/p>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th>Your VRAM<\/th>\n<th>Quantization<\/th>\n<th>File size<\/th>\n<th>Est. memory needed<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>More than 95GB of VRAM (multi-GPU or CPU offload required)<\/td>\n<td>IQ4_XS<\/td>\n<td>79.1GB<\/td>\n<td>94.9GB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><em>Memory estimates add a 20% runtime overhead (KV cache, etc.) to the actual size of the distributed files. Actual usage varies with context length, batch size and inference engine. These figures are computed by this site from file sizes, not published by the model&#8217;s authors. Compare with other models in our <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/vram-guide-en\/\">VRAM quick reference<\/a>. What the quantization names mean: <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/glossary-quantization-en\/\">glossary<\/a>.<\/em><\/p>\n<p><!-- \/lmw:hardware --><\/p>\n<p><!-- lmw:lab --><\/p>\n<h2>Our Own Measurements<\/h2>\n<h3>Measurements We Did Not Take<\/h3>\n<p>This model does not state a license, so we cannot confirm permission to use it. Because this site carries advertising, we did not run the model (no CPU run, answers, quantization comparison, conversion or generation).<\/p>\n<p><!-- \/lmw:lab --><\/p>\n<h2>How to Get It<\/h2>\n<p>There is no distribution of new weights; instead, the following two are used in combination:<\/p>\n<ul>\n<li>Weights: Existing AD-4.27bpw GGUF (<code>AtomicChat\/Qwen3.8-Flash-Next-GGUF<\/code>)<\/li>\n<li>Patch: <code>qwen4exp-b12864.patch<\/code> distributed in the model card repository<\/li>\n<\/ul>\n<p>This repository is not gated and can be acquired without agreeing to a license. Note that the license for the original GGUF is listed as <code>qwen-community-1.0<\/code>.<\/p>\n<p>The target environment is Linux + CUDA. You patch and build llama.cpp at tag <code>b12864<\/code> (commit <code>2924a0e26b10f75e3f970443d5fca204cea4cae1<\/code>). The outline of the steps in the card, following acquisition of the patch file, is as follows:<\/p>\n<pre><code class=\"language-bash\">git clone --branch b12864 --depth 1 https:\/\/github.com\/ggml-org\/llama.cpp.git llama-loop-l24\ngit -C llama-loop-l24 apply &quot;$PWD\/loop-l24.patch&quot;\ncmake -S llama-loop-l24 -B llama-loop-l24\/build -DGGML_CUDA=ON -DCMAKE_BUILD_TYPE=Release\ncmake --build llama-loop-l24\/build --target llama-server -j\n\nhf download AtomicChat\/Qwen3.8-Flash-Next-GGUF \\\n  --revision f5b0b790eebb89033c48091c26abf74c1b385940 \\\n  --include 'Qwen3.8-Flash-Next-AD-4.27bpw-*.gguf' --local-dir.\/flash-weights\n<\/code><\/pre>\n<p>A startup example is shown below. The card fetches <code>chat_template.jinja<\/code> from <code>Qwen\/Qwen3.8-Flash-Next<\/code> and specifies it with <code>--chat-template-file<\/code>.<\/p>\n<pre><code class=\"language-bash\">AQ_FLASH_ROUTE=fresh.\/llama-loop-l24\/build\/bin\/llama-server \\\n  -m.\/flash-weights\/Qwen3.8-Flash-Next-AD-4.27bpw-Q4_K_M-M64-00001-of-00003.gguf \\\n  -a flash -ngl 99 -fa on -np 4 -c 16384 -ub 256 -fit off --jinja \\\n  --chat-template-file flash-template.jinja --host 127.0.0.1 --port 8099\n<\/code><\/pre>\n<ul>\n<li><code>AQ_FLASH_ROUTE<\/code> can be chosen from <code>fresh<\/code>, <code>fixed<\/code>, and <code>stock<\/code>.<\/li>\n<li>Setting a file path for <code>AQ_FLASH_TRACE<\/code> allows recording expert IDs. According to the card, tracing is disabled during timing measurements.<\/li>\n<li><code>-fit off<\/code> is mandatory in the original GGUF card because automatic fitting miscalculates the size for this architecture and allocation fails.<\/li>\n<li>The supported engine is the patched llama.cpp (<code>llama-server<\/code>).<\/li>\n<\/ul>\n<p>Task scores and evaluation procedures usable for reproducing the evaluations are reportedly published in the <code>eval<\/code> directory of the model card.<\/p>\n<p><!-- lmw:related --><\/p>\n<h2>Related Articles<\/h2>\n<ul>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/17\/qwen38-flash-next-e384-fp4-local\/\">Qwen3.8-Flash-Next-E384-FP4-Local Vision-Language Model: ~96GB Memory<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/10\/05\/qwen-3-8-flash-next-released\/\">Qwen3.8-Flash-Next Multimodal MoE Model: ~402GB Memory<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/12\/04\/minicpm5-15b-a2-5b-gguf-atomic-chat\/\">MiniCPM5-15B-A2.5B 15B Parameter MoE Language Model: 8GB+ VRAM<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/12\/02\/atomicchat-lumine2-gguf-2\/\">Lumine2-GGUF Game-Operation-Focused Vision-Language Model: 24GB+ VRAM<\/a><\/li>\n<\/ul>\n<p><!-- \/lmw:related --><\/p>\n<p><!-- lmw:next-steps --><\/p>\n<h2>What to Read Next<\/h2>\n<ul>\n<li><strong>Find models by VRAM<\/strong> (This model does not fit even in 80GB; its smallest build needs about 95GB) \u2192 <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/vram-guide-en\/\">VRAM quick reference, including models over 80GB<\/a><\/li>\n<li><strong>What IQ4_XS mean<\/strong> \u2192 <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/glossary-quantization-en\/\">Quantization and model-format glossary<\/a><\/li>\n<li><strong>Learn about the publisher<\/strong> \u2192 <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/publisher-alibaba-en\/\">Alibaba (Qwen): models, licenses and articles<\/a><\/li>\n<li><strong>How to read GSM8K, MBPP, BFCL<\/strong> \u2192 <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/glossary-benchmarks-en\/\">Benchmark glossary<\/a><\/li>\n<\/ul>\n<p><!-- \/lmw:next-steps --><\/p>\n<h2>Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/huggingface.co\/AtomicChat\/Qwen3.8-Flash-Next-Looped-L24\">AtomicChat\/Qwen3.8-Flash-Next-Looped-L24 (Hugging Face)<\/a><\/li>\n<li><a href=\"https:\/\/huggingface.co\/AtomicChat\/Qwen3.8-Flash-Next-GGUF\">AtomicChat\/Qwen3.8-Flash-Next-GGUF (Hugging Face)<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/2026\/11\/17\/qwen-38-flash-next-e384-fp4-local\/\">&#8220;Qwen3.8-Flash-Next-E384-FP4-Local&#8221; VLM Model: Approx. 96GB Required Memory<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/2026\/10\/05\/qwen-38-flash-next\/\">&#8220;Qwen3.8-Flash-Next&#8221; Multimodal MoE Model: Approx. 402GB Required Memory<\/a><\/li>\n<\/ul>\n<blockquote>\n<p><strong>This article contains unverified information.<\/strong> We will append an update note once it is confirmed by a primary source.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Explore Qwen3.8-Flash-Next-Looped-L24, an experimental llama.cpp patch that runs layer 24 twice. Check specs, performance, and usage.<\/p>\n","protected":false},"author":1,"featured_media":30297,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[310],"tags":[5297,163,1073,165,2967,1565],"class_list":["post-30298","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-new-models","tag-atomicchat-en","tag-gguf-en","tag-llama-cpp-en","tag-moe-en","tag-qwen3-8-flash-next-en","tag-unverified"],"lang":"en","translations":{"en":30298,"ja":30296},"_links":{"self":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/30298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/comments?post=30298"}],"version-history":[{"count":1,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/30298\/revisions"}],"predecessor-version":[{"id":31417,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/30298\/revisions\/31417"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/media\/30297"}],"wp:attachment":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/media?parent=30298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/categories?post=30298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/tags?post=30298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}