DevDock-AI/Speedy
概要
Fast local LLM engine for consumer GPUs. Runs Qwen3.8-Flash-Next (125B MoE) and Inkling 2 Mini up to 1M context on one or two cards, with OpenAI and Anthropic APIs. Day-one Qwen4 support in the works. NVIDIA builds included, AMD (HIP) experimental. A tuned, benchmarked fork of Strata.
AI・機械学習計測したスター増加
- 24時間
- +5
- 7日間
- +9
- 15日間
- +24
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
Speed you can feel. Answers you can trust. Agents that don't get stuck.
Run big open models locally on gaming cards: Qwen3.8-Flash-Next and, new, Inkling 2 Mini, with Qwen4-35B architecture ready (verified on test models; full support when the official weights land). Built for coding agents: no infinite loops, no broken tool calls, no answers cut off.
Speedy is a measured, tuned fork of Strata. It runs large open-weight models on consumer NVIDIA cards and serves them over the OpenAI and Anthropic APIs, so the coding agent you already use just needs a new base URL. DeepSeek V4.1-Flash and Qwen3.6 run too (docs/MODELS.md).
Speed is half of it. The other half is what local models usually get wrong in real work: agents that loop, tool calls that don't parse, thinking that runs out before the answer. Speedy fixes those on the server.
Speed
Everything here was measured on one desktop PC with two used gaming cards: RTX 3080 20 GB + RTX 3080 10 GB. Numbers are tokens per second; decode is how fast the answer is written, prefill how fast a prompt is read.
Qwen3.8-Flash-Next (125B, the main model)
Our top speed: one stream, the Signal fine-tune of Qwen3.8-Flash-Next with our fine-tuned draft head (free on Hugging Face, no login needed). The draft head guesses ahead and the main model checks every guessed token.
| Model file | Decode, chat | Decode, code | Decode after a 110K-token prompt | Prefill, 110K-token prompt |
|---|---|---|---|---|
| Signal AP-Q4_K_XL best quality | 187 | 218 | 145 | 3,006 |
| Q2_0 fastest | 200 | 216 | 186 | 3,941 |
| IQ3_S fastest 3-bit | 205 | 196 | 195 | 4,037 |
Context grows from 229K to 1M tokens. Signal is a manual download (how); all files, methods and the one-card numbers: docs/BENCHMARKS.md.
Inkling 2 Mini (optional second engine, new in 0.6.0)
Decode for chat / code / JSON prompts. Plain is the model alone. Drafter adds the DFlash 2 draft model; its gain depends on how predictable the text is. The last column is the total when 64 requests run at once.
| Pack | Weights | 1 stream, plain | 1 stream, drafter | 64 streams, plain, total |
|---|---|---|---|---|
| SQ-20 | exact (bit-identical to the original, per the pack's publisher) | 85 / 82 / 87 | 120 / 149 / 163 | 868 |
| SQ-15 | not exact (96.7% same top token) | 93 / 91 / 95 | 114 / 161 / 163 | 630 |
| SQ-10 smallest, fastest | not exact (92.4%) | 109 / 106 / 112 | 132 / 179 / 221 | 781 |
| Long context (SQ-10, plain) | Decode | Recall |
|---|---|---|
| after a 256K-token prompt | 40 | 5 of 5 |
| after a 512K-token prompt | 41 | 5 of 5 |
| after a 1M-token prompt | 2 | 5 of 5 |
What to know: this is the only tested Inkling setup (two cards), the drafter's text was checked to match plain text on SQ-20 only, and at 1M about half of the context is kept in system RAM, which is why decode drops there. How each number was measured, the presets and the switches: docs/INKLING.md.
Quick start
Windows
- Clone the repository, or download and extract a release.
- Run
START-HERE.bat(in PowerShell:.\START-HERE.bat). - Pick the model and the file size. On an RTX 20, 30, 40 or 50 card setup downloads a ready-made engine; on other cards it compiles from source (docs/SOURCE_INSTALL.md).
Linux
git clone https://github.com/DevDock-AI/Speedy.git speedy && cd speedy
export PATH=/usr/local/cuda/bin:$PATH
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=86 \
-DSTRATA_MMQ_KQUANTS=ON -DSTRATA_MMQ_TQ_OVERLAY=ON -DSTRATA_NATIVE_EXPERTS=ON -DSTRATA_Q6K_EXPERTS=ON
cmake --build build --target strata -j
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
./setup.sh # downloads the model, prepares it, writes a config tuned for your card and starts the server
Set -DCMAKE_CUDA_ARCHITECTURES to your card: 75 for RTX 20, 86 for RTX 30, 89 for RTX 40, 120 for RTX 50.
Full steps: docs/BUILD-LINUX.md. Windows reads prompts somewhat slower than Linux.
Then point your client at it. OpenCode, Claude Code, Codex CLI and other OpenAI- or Anthropic-compatible clients
work by setting the base URL (docs/CODING_AGENTS.md). Set an API key before you listen on
anything other than 127.0.0.1 (SECURITY.md).
What you need: an NVIDIA RTX 20-50 card and a lot of system RAM, because the part of Qwen3.8-Flash-Next that does not fit on the card stays in RAM. Plan for about 128 GB with the 4-bit files; smaller files and models need less (docs/MODELS.md).
Inkling 2 Mini is a separate engine, strata-inkling: the release zips include it (Linux and Windows, RTX 20 to 50),
or build it with two commands; then a ready-made preset (docs/INKLING.md).
Different hardware? Point an AI coding agent (Claude Code, OpenCode, Codex) at this repository and ask it to tune a config for your cards. The repo is written for that: AGENTS.md, per-card tuning guides in docs/cards/, and everything we tried in docs/TUNING-HISTORY.md. The license allows AI-assisted changes for personal use.
Why Speedy
- 🎯 Finishes real coding tasks. 22 of 24 on a Terminal-Bench 2.1 subset and 24 of 24 on our coding suite, with OpenCode driving the real server (details). A loop breaker notices an agent going in circles and names the next step.
- 🔧 Reliable tool calls. Names are checked against what the client declared and malformed calls are repaired: 24 of 24 well-formed in the release check.
- 🧠 Thinks, then answers. Medium reasoning with a 32K-token budget by default, reminders to wrap up, and room reserved so a reply is not cut off before the answer.
- 🚀 Our own draft head. Fine-tuned for Qwen3.8-Flash-Next and free to download: DevDock-AI/Qwen3.8-Flash-Next-Speedy-MTP (no login needed).
- ⚡ Fast on cards you can afford. Every speed change is adopted only after a back-to-back comparison and a quality check. A follow-up turn in a long conversation is read from cache.
- 📚 Long context. 229K tokens as Qwen3.8-Flash-Next ships, growing to 1M in the same config.
- 🔌 Drop-in API. OpenAI- and Anthropic-compatible, images in chat included.
Every default can be turned off, and a request's own settings always win (docs/SPEEDY_DEFAULTS.md). The benchmark scores are single runs on our own task subset; how to read them is in docs/BENCHMARKS.md.
Ready-made configs
./setup.sh writes a config for your card. If you have one of the cards below you can also start from the exact
configs we measured: one folder per GPU model under configs/cards/, each with a CARD.md
(hardware, build flags, numbers). Paths and GPU IDs are placeholders you fill in
(docs/CONFIG-PLACEHOLDERS.md). Then start the server with it:
ulimit -l unlimited
.venv/bin/python serve/server.py --engine strata --config configs/mine/strata-ud-iq4_xs.json --port 8080
| Folder | Contents |
|---|---|
rtx3080-20gb/1x/ |
one RTX 3080 20 GB: every model file size at 229K and at 1M context |
rtx3080-20gb/2x/ |
RTX 3080 20 GB + RTX 3080 10 GB: UD-Q4_K_XL, UD-IQ4_XS, UD-IQ3_XXS with the current defaults, plus a llama-swap.yaml to switch between them |
rtx3080-10gb/1x/, 2x/ |
one and two RTX 3080 10 GB, plus llama-swap.yaml |
Got a different card? Copy configs/cards/_template/ (how),
or let an AI coding agent tune one for you (docs/cards/). Inkling presets are in configs/inkling/.
AMD builds through Strata's HIP backend (docs/AMD_HIP.md); it compiles in CI but is untested.
Updates
The server checks GitHub for a newer release in the background (anonymous, never installs anything by itself;
STRATA_UPDATE_CHECK=0 turns it off). ./speedy-update shows the release notes, asks, and updates
(Windows: python serve\update.py); --check only reports and --rollback goes back to what ran before.
Documentation
| Document | Contents |
|---|---|
| docs/BUILD-LINUX.md, docs/SOURCE_INSTALL.md | build and install, Linux and Windows |
| docs/SPEEDY_DEFAULTS.md, docs/CONFIGS.md | the built-in defaults and every flag |
| docs/BENCHMARKS.md | full speed tables, coding-agent and quality results, method, noise floor |
| docs/INKLING.md | Inkling 2 Mini: build, presets, numbers, switches |
| docs/MODELS.md | every supported model and file size (DeepSeek V4.1-Flash and Qwen3.6 too) |
| CHANGELOG.md | what changed in each release |
| docs/DETAILS.md | API routes, clients, images, server options |
| docs/MULTI_GPU.md, docs/TUNING-HISTORY.md | using two or more cards; everything tried, adopted and rejected |
| docs/TROUBLESHOOTING.md, docs/upstream/ | when something breaks; Strata's original guides |
Contributing
Results from other GPUs are very welcome, on Windows too: open an issue with the Performance report template. Speed claims need a back-to-back comparison on the same machine, your hardware and a quality check (CONTRIBUTING.md); security issues go privately (SECURITY.md).
License
Speedy Personal & Non-Commercial License v1.0 (LICENSE) for original Speedy contributions: free to run, study, modify and use for personal, non-commercial purposes (AI-assisted changes included); commercial use or public redistribution of modified versions needs written permission. That covers our Inkling changes too. Speedy is built on Strata (MIT, licenses/Strata-MIT.txt); code taken from Strata and other third-party components keeps its own license and notices (NOTICE, licenses/). Model weights are not included and keep their own licenses.
Credits. Built on Strata by Niko1221 and the Strata contributors. Dual-GPU groundwork from Hardin22's Strata-DualGPU. Upstream work carried: lask3802 (#2689/#2690), Stefano Sinden / bitaccesscomau (#4283, #4119), merbanan (#4039), havok2-htwo (#3559), cobra91, chimpera, moses-sun, wannagoxuf, ruibeikaa, Klaus Friedel, Gopi, Jackwwg83 (#4567), Zac Chen / xyzzing (#3919), sergqwer (#2968, #2964), gopinath87607 (#3307, #3309, #3310), G0-0000 (#4226). Ideas: StrataFast, architectds (IMMA attention), Cloudflare Code Mode. Inkling engine: Strata's strata-inkling, Project Maya (two-card hand-off design), tjm8874 (DFlash 2 kernels), Inco AI / z-lab (DFlash 2 drafter). Optional: gpu-unlock (Zagitta). Kernels derived from llama.cpp / ggml. Models: Qwen, Inkling 2 Mini, Unsloth UD quants, ISTA-DASLab GSQ-RCO quants. Benchmarks: IFBench, LiveCodeBench. Full attribution: NOTICE.
If Speedy saved you some GPU money, buy me a coffee ☕
関連プロジェクトを探す
読み込み中…