最新资讯
dev.to osFoundry的Loop和Graph是什么,何时该用哪个? dev.to 限制上下文而非限制评审:面向开源补丁的字节预算证据包 dev.to 约束自主智能体:用 GKE Agent Sandbox 实现亚秒级零信任执行 dev.to 实测:给 Claude Code 十个翻译工具,三次运行中有一次完全不用 unite.ai Ramp 数据:企业 AI token 用量增速超过支出增速 pub.towardsai.net AI 生成的 ICLR 评审对被拒论文更宽松:如何压力测试你的 rebuttal blogs.nvidia.com NVIDIA 开源工具如何助力研究者构建下一代 6G 网络 wired.com AI 公司正积极收购企业工作文件与邮件用于模型训练 wechat 网友用AI搓出来的“App”,可以直接在小红书玩起来了? bloomberg.com 科技股抛售后,Anthropic IPO 估值承压 dev.to 当“按设计工作”成为问题:Claude Code 与 .NET 用户机密 dev.to 用代理修复 3500 个 Sonar 问题花 44 美元,让结果可信花 520 美元
多元动态
登录 注册
行业动态 github.com · @Niko1221

Strata v0.1.39 发布:解码与长提示提速,新增多请求与 Codex 的 OpenAI Responses API 支持

原文 我的收藏

本地推理引擎 Strata 发布 v0.1.39。解码路径通过减少启动次数与主机往返(sub-warp expert packing、分阶段输入、PLE/MTP 批处理)提速,作者在单张 RTX 5070 上以 10 组交错对比测得中位数:Q2_0 +6%(story 68.4→72.7 tok/s,code 75.8→80.0),IQ3_XXS +6%/+2.5%,4K 与 32K 提示后 +5% 至 +7%,输出与 0.1.38 逐字节一致。长提示流式 expert ring 默认开启,32K 提示下 IQ3_XXS 提升 18.5%(1500 槽 expert 缓存),但默认配置无变化,且长提示比特与 0.1.38 不同,质量仍在同一区间(8K 提示 KL 0.042、top-1 93.5%)。另含超长上下文(243K token 提示在 RTX 3060 上 +26%)、多 GPU 优化(数据由作者提供,非本机实测)、Linux 大页 expert arena 与可选 AVX2 codebook gather。注意:零门铃 verify 图仅在整层 expert 驻留 VRAM 时生效,12GB 卡无法触发;Coder 在 32K 上下文读 30K 提示约慢 8%。

AI推荐理由 Strata v0.1.39 官方发布说明,给出可核验的量化数据:RTX 5070 上 decode 中位数提升约 6%(Q2_0 68.4→72.7 tok/s),4K/32K 长提示提升 5%–7%,并声明输出与 0.1.38 逐字节一致;长提示流式 expert ring 在 32K 提示下 IQ3_XXS 提升 18.5%,同时给出 KL 与 top-1 质量对照。局限也写明:零门铃 verify 图仅在整层 expert 驻留 VRAM 时生效,12GB 卡无法触发,大卡收益未测;多 GPU 数据由他人提供而非本机实测;Coder 32K 上下文反而慢约 8%。属于本地推理引擎的性能与兼容性更新,对开发者和算力用户有实际参考价值,但为小项目单版本发布,影响面有限。

72

正文

