Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
Strix Halo (gfx1151): an 8,192-token prompt chunk on the unified-memory APU (11-15% faster prompts)
Niko1221e7e48be2c9a4
diff --git a/README.md b/README.mdindex be8210e93..ddc4126b5 100644--- a/README.md+++ b/README.md@@ -1,4 +1,4 @@-<p align="center">+<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="apps/host/public/brand/strata-lockup-dark.svg"><img src="apps/host/public/brand/strata-lockup-light.svg" alt="Strata" width="340">@@ -9,9 +9,9 @@<p align="center">Chat, code and work with images, locally.</p><p align="center">- <a href="#models">Models</a> · <a href="#install"><b>Install</b></a> ·- <a href="#hardware">Hardware</a> · <a href="#tools">Tools</a> ·- <a href="#help">Help</a> · <a href="#support-strata">Support</a>+ <a href="#models">Models</a> · <a href="#install"><b>Install</b></a> ·+ <a href="#hardware">Hardware</a> · <a href="#tools">Tools</a> ·+ <a href="#help">Help</a> · <a href="#support-strata">Support</a></p><p align="center">@@ -20,7 +20,7 @@<a href="https://buymeacoffee.com/strataengine"><img src="https://img.shields.io/badge/Buy_me_a_coffee-FFDD00?logo=buymeacoffee&logoColor=000" alt="Support Strata on Buy Me a Coffee"></a></p>-<p align="center"><sub><b>English</b> · <a href="README.zh-CN.md">简体ä¸ć–‡</a> · <a href="README.ja.md">日本語</a> · <a href="README.de.md">Deutsch</a> · <a href="README.fr.md">Français</a> · <a href="README.es.md">Español</a> · <a href="README.pt-BR.md">PortuguĂŞs</a></sub></p>+<p align="center"><sub><b>English</b> · <a href="README.zh-CN.md">简体ä¸ć–‡</a> · <a href="README.ja.md">日本語</a> · <a href="README.de.md">Deutsch</a> · <a href="README.fr.md">Français</a> · <a href="README.es.md">Español</a> · <a href="README.pt-BR.md">PortuguĂŞs</a></sub></p>**Free, open source, and yours to run.** Use Strata on your desktop or with your favorite coding tools. No account needed.@@ -33,9 +33,9 @@ We recommend **ISTA-DASLab first**, then **Unsloth** and other providers, where| Provider | Choices || --- | --- |-| **ISTA-DASLab · recommended** | Q2\_0, IQ2\_XS, IQ3\_XXS, IQ3\_S. [Coder: IQ1\_M](docs/MODELS.md#coder) for coding. |+| **ISTA-DASLab · recommended** | Q2\_0, IQ2\_XS, IQ3\_XXS, IQ3\_S. [Coder: IQ1\_M](docs/MODELS.md#coder) for coding. || **Unsloth** | UD-IQ4\_XS, UD-Q4\_K\_XL, UD-Q5\_K\_XL, UD-Q6\_K\_XL, Q8\_0 |-| **Gyro · agentionai** | [Gyro-S, Gyro-M](https://huggingface.co/agentionai/Qwen3.8-Flash-Next-Gyro-GGUF). Lower memory use but slower. |+| **Gyro · agentionai** | [Gyro-S, Gyro-M](https://huggingface.co/agentionai/Qwen3.8-Flash-Next-Gyro-GGUF). Lower memory use but slower. || **Other options** | [Swift 1.5](docs/MODELS.md#swift-15), [NVFP4](docs/NVFP4.md), [OrcaRouter](docs/ORCA.md) |[Compare sizes, memory needs and compatibility](docs/MODELS.md).@@ -63,7 +63,7 @@ disk space.| 2.00 bpw | 257 GB | about 265 GB || 2.25 bpw | 274 GB | about 280 GB |-Runs on NVIDIA RTX 30, 40 and 50 series (Windows and Linux), AMD Radeon AI PRO R9700 (Linux), and AMD Ryzen AI Max — Strix Halo+Runs on NVIDIA RTX 30, 40 and 50 series (Windows and Linux), AMD Radeon AI PRO R9700 (Linux), and AMD Ryzen AI Max — Strix Halo(Windows). Setup downloads the files and the DeepSeek engine, then starts the model.```sh@@ -78,9 +78,9 @@ Measured with the 2.00 bpw set on Strata 0.2.5 (Strix Halo: 0.2.7). Output is th| RTX 3060 12 GB, 46 GB RAM | 9 to 11 tokens/s | about 155 tokens/s (4K) || 1x Radeon AI PRO R9700, 251 GB RAM | 21 to 25 tokens/s | 320 to 360 tokens/s (8K) || 4x Radeon AI PRO R9700 | 74 to 77 tokens/s | 400 to 450 tokens/s (8K) |-| Ryzen AI Max+ 395 (Strix Halo), 128 GB unified | 14 to 16 tokens/s (code), 10 to 11 (chat) | 78 tokens/s (4K), 109 tokens/s (8K) |+| Ryzen AI Max+ 395 (Strix Halo), 128 GB unified | 15 to 17 tokens/s (code), 10 to 11 (chat) | 87 tokens/s (4K), 125 tokens/s (8K) |-[Memory, disk and details](docs/DEEPSEEK41.md) · [Release notes](https://github.com/Niko1221/Strata/releases)+[Memory, disk and details](docs/DEEPSEEK41.md) · [Release notes](https://github.com/Niko1221/Strata/releases)</details>@@ -94,12 +94,12 @@ Not sure what fits? [Choose a model for your computer](docs/MODELS.md#pick-by-me### Desktop app-**[Download Strata for Windows, Linux or Mac →](https://github.com/Niko1221/Strata/releases/latest)**+**[Download Strata for Windows, Linux or Mac →](https://github.com/Niko1221/Strata/releases/latest)**Install the app, choose a model, and start chatting. There is one installer for each system. On first start the appdownloads the engine for your graphics card. [Help with the installer](docs/INSTALL.md#the-app).-<sub>Files: `Strata-0.2.6-windows-x64-setup.exe` · `Strata-0.2.6-linux-x86_64.AppImage` · `Strata-0.2.6-macos-arm64.dmg`</sub>+<sub>Files: `Strata-0.2.6-windows-x64-setup.exe` · `Strata-0.2.6-linux-x86_64.AppImage` · `Strata-0.2.6-macos-arm64.dmg`</sub><p align="center"><img src="docs/media/app-chat.png" width="900" alt="Strata desktop app with a chat and live code preview side by side">@@ -144,7 +144,7 @@ Follow the prompts to download and start a model. [Terminal guide](docs/TERMINAL<a id="build-from-source"></a>-[Build from source](docs/SOURCE_INSTALL.md) · [Docker](docs/DOCKER.md) · [Full install guide](docs/INSTALL.md)+[Build from source](docs/SOURCE_INSTALL.md) · [Docker](docs/DOCKER.md) · [Full install guide](docs/INSTALL.md)<a id="what-you-need"></a>@@ -154,16 +154,16 @@ Follow the prompts to download and start a model. [Terminal guide](docs/TERMINAL| --- | --- || **NVIDIA GeForce RTX 20 / 30 / 40 / 50 series** | [NVIDIA setup](docs/INSTALL.md#what-you-need) || **AMD Radeon RX 7700 / 7800 / 7900, RX 9060 / 9070, AI PRO R9700** | [AMD setup](docs/AMD_HIP.md) |-| **AMD Radeon RX 6800 / 6900 · experimental** | [RX 6000 setup](docs/AMD_HIP.md#rdna2-gfx1030) |-| **Intel Arc · Linux** | [Intel setup](docs/INTEL_ARC.md) |-| **Apple Silicon · M1 or newer** | [Mac setup](docs/MAC.md) |-| **AMD Ryzen AI Max · Strix Halo** | [Strix Halo setup](docs/STRIX_HALO.md) |+| **AMD Radeon RX 6800 / 6900 · experimental** | [RX 6000 setup](docs/AMD_HIP.md#rdna2-gfx1030) |+| **Intel Arc · Linux** | [Intel setup](docs/INTEL_ARC.md) |+| **Apple Silicon · M1 or newer** | [Mac setup](docs/MAC.md) |+| **AMD Ryzen AI Max · Strix Halo** | [Strix Halo setup](docs/STRIX_HALO.md) |<a id="using-it"></a>## Tools-**Claude Code · Codex CLI · OpenCode · oh-my-pi · pi.dev · Hermes Agent · OpenClaw**, and more through the OpenAI- and Anthropic-compatible APIs.+**Claude Code · Codex CLI · OpenCode · oh-my-pi · pi.dev · Hermes Agent · OpenClaw**, and more through the OpenAI- and Anthropic-compatible APIs.Run **`strata connect`** to see setup instructions for your tool. [Connection guide](docs/TERMINAL_LAUNCH.md#connect-your-apps-strata-connect).@@ -174,8 +174,8 @@ Run **`strata connect`** to see setup instructions for your tool. [Connection gu## Help-[All guides](docs) · [Troubleshooting](docs/TROUBLESHOOTING.md) · [Report a bug](https://github.com/Niko1221/Strata/issues/new/choose) ·-[Benchmarks](docs/COMMUNITY_BENCHMARKS.md) · [How it works](docs/HOW_IT_WORKS.md) · [Contribute](CONTRIBUTING.md)+[All guides](docs) · [Troubleshooting](docs/TROUBLESHOOTING.md) · [Report a bug](https://github.com/Niko1221/Strata/issues/new/choose) ·+[Benchmarks](docs/COMMUNITY_BENCHMARKS.md) · [How it works](docs/HOW_IT_WORKS.md) · [Contribute](CONTRIBUTING.md)## Support Strata@@ -183,11 +183,11 @@ Run **`strata connect`** to see setup instructions for your tool. [Connection gu<a href="https://buymeacoffee.com/strataengine"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me a Coffee: support Strata" height="48"></a>-[MIT license](LICENSE) · [Credits and model licenses](docs/HOW_IT_WORKS.md#credits) · [Privacy](docs/SAFETY.md)+[MIT license](LICENSE) · [Credits and model licenses](docs/HOW_IT_WORKS.md#credits) · [Privacy](docs/SAFETY.md)<a id="option-c-let-your-ai-set-it-up"></a>-<sub>For AI tools and automated readers: <a href="AGENTS.md">technical reference</a> · <a href="docs/AI_SETUP.md">setup instructions</a>.</sub>+<sub>For AI tools and automated readers: <a href="AGENTS.md">technical reference</a> · <a href="docs/AI_SETUP.md">setup instructions</a>.</sub>**Sponsorships, hardware partnerships or collaborations:** [[email protected]](mailto:[email protected]).diff --git a/docs/DEEPSEEK41.md b/docs/DEEPSEEK41.mdindex eeb9336b6..1a8d1fc6a 100644--- a/docs/DEEPSEEK41.md+++ b/docs/DEEPSEEK41.md@@ -42,9 +42,10 @@ perplexity +7.3% (code +3.2%, agent work +2.2%). IQ1_M: perplexity +21% (KL 0.21**On a Ryzen AI Max "Strix Halo" (Windows)** the graphics chip and the CPU share one pool of memory, so the engine counts it once: the128 GB box (a 64 GB BIOS carve-out plus the 64 GB Windows sees) keeps about 109 GB of the 2.00 set's experts in that pool (the denseweights and 12 GB for Windows and the desktop aside) and reads the other 23 GB from the SSD. Measured there (2.00 bpw, default Faster-mode, DSpark auto): answers 14-16 tokens/s on code and 10-11 on chat; a 4,000-token prompt 78 tokens/s, 8,000 tokens 109. The tested-driver is AMD Adrenalin 26.10.1 (driver 32.0.32015.7029); the 2025-03 driver failed at 32K context, so 26.10.1 is the minimum to use.-The 32K and 64K contexts work on it; an 8-hour 32K soak passed on this box.+mode, DSpark auto): answers 15-17 tokens/s on code and 10-11 on chat; a 4,000-token prompt 87 tokens/s, 8,000 tokens 125, 32,000+tokens 177 (setup writes `--prefill-chunk 8192` on this PC: 11-15% faster than the engine's 1,024-token default, decode unchanged).+The tested driver is AMD Adrenalin 26.10.1 (driver 32.0.32015.7029); the 2025-03 driver failed at 32K context, so 26.10.1 is the+minimum to use. The 32K and 64K contexts work on it; an 8-hour 32K soak passed on this box.121 + 111 + 8 = 239 GB for 1.75; 138 + 111 + 8 = 257 GB for 2.00; 155 + 111 + 8 = 274 GB for 2.25.diff --git a/docs/MODELS.md b/docs/MODELS.mdindex 7cbc2c442..4eba8f4cb 100644--- a/docs/MODELS.md+++ b/docs/MODELS.md@@ -3,9 +3,9 @@This page helps you choose a model and check that your computer can run it. It covers DeepSeek V4.1-Flash,Qwen3.8-Flash-Next (and its variants) and Qwen3.6-35B-A3B. For installing, see [INSTALL.md](INSTALL.md).-> **On this page:** [Quick start](#quick-start) · [Pick by memory](#pick-by-memory) ·-> [DeepSeek V4.1-Flash](#deepseek-v41-flash) · [Qwen3.8-Flash-Next](#qwen38-flash-next) ·-> [Qwen3.6-35B-A3B](#qwen36-35b-a3b) · [Adding or switching models](#adding-or-switching-models) ·+> **On this page:** [Quick start](#quick-start) · [Pick by memory](#pick-by-memory) ·+> [DeepSeek V4.1-Flash](#deepseek-v41-flash) · [Qwen3.8-Flash-Next](#qwen38-flash-next) ·+> [Qwen3.6-35B-A3B](#qwen36-35b-a3b) · [Adding or switching models](#adding-or-switching-models) ·> [History](#history--older-measurements)## Quick startdiff --git a/docs/STRIX_HALO.md b/docs/STRIX_HALO.mdindex 0ffa8ad09..a6bdb6893 100644--- a/docs/STRIX_HALO.md+++ b/docs/STRIX_HALO.md@@ -1,19 +1,19 @@-# Strix Halo (Ryzen AI Max, gfx1151)+# Strix Halo (Ryzen AI Max, gfx1151)This page is for people with a Ryzen AI Max "Strix Halo" PC (Radeon 8060S / 8050S, RDNA 3.5, `gfx1151`, one pool of LPDDR5Xshared by the CPU and the GPU). Strata runs there through the same HIP backend as the Radeon cards in [AMD_HIP.md](AMD_HIP.md).**Status: experimental.****DeepSeek V4.1-Flash runs here on Windows** (since 0.2.7): its own engine package is built for gfx1151 and the official IST-DAS-1.75 / 2.00 / 2.25 bpw sets run through it. Measured on the 128 GB box (64 GB BIOS carve-out plus 64 GB seen by Windows) with 2.00 bpw and the default Faster mode: answers 14-16-tokens/s on code, 10-11 on chat; a 4K prompt 78 tokens/s and an 8K prompt 109. The graphics chip and the CPU share the RAM, so the+1.75 / 2.00 / 2.25 bpw sets run through it. Measured on the 128 GB box (64 GB BIOS carve-out plus 64 GB seen by Windows) with 2.00 bpw and the default Faster mode: answers 15-17+tokens/s on code, 10-11 on chat; a 4K prompt 87 tokens/s, an 8K prompt 125 and a 32K prompt 177. The graphics chip and the CPU share the RAM, so theengine counts it once and reads the rest of the experts from the SSD. [DeepSeek on Strix Halo](#deepseek-v41-flash) has the details,the driver it needs and the limits.-> **On this page:** [Quick start](#quick-start) · [DeepSeek](#deepseek-v41-flash) · [What the engine does differently](#what-the-engine-does-differently) ·-> [1. Toolchain](#1-the-toolchain-no-root-needed) · [2. Engine](#2-the-engine) · [3. Tuning table](#3-the-prompt-table-and-running) ·-> [4. Defaults](#4-what-is-on-by-default-on-gfx1151) · [5. Opt-in](#5-what-is-not-on-by-default-it-changes-bits) ·-> [5b. Desktop and RAM](#5b-the-desktop-the-ram-and-a-discrete-card-beside-the-strix-halo-linux) · [6. Measured](#6-measured) ·+> **On this page:** [Quick start](#quick-start) · [DeepSeek](#deepseek-v41-flash) · [What the engine does differently](#what-the-engine-does-differently) ·+> [1. Toolchain](#1-the-toolchain-no-root-needed) · [2. Engine](#2-the-engine) · [3. Tuning table](#3-the-prompt-table-and-running) ·+> [4. Defaults](#4-what-is-on-by-default-on-gfx1151) · [5. Opt-in](#5-what-is-not-on-by-default-it-changes-bits) ·+> [5b. Desktop and RAM](#5b-the-desktop-the-ram-and-a-discrete-card-beside-the-strix-halo-linux) · [6. Measured](#6-measured) ·> [History](#history--older-measurements)## Quick start@@ -49,12 +49,18 @@ Measured on the maintainers' box (Ryzen AI Max+ 395, 128 GB unified, Windows 11,| Workload | Result || --- | --- |-| Code answer | 14-16 tokens/s |+| Code answer | 15-17 tokens/s || Chat answer | 10-11 tokens/s |-| 4K prompt | about 78 tokens/s |-| 8K prompt | about 109 tokens/s |+| 4K prompt | about 87 tokens/s |+| 8K prompt | about 125 tokens/s |+| 32K prompt | about 177 tokens/s || Stability | 100-request, 1-hour (243 requests) and 8-hour 32K (646 requests) soaks passed on the engine line this package is built from |+Prompts are read in 8,192-token chunks: setup writes `--prefill-chunk 8192` on this PC (STRATA_DSV41_NO_BIG_CHUNK=1 leaves the+engine's 1,024-token default). Measured 2026-10-25: 4K 78.7 → 87.2, 8K 108.9 → 125.1, 32K 155.2 → 176.9 tok/s; decode unchanged+(16.53 → 16.59), because the chunk buffers take ~5 GB from the GPU expert tier and the RAM store's hit rate rises to compensate. The+chunk's summation order changes, not the model (the repo's chunk-size KL check: 1024 0.1705, 2048 0.1692, 4096 0.1688, 8192 0.1695).+How it uses the memory: the GPU's expert tier and the RAM store are the same memory, so the engine keeps a store of about 22-23 GB,sized after the weights are on the GPU, and reads the other experts from the model files when a word needs them. It does not copy theCPU lane's experts into RAM on an integrated GPU: on this box that copy overcommits the shared memory and an 8K prompt stalls (founddiff --git a/setup.py b/setup.pyindex df040b67c..fe1e6204b 100644--- a/setup.py+++ b/setup.py@@ -1,4 +1,4 @@-#!/usr/bin/env python3+#!/usr/bin/env python3"""Strata one-click setup and start (Windows and Linux, NVIDIA or AMD GPUs).START-HERE.bat (Windows) / ./setup.sh (Linux) - they install Python if needed and run this file@@ -8019,6 +8019,23 @@ def dsv41_pack_cmd(folder: Path, shards: list, engram: Path, meta: Path, dspark:"--dspark-noise-token", "128799", "--dspark-markov-rank", "256", "--out", str(pack)]+def dsv41_prefill_chunk_args(cards, ram_gb) -> list:+ """A bigger prompt chunk on a unified-memory APU (Ryzen AI Max, gfx1151), where the engine's 1,024-token rule was calibrated on+ cards that hold most of the experts. Measured on the 128 GB Strix Halo with the 2.00 bpw set (2026-10-25, engine 0.1.51):+ 4K prompt 78.7 -> 87.2 tok/s, 8K 108.9 -> 125.1, 32K 155.2 -> 176.9; decode unchanged (16.53 -> 16.59 tok/s), because the+ chunk buffers take ~5 GB from the GPU expert tier and the RAM store's hit rate rises to compensate. The prompt chunk's+ summation order changes, not the model: the repo's chunk-size KL check (1024 0.1705 / 2048 0.1692 / 4096 0.1688 / 8192 0.1695)+ shows no quality move. Only where the shared pool has room; STRATA_DSV41_NO_BIG_CHUNK=1 leaves the engine's own choice."""+ if not cards or not any(c.get("uma") for c in cards):+ return []+ pool = float(ram_gb or 0) + max([float(c.get('dedicated_gb') or 0.0) for c in cards] or [0.0])+ if pool < 64.0: # the RAM Windows sees plus the GPU's BIOS carve-out+ return []+ if os.environ.get("STRATA_DSV41_NO_BIG_CHUNK") == "1":+ return []+ return ["--prefill-chunk", "8192"]++def dsv41_engine_env(lib_dirs) -> dict:env = dict(os.environ)dirs = [str(d) for d in lib_dirs or [] if d]@@ -8241,12 +8258,15 @@ def install_dsv41(a, family, gpu, hip, amd, cuda_tk, multi, port, ram, adopted,step(7, "writing the start script")# --dspark auto, never off: "off" still LOADS the drafter, and its 7 GB of experts take the graphics memory (found 2026-10-23);# auto keeps it unloaded when the experts are far larger than the card. The RAM store sizes itself (--ssd-cache auto is the- # engine's default), and <pack>/expert-profile.bin is read from the pack folder without a flag. The layer-major chunked prompt is the engine's own default now (f-dsv41-rel d6f18babe: 1024 on a single card,- # its own choice for several), so no --prefill-chunk is written. --dspark-conf 0.65: the- # drafts' confidence floor (H100 replay, DSPARK-DEFAULTS.md: within 0.01-0.02 of the per-class best, never below 0.3). The engine has- # no flag for the draft block (3 in the same table): it reads the block size from the pack, so only the floor is written.+ # engine's default), and <pack>/expert-profile.bin is read from the pack folder without a flag. The layer-major chunked prompt+ # is the engine's own default (1024 on a single card whose cards hold most of the experts; its own choice for several); on a+ # unified-memory APU the chunk is written out instead (dsv41_prefill_chunk_args: 8,192 reads 11-15% faster there).+ # --dspark-conf 0.65: the drafts' confidence floor (H100 replay, DSPARK-DEFAULTS.md: within 0.01-0.02 of the per-class best,+ # never below 0.3). The engine has no flag for the draft block (3 in the same table): it reads the block size from the pack,+ # so only the floor is written.args = ["--pack", str(pack), "--max-context", str(ctx), "--eos", "1", "--dspark", "auto",- *(["--dspark-conf", "0.65"] if md.get("recipe") == "ista" else []), *plan["args"]]+ *(["--dspark-conf", "0.65"] if md.get("recipe") == "ista" else []), *dsv41_prefill_chunk_args(cards, ram),+ *plan["args"]]cfg = {"exe": str(exe), "args": args, "cwd": str(ROOT), "tokenizer": str(pack / "tokenizer"),"model_name": fam["name"], "arch": fam["arch"], "log": str(home() / f"strata-{tag.lower()}.log"),"lib_dirs": lib_dirs, "port": port, "engine_ready_s": 3600} # 300+ GB read from the files: a slow disk needs its time@@ -9905,3 +9925,4 @@ if __name__ == "__main__":except KeyboardInterrupt:say("\nstopped.")sys.exit(1)+diff --git a/tests/terminal/test_dsv41_prefill_chunk.py b/tests/terminal/test_dsv41_prefill_chunk.pynew file mode 100644index 000000000..3f42760b3--- /dev/null+++ b/tests/terminal/test_dsv41_prefill_chunk.py@@ -0,0 +1,40 @@+"""setup.dsv41_prefill_chunk_args: the 8,192-token prompt chunk Strata writes for a unified-memory Ryzen AI Max (Strix Halo) PC.++Measured on the 128 GB box (2.00 bpw, engine 0.1.51, 2026-10-25): 4K prompt 78.7 -> 87.2 tok/s, 8K 108.9 -> 125.1, 32K 155.2 ->+176.9, decode unchanged (16.53 -> 16.59). The engine's own 1,024-token rule was calibrated on cards that hold most of the experts;+on the shared pool the bigger chunk wins. A discrete card or a small unified PC keeps the engine's choice.+"""+from __future__ import annotations++import os+import unittest+from unittest import mock++import setup+++HALO = [{"name": "AMD Radeon 8060S", "uma": True, "vram_gb": 96.0, "dedicated_gb": 64.0, "shared_gb": 32.0}]+SMALL_HALO = [{"name": "AMD Radeon 8040S", "uma": True, "vram_gb": 32.0, "dedicated_gb": 32.0, "shared_gb": 16.0}]+R9700 = [{"name": "Radeon AI PRO R9700", "vram_gb": 32.0}]+++class StrixChunkArgs(unittest.TestCase):+ def test_a_128_gb_unified_pc_gets_the_big_chunk(self):+ self.assertEqual(setup.dsv41_prefill_chunk_args(HALO, 63.6), ["--prefill-chunk", "8192"])++ def test_a_64_gb_unified_pc_keeps_the_engines_choice(self):+ self.assertEqual(setup.dsv41_prefill_chunk_args(SMALL_HALO, 31.6), [])++ def test_a_discrete_card_is_untouched(self):+ self.assertEqual(setup.dsv41_prefill_chunk_args(R9700, 251.0), [])++ def test_no_card_is_untouched(self):+ self.assertEqual(setup.dsv41_prefill_chunk_args([], 128.0), [])++ def test_the_escape_hatch_turns_it_off(self):+ with mock.patch.dict(os.environ, {"STRATA_DSV41_NO_BIG_CHUNK": "1"}):+ self.assertEqual(setup.dsv41_prefill_chunk_args(HALO, 63.6), [])+++if __name__ == "__main__":+ unittest.main()