Official release notes (https://github.com/Niko1221/Strata/releases/tag/v0.1.39) **Faster decode and long prompts, several requests at once, older and other hardware as experimental opt-ins, the OpenAI Responses API for Codex, a fix for slower prompts with a RAM budget, and a batch of fixes from your reports.** **Faster (the same answers where nothing says otherwise):** - **Decode (#646):** the verify pass runs with fewer launches and host round trips (sub-warp expert packing, staged inputs, the PLE and MTP steps batched). Measured here on one RTX 5070 against 0.1.38, 10 interleaved pairs, medians: Q2_0 +6% (story 68.4 -> 72.7 tok/s, code 75.8 -> 80.0), IQ3_XXS +6% / +2.5% (46.1 -> 48.8, 50.7 -> 51.9); after 4K and 32K prompts +5% to +7%. The output is byte-identical to 0.1.38's (10/10 on all four quants with a fixed cache). The zero-doorbell verify graph itself runs only when every expert of a layer is in VRAM. A 12 GB card never gets there, so the gain on big cards was not measured here. - **Long prompts (#583, on by default):** the streamed expert ring is sized in bytes for the pack, and `--prefill auto` picks the largest chunk that keeps it full. Short prompts, and prompts that fit 0.1.38's chunk, keep 0.1.38's ring and their exact bits (4K: identical). The gain depends on the free VRAM. On an RTX 5070 with 32K prompts, IQ3_XXS is +18.5% with a 1,500-slot expert cache and unchanged with setup's default config. A long prompt's bits change against 0.1.38, because the experts go through a different mix of cached and streamed groups. Its quality stays in the same band, teacher-forced over the next 2,001 tokens against the FP16 prompt path (IQ3_XXS): 8K prompt KL 0.042 (0.1.38: 0.054), top-1 93.5% (92.2%); 32K prompt KL 0.020 (0.019), top-1 95.3% (95.0%). It doesn't help every pack: the Coder at a 32K context reads a 30K prompt about 8% slower (with a 64K context it was about 6% faster). `STRATA_RING_BYTES=0` restores 0.1.38's ring. - **Very long contexts:** the attention's top-k past the register kernel's reach (262K-524K cells) runs with a histogram per warp: a 243K-token prompt +26% on an RTX 3060 (#603). - **More than one GPU (measured by their authors, not here: we have one GPU):** setup now adds `--remote-expert-opt` (#578) to a config with two or more GPUs. It skips the host's work for tokens whose experts all run on the helper cards (dual RTX 4090: +63% mixed text, +132% code over the plain helper path), and `setup --no-remote-expert-opt` leaves it out. A layer split of 3+ GPUs overlaps its stages better (#598, 4x RTX 3060: +10 to 28% on prompts). `STRATA_PREFILL_HELP=1` lets a split's idle card stream a share of a one-chunk prompt's experts (#663). It is opt-in because it rounds differently. With one or two GPUs the pipeline runs as before. - **Also:** the Linux expert arena on transparent huge pages (#650; `STRATA_NO_LARGEPAGES=1` keeps 4 KB pages), an opt-in AVX2 codebook gather for the IQ CPU kernels (`STRATA_IQ256_GATHER=1`, #622), and thread affinity on PCs with more than 64 CPUs (#626). **Several requests at once (#465, opt-in):** `"parallel": N` in `strata-.json` (or `setup --parallel N`) decodes up to N conversations together in the engine. More requests wait for a free slot, and a long prompt gives way to a short one at a chunk boundary. A request left alone goes back to the one-at-a-time path, and `/metrics` shows each slot. Every slot's greedy answer is the same as when it runs alone. On a 12 GB card it cuts waiting time and costs speed. RTX 5070, Q2_0, four requests at once: the last one starts after 1.8 s instead of 11.2 s, but together they decode 11% slower (63.1 against 70.7 tok/s). A request alone loses 11% with 2 slots and 22% with 4, because each slot's session takes 0.56 GiB from the expert cache. So setup recommends it only where the experts mostly fit in VRAM. A 4-GPU layer split (4x 16 GB, IQ3_S, PR #559) served 8 requests at 360 tok/s in total against 120 for one. docs/BATCHING.md has the numbers and the options. **Older and other hardware, experimental:** three opt-in paths that community members wrote and measured on their own machines. We have none of this hardware. Each is compile-checked and unit-tested here, and the ready-made engines and their output are unchanged (checked byte-identical). - **Older NVIDIA cards (Pascal, Volta: P40, P100, GTX 10, V100, Titan V; #395 #600 #540 #655 #627):** CUDA 13 cannot compile for them, so setup keeps a second engine built with CUDA 12.9 (`strata-windows-x64-cuda12.zip` on Windows, compiled on Linux). It is used only when you choose such a card: a PC with only Pascal / Volta cards, a card named with `--gpu N` / `--gpus`, or `--cuda 12`. `--cuda 12` is also the way to run with an NVIDIA driver older than 580 (528+ on Windows, 525+ on Linux). The choice is kept per model. The Volta prompt attention and the BF16 path through FP16 / fp32 are compiled into this engine only. Untested here: every Pascal and Volta card, the old drivers, and an RTX 50 card in that engine (it gets a warning; keep it on its own model). docs/OLDER_GPUS.md has the reporters' numbers (V100: prompts 1,123-1,251 tok/s, UD-IQ4_XS). RTX 20 owners can try the same FP16 tensor-core path for the prompt's BF16 products with `STRATA_BF16_TC=1` (+15-18% on an RTX 2080 Ti, #655). Its sums are not bitwise cuBLAS's. Older AMD cards are built by hand: gfx906 (Instinct MI50 / MI60, Radeon VII; `-DSTRATA_HIP_GFX906=ON`, #638 #677: 2x MI50, the Coder, 50 tok/s at 4K) and gfx1012 (RX 5500 XT, #442). The RX 6700 XT (gfx1031, #524) goes through setup. - **Intel Arc (#423):** maxfridbe's SYCL port of the engine, built from source on Linux with Intel oneAPI: `./setup.sh --backend sycl`. Reported on the Arc Pro B70 / B50 and the B580 (Coder IQ1_M 70-78 tok/s on a B70) on earlier versions. Here it compiles (oneAPI 2026.1) and its kernel tests run on a CPU device. Untested: the 0.1.39 port on an Arc, Windows (no build path yet; setup points at Linux), WSL2, the A-series and integrated Arc GPUs, and images. There is no ready-made Intel engine. docs/INTEL_ARC.md. - **Older CPUs without AVX2 (#394 #595):** AVX-only (Sandy / Ivy Bridge, Xeon E5 v1/v2, Bulldozer) and SSE4.2-only CPUs (Nehalem / Westmere). Run setup as usual: it warns and compiles the engine for that CPU (`STRATA_ISA_FLOOR=avx` or `none`, 10-20 minutes once) instead of stopping. Only the i-quant models run there, and the CPU's share is slow (forced on our Ryzen: 11-17 tok/s with the AVX build, 3.5-3.8 with SSE4.2, against 26). Untested here on a real old CPU; contributors ran earlier versions of it on Xeon E5-2680 / E5-2687W / X5690. docs/INSTALL.md#older-cpus-experimental. **Prompts with a RAM budget are fast again (#577):** 0.1.38 decided too early whether to read the experts past the file cache, and it compared against the size of every model file. On a 96 GB PC with UD-Q4_K_XL and a 72 GiB budget it chose wrong, so every refill after a prompt read the drive (prompts 15-40% slower than 0.1.34). The choice now counts only the expert bytes outside the RAM copy, and is made again once that copy is built. The tokens are the same either way. **The OpenAI Responses API (#451):** `POST /v1/responses`, so Codex CLI works with Strata (tested with Codex 0.160.0, a tool loop included; later turns reused ~96% of the prompt from the cache). It is stateless, as Codex uses it, and covers function tools, tool results, reasoning effort, JSON schemas and the streaming events. Not supported: `previous_response_id` (nothing is stored), hosted tools and reasoning summaries. The Codex `config.toml` is in docs/DETAILS.md. **Security:** SECURITY.md says how to report a problem privately (GitHub's private vulnerability reporting) and what the server exposes: 127.0.0.1 by default, the API key, the Host and Origin checks of 0.1.38, CORS, and the opt-in MCP tools and request monitor. **Fixes from your reports:** - **A reply stuck on one token is ended (#606):** a reply that repeats one token 256 times ends there (`"repeat_stop_tokens"` sets the length, `0` turns it off), and the q8_1 activations stay finite. - **Starting on a tight card (#620):** the native head and the logits are loaded before the expert arena, and a failed allocation names the free VRAM. - **The RAM check before the arena (#633):** a container whose memory limit is below the arena is refused with the numbers instead of being killed during the load. Less RAM available only warns. - **A rotational disk (#605):** `--ple-io direct` warns at start, setup keeps the n-gram table in RAM there, and the stall report counts disk waits. - **`layer_split` in the config (#644)** is checked before the start, takes a JSON list, and says the format. - **Linux CUDA toolkits (#601):** `STRATA_NVCC` picks the toolkit and `CUDA_HOME` is honoured. - **Windows Pascal/Volta source builds (#585)** link the shared CUDA runtime. - **The hit rate (#588)** names the PCIe share beside it. - **The server:** a malformed `tools` value is a 400 instead of a dropped connection (#592); a literal `` in a message is read as text (#537); `/load` and `/unload` read the request body before replying (#630). - **Setup:** running it again keeps the run config's other keys (#629); `--no-browser` / `"open_browser": false` (#609 #631); `--vision-tokens N` (#625); `--draft-vocab fr`, the English/code subset plus French (#597); a calibration on Linux HIP is kept for its card (#566); Unsloth's UD-IQ4_XS as an experimental choice (#621); on hybrid CPUs with more E-cores than P-cores, setup writes a recommended `--pool-workers` you can edit (#642). - **The web page:** a Model settings card (#564) and a Conversation cache card in the Monitor tab (#596). - **Docs:** the decode window profiler (#610) and the five reading errors #604 found. **New options (off by default; the default output is unchanged):** - `"effort_position": "end"` (#458): a request that only changes the effort reuses the cached conversation. - `"vram_elastic": true` (#533): give VRAM back to other programs while the model runs, and take it again (`POST /v1/vram`). - `STRATA_ARENA_MMAP=1` (Linux, PR #640): the expert arena as a read-only mapped file, for machines with little RAM whose GPUs hold most experts. - `STRATA_STAGE_TRIM=1` (PR #639): with explicit `--layer-split` points, each GPU loads only its own layers' dense weights (2x MI50, the Coder: 8,819 -> 10,626 experts in VRAM). Opt-in for now on AMD and NVIDIA alike. - `tools/make_profile.py --reorder` (#589) ranks a routing trace ahead of the base profile. - Diagnosis switches for the gfx1201 prompt stalls and the gfx1030 verify timeouts (#579 #613 #541 #649). **Also:** a dead engine is restarted for real, with the start retried and the last known context kept (#637). Thanks to everyone who sent PRs, tests and reports, and especially to JeanP00l for the multi-GPU, gfx906 and restart work, to maxfridbe for the Intel Arc engine, and to Stuart Chapin for the decode work in #646. **Checked before the release:** - **The same answers as 0.1.38 on all four quants** (Q2_0, IQ3_XXS, IQ3_S, the Coder), 10/10 each with a fixed cache and no failures with the default settings. The prompt path's internal state is identical at 4K and 20K tokens (Q2_0) and at 4K (IQ3_XXS, the Coder). Long prompts on a native pack differ by design (#583, above). - **Speed**, interleaved runs against 0.1.38, medians: decode +2.5% to +6% (10 pairs each, Q2_0 and IQ3_XXS), prompts at 4K and 32K the same to +2% with setup's default configs (5 pairs each), decode after them +5% to +7%. - **Parallel requests (Q2_0):** 4 slots of 128 tokens, each identical to the same request alone. These also matched their solo tokens: a prompt read beside two decoding slots, a prompt that gives way and goes on, a next turn from its slot, a slot request back on the solo path, and a turn checkpoint. - **Kernel parity tests** (11), **real use at a 59K-token prompt** (Q2_0, the Coder), **Linux** (WSL) Q2_0 identical 10/10 to 0.1.38. - **The CUDA 12 engine:** `strata-windows-x64-cuda12.zip` builds (sm_60 to sm_89 + PTX) and gives the same answers as the CUDA 13 engine on the RTX 5070 (through its PTX), 10/10. We have no Pascal or Volta card, so this checks the build, not those cards. - **AMD on Windows:** the HIP zip builds; the AMD changes are untested on an AMD card here (we have none). - **Intel Arc:** the SYCL project configures in WSL (oneAPI 2026.1) and compiled on its branch. - **Tests:** tools/setup 376, server 268, each run twice. The README speed table was not re-measured for this release (its IQ2_XS files are not on the test PC). **Updating:** run `UPDATE.bat` (Linux: `./update.sh`). Setup installs engine 0.1.39. The ready-made Strata engines for Windows, which `START-HERE.bat` fetches by itself: - `strata-windows-x64.zip`: NVIDIA (RTX 20 / 30 / 40 / 50: sm_75, sm_86, sm_89, sm_120 + PTX), CUDA 13.0, needs an NVIDIA driver 580 or newer. Contents: `strata.exe`, `strata-vision.exe` (the optional image encoder), `BUILD.json`. - `strata-windows-x64-cuda12.zip` (**experimental**): older NVIDIA cards (Pascal and Volta: sm_60, sm_61, sm_70; it also has sm_75, sm_80, sm_86, sm_89 + PTX for a mixed PC), CUDA 12.9, needs an NVIDIA driver 528 or newer. Setup fetches it only for a model you put on such a card, or with `--cuda 12`. Contents: `strata.exe`, `strata-vision.exe`, `BUILD.json`. - `strata-windows-x64-hip.zip`: AMD (gfx1100, gfx1101, gfx1102, gfx1200, gfx1201, gfx1030), ROCm 10.2.0a20260930 from AMD's TheRock builds, needs a current AMD driver. Contents: `strata.exe`, `strata-device.exe`, the HIP runtime next to them, `BUILD.json`, `rocm\` (the ROCm libraries and their licenses). --- Strata is free and open source. If it runs well on your PC, a coffee keeps the work on it going: Repository README (current repository documentation, not release changes) Strata **English** · [简体中文](README.zh-CN.md) · [日本語](README.ja.md) · [Deutsch](README.de.md) · [Français](README.fr.md) · [Español](README.es.md) · [Português](README.pt-BR.md) Run a 125-billion-parameter AI model on your own gaming PC NVIDIA or AMD graphics card (12 GB or more) · Windows or Linux · free and open source A voxel pagoda garden, 1 shot prompt running on an RTX 5070 with Strata (IQ3_S, 128K context) · full video (49 s) Strata runs **[Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next)** on a normal PC. This is a large, smart AI model that usually needs a server. It chats, writes code, reads pictures and works with your apps and coding agents. Nothing leaves your PC. ## How fast is it? We measured it on two ordinary gaming PCs. A token is about ¾ of a word. - **Writes answers:** how fast the reply appears in a short chat. 60 tokens per second is faster than you can read. - **Reads your prompt:** how fast it takes in what you send (here a 32K-token document, code or chat history). NVIDIA: RTX 5070 (12 GB), Ryzen 5 7600, 64 GB RAMAMD: RX 9070 XT (16 GB), Ryzen 9 3900X, 47 GB RAM | Size | Writes answers | Reads your prompt | | --- | ---: | ---: | | **Q2_0** | 94 tokens/s | 2,650 tokens/s | | **IQ2_XS** | 79 tokens/s | 2,090 tokens/s | | **IQ3_XXS** | 62 tokens/s | 1,750 tokens/s | | **IQ3_S** | 53 tokens/s | 1,620 tokens/s | | **Coder** | 55 tokens/s | 2,180 tokens/s | | Size | Writes answers | Reads your prompt | | --- | ---: | ---: | | **Q2_0** | 60 tokens/s | 1,160 tokens/s | | **IQ2_XS** | 52 tokens/s | 1,110 tokens/s | | **Coder** | 44 tokens/s | 1,420 tokens/s | NVIDIA: Q2_0 with engine 0.1.36, the other rows with 0.1.26 (4K answers, 32K prompts). The full tables are in [DETAILS.md](docs/DETAILS.md#speed-measured). A card with more VRAM is faster: an RTX 3090 (24 GB) should write about 100-140 tokens per second. Long chats and other cards: [speed of each model](docs/MODELS.md#how-fast-is-each-size), [community results](docs/COMMUNITY_BENCHMARKS.md). Strata is free. If it runs well on your PC, a coffee keeps the work on it going. ## What you need | | | | --- | --- | | **Graphics card** | **NVIDIA** GeForce RTX 20, 30, 40 or 50 series, or **AMD** Radeon RX 7900 XT / XTX, RX 7800 XT / 7700 XT, RX 9060 XT, RX 9070 / 9070 XT, Radeon AI PRO R9700 or RX 6800 / 6900 series. It needs **12 GB of VRAM or more**. | | **RAM** | 32 GB or more. Your RAM decides [which model](#which-model-should-i-pick) fits. 64 GB runs every size. | | **Disk** | About 80 GB free. Use an SSD if you can: the first start is much faster. | | **System** | Windows 10 / 11 or Linux, and a current graphics driver from NVIDIA or AMD. | The installer sets up everything else. Two or three cards can share the model ([multi-GPU](docs/MULTI_GPU.md)). Experimental, written and tested by community members on their own machines: - **Older graphics cards** (Tesla P40 / V100, GTX 10, Radeon VII / MI50, RX 6700 XT, RX 5500 XT): [Older GPUs](docs/OLDER_GPUS.md). - **Intel Arc**, built from source on Linux: [Intel Arc](docs/INTEL_ARC.md). - **Older processors without AVX2**: they work, but slowly. [Older CPUs](docs/INSTALL.md#older-cpus-experimental). The full list: [docs/INSTALL.md](docs/INSTALL.md#what-you-need). ## Install ### Let your AI set it up Do you use an AI coding assistant (Claude Code, Cursor, Codex, GitHub Copilot, ...)? Paste this into it: ```text Set up Strata on this PC for me: https://github.com/Niko1221/Strata - follow docs/AI_SETUP.md in that repository. ``` It checks your graphics card, RAM and disk and picks the model that fits. Then it installs and starts it and tells you how to connect your apps. AI tools can also install, start and stop Strata through its [MCP server](docs/MCP_SERVER.md). ### Or do it yourself [Download Strata](https://github.com/Niko1221/Strata/archive/refs/heads/main.zip) and unzip it (or `git clone` it). **Windows:** double-click **`START-HERE.bat`**. **Linux:** run **`./setup.sh`** in the Strata folder. The steps are the same for NVIDIA and AMD. The installer finds your card and sets up the right engine for it. It asks you a few questions: - which model and which size, - how much context (how much text the model keeps in mind), - whether it should read pictures. Press Enter each time for the recommended answer. Then it downloads the model (about 70 GB) and starts it. If the download stops, run it again: it continues where it left off. Your browser opens the Strata app at `http://127.0.0.1:8080`. > **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time). > Strata loads 35-55 GB into your RAM and locks part of it for the graphics card. This is normal. Wait, and don't > close the window. The window shows what Strata is doing. **Next time**, run `START-HERE.bat` (or `./setup.sh`) again. It starts right away and downloads nothing twice. Close its window to stop the model. `UPDATE.bat` (`./update.sh`) updates Strata without starting it. Updating, Docker, several cards, where the files go and every option: [docs/INSTALL.md](docs/INSTALL.md). ## Which model should I pick? The installer recommends one for your RAM. The same model comes in several sizes, compressed more or less. Smaller sizes are faster. Larger sizes are a bit smarter. | Your RAM | Take | Why | | --- | --- | --- | | **32 GB** | **Coder** | it fits 32 GB, and it is made for code (with a 24 GB card, Q2_0 and IQ2_XS run too) | | **48 GB** | **IQ2_XS** (or Q2_0, the fastest) | the larger sizes do not fit | | **64 GB** | **IQ2_XS** (recommended), or IQ3_XXS / IQ3_S | every size fits; IQ3_S is the best and the slowest | | **96 GB or more** | **IQ3_S**, or Unsloth's UD-IQ4_XS (~4-bit) | room for the largest sizes with everything else open | - **[Coder](docs/MODELS.md#coder):** a coding version with half of the experts removed. It reaches 91% of the full model's SWE-bench Verified score (measured by its authors) and fits 32 GB of RAM. It is weaker outside code, including Chinese and other CJK text (#438). For those, take Q2_0, IQ2_XS or IQ3_S, which keep every expert. - **[Swift 1.5](docs/MODELS.md#swift-15):** a fine-tune that thinks for a much shorter time before it answers. You get the answer sooner, at about the same quality. - **[Unsloth UD-IQ4_XS](docs/MODELS.md#unsloth-ud-iq4_xs):** Unsloth's ~4-bit version, between IQ3_S and UD-Q4_K_XL in quality. A 94 GB download. With less than ~80 GB of RAM, Strata reads part of it from the SSD while it answers, so it is slower there (an NVMe SSD helps). - **[Unsloth UD-Q4_K_XL](docs/MODELS.md#unsloth-ud-q4_k_xl-experimental)** (experimental): the closest to the full model. But Strata reads most of it from the SSD while it answers, so it writes only 7-8.5 tokens/s on a 64 GB PC. - **[OrcaRouter's Uncensored IQ3_XXS](docs/MODELS.md#orcarouter-uncensored-iq3_xxs):** you set it up by hand. It is not in the installer's menu. Sizes, downloads and what fits where: [docs/MODELS.md](docs/MODELS.md). To add another model later, run `SETUP.bat` (Linux: `./setup.sh --setup`). ## Using it The Strata app's Monitor (left) while a coding agent writes the pagoda garden from the video (right) - **In the browser:** open `http://127.0.0.1:8080`. It has **Chat**, a live **Monitor** of the model and your GPU/CPU/RAM, and **About** with the settings and addresses. - **Your apps and coding agents:** add an "OpenAI-compatible" provider with the base URL **`http://127.0.0.1:8080/v1`**. Any API key and any model name work. - Apps that use Anthropic's API: `http://127.0.0.1:8080/v1/messages` (Claude Code: `ANTHROPIC_BASE_URL=http://127.0.0.1:8080`). - Codex CLI and other apps that use the OpenAI Responses API: `/v1/responses` ([setup](docs/DETAILS.md#the-responses-api-and-codex-cli)). - **Thinking:** choose **off, low, medium or high** in the chat menu or in your app's "reasoning effort". Off is the fastest. High is best for hard questions. - **Pictures:** say yes to "Images?" in setup. Then click **Picture** in the chat, or attach pictures in your app. AMD cards read pictures on Linux through the processor; on Windows they can't yet. - **From your phone or another PC:** `START-HERE.bat --setup --host 0.0.0.0 --api-key `. Always set a key. - **One request at a time:** by default Strata answers one request, and the others wait. To answer several at once, set `"parallel": 2` ([BATCHING.md](docs/BATCHING.md)). On a 12 GB card this makes each answer slower. - **Long prompts:** Strata reads the first message of a chat in full, about 1 minute per 30,000 tokens. Follow-up messages start in seconds. More: [where your chats are stored](docs/INSTALL.md#where-things-are-stored), [the API](docs/DETAILS.md#using-it). ## Something went wrong? - **My PC froze the first time Strata started.** This is normal while it loads the model. Wait, and don't close the window. Still frozen after 10 minutes? Restart the PC, close other programs and try again, or pick a smaller size. - **It stopped while downloading or installing.** Run `START-HERE.bat` (or `./setup.sh`) again. It continues where it stopped. - **It's very slow and the disk light keeps blinking, or it says "the engine stopped unexpectedly".** Your PC does not have enough free RAM. Close other programs (browsers use a lot), or pick a smaller size (Q2_0 or IQ2_XS). - **It says port 8080 is already in use.** Strata is already running. Look for its window. More problems and their fixes: [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md). Still stuck? Open an [issue](https://github.com/Niko1221/Strata/issues) and attach `strata-.log` from the Strata folder. Found a security problem? Report it privately: [SECURITY.md](SECURITY.md). ## How does it work? Models like this one usually run on servers with hundreds of gigabytes of graphics memory. Your graphics card has 12-24 GB. Strata makes the model fit by **sharing the work across your whole PC**. Think of a kitchen: the things you use all the time stay on the counter, and the rest waits in the pantry. - **The model is a team of 24,576 small specialists ("experts").** Each word needs only 10 of them. - **Your graphics card** keeps the few thousand experts that are used most often. **Your RAM** holds all of them, and **your processor** works on the rest at the same time. **Your SSD** holds a big lookup table. - **Guess, then check:** a small helper guesses the next few words. The big model checks them all at once. You get the same answer, 1.6-1.8x sooner. - **Long texts are read in big pieces** (up to 8,192 tokens at a time), at over 1,000 tokens per second. The longer explanation: [docs/HOW_IT_WORKS.md](docs/HOW_IT_WORKS.md). Every part and its numbers: [the details](docs/DETAILS.md#how-it-works) and the [paper](docs/paper/Strata-Paper.pdf). ## Credits and license The model is [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team. It was compressed by [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF), UkisAI (Swift 1.5) and Unsloth. Strata uses parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp). All credits: [docs/HOW_IT_WORKS.md](docs/HOW_IT_WORKS.md#credits). Strata is open source under the [MIT License](LICENSE). A few parts and every model have their own licenses ([which ones](docs/HOW_IT_WORKS.md#license)). ## Support Strata Strata is free and open source. If it is useful to you, you can support its development:

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容