Repository navigation
๐ FastFlowLM v1.0.14 โ Inkling-2-Mini, Hy-MT3, R2T2 Streaming ASR, GPU Without an NPU & Faster Qwen3.8
LatestThis release does five things:
- New NPU models.
inkling-2:miniis a 26B MoE vision model with tool calling.hy-mt3-flash:1.8btranslates between 102 languages.r2t2:1.7bis a streaming speech-to-text model for 30 languages. - GPU backend updates (preview). Three new
oga-hipepmodels: Laguna 2.1 (33B and 118B) and Nemotron 3.5 Lightning. On Windows, GPU models now run on machines without an NPU. Gemma 3 and Gemma 4 GPU models accept images, and multiple chats stay warm on the GPU. - Faster models.
qwen3.8-mtp:27bandqwen3.8-dflash2:27bnow speculate on every request, so normal chat settings decode about 1.8ร faster.d3:edgeis up to 1.6ร faster, and SmolVLA is about 1.7โ1.8ร faster. - Smarter server.
GET /v1/modelsnow reports what each model can do. Agents'developerand latersystemmessages now reach the model. Qwen3.5 honourschat_template_kwargs.enable_thinking. - Safer by default. The server log no longer shows what users send or what the model answers. Model downloads now verify TLS certificates.
โ ๏ธ Before You Upgrade
/v1/embeddingsneeds-eagain. In v1.0.13 any embedding request loaded the embedding model on demand. Now embeddings work only when the server starts with-e, or with an embedding model as the main model. Otherwise the request gets HTTP 400.flm serve qwen3:8b -e 1 # default embedding model flm serve qwen3:8b -e embed-gemma:300m # a specific embedding model
embed-gemma:300mtakestaskandtitleinsideinput. Top-leveltaskandtitleare no longer passed to the model. A plain string input uses the default task (query).{"model": "embed-gemma:300m", "input": {"text": "Paris is in France.", "title": "France", "task": "document"}, "dimensions": 768}- The server log no longer shows request or reply text. Each request is logged as one summary line with its top-level settings only. The
Model RAW Output:dump is off.FLM_LOG_CONTENT=1brings back request text, replies and ASR transcripts.FLM_LOG_RAW_OUTPUT=1brings back only theModel RAW Output:dump and ASR transcripts. Scripts that parse that dump need one of these.- The same switches apply to
flm run.
- Model downloads now verify TLS certificates. In v1.0.13, verification was off for most downloads.
- Behind a corporate proxy that inspects HTTPS, install the proxy's root certificate in Windows.
- If that is not possible,
FLM_INSECURE_DOWNLOAD=1turns verification off (with a warning). Model files are still checked against their SHA-256 hashes.
- A JSON Schema
patternnow matches anywhere in the string. This follows the JSON Schema spec and applies to tool parameters andresponse_formaton every model.- An unanchored
"\\d{5}"now means "contains five digits", not "is exactly five digits". - Use
^...$to match the whole string.
- An unanchored
- Embedding model extensions (
--model-extension) built for v1.0.13 must be updated and rebuilt.load()now takes a load-context struct, andembed()receivestask/titleinsideinput. - GPU backend (preview) changes:
- Text-only GPU models (
qwen2.5-it-oga-hipep:14b,qwen2.5-coder-it-oga-hipep:14b,gpt-oss-oga-hipep:120b) now answer image requests with HTTP 400. Before, they ignored the images. - On
qwen3.5-oga-hipep:9bandqwen2.5-it-oga-hipep:14b, parallel tool results with a missing, duplicate or unknowntool_call_idnow get HTTP 400. - Keeping several chats warm uses up to 4 GB more GPU memory by default. On machines with 32 GB or less, use
--prefix-slots 2or--prefix-cache-mb 2048. - Qwen3.5/3.6/3.8 GPU prompts with several images are now slower, in exchange for reading them much better (see below).
- Text-only GPU models (
๐ New Models
๐ Hy-MT3 1.8B: hy-mt3-flash:1.8b
tencent/Hy-MT3-1.8B is a dedicated translation model for 102 languages.
- Text to text. No thinking, no tool calling.
- Single-turn: every request starts fresh. No conversation history is kept.
- Follows terminology, style and structured-data instructions.
- Uses the same NPU engine as Hy-MT2, so it runs at the same speed.
- Context: 8k.
- Download: about 1.8 GB.
- Speed on Strix Point (Ryzen AI 9 370):
- Decode: 42.3 tok/s at 1k, 33.8 tok/s at 8k.
- Prefill: 1,636 tok/s at 1k, 1,120 tok/s at 8k.
- Recommended prompt:
Translate the following text into {TARGET_LANG}. Note that you should only output the translated result without any additional explanation: {TEXT}- In server mode you can pin this instruction as the system prompt.
- NPU2 (XDNA2) only.
flm run hy-mt3-flash:1.8b
flm serve hy-mt3-flash:1.8b๐ Hy-MT3 ยท Hy-MT3 benchmarks
๐๏ธ Confucius4-R2T2: r2t2:1.7b
netease-youdao/Confucius4-R2T2 is a streaming speech-to-text model, fine-tuned from Qwen3-ASR-1.7B. It never edits text it has already written.
- 30 languages, best at Chinese and English.
- 2B parameters: a 0.3B audio encoder and a 1.7B decoder. The audio encoder, prompt processing and decoding all run on the NPU.
- Reads wav, flac, mp3 and ogg, at any sample rate.
- Audio of any length. Long recordings are cut into pieces of about a minute at quiet moments.
- Download: about 3.9 GB.
- Speed on Ryzen AI 9 HX 370: about 0.11ร real time.
- A 68 s recording takes about 8 s. A 410 s recording takes about 46 s.
- Encoding the audio and the prompt takes 0.13โ0.25 s for clips up to 20 s. Decoding runs at about 38 tok/s.
- Memory: about 3.6 GB after the first request, up to about 4.5 GB on long recordings.
- NPU2 (XDNA2) only.
CLI. Load an audio file with /input. Text after the file name is used as context or hot words.
flm run r2t2:1.7b
/input "path\to\audio.wav"Server. Use /v1/audio/transcriptions, for a whole file or streamed.
flm serve r2t2:1.7b
curl http://localhost:52625/v1/audio/transcriptions -F file=@audio.wav -F model=r2t2:1.7b
curl http://localhost:52625/v1/audio/transcriptions -F file=@audio.wav -F model=r2t2:1.7b -F stream=trueresponse_format:json,text,verbose_json,srtorvtt.language: a name or ISO 639-1 code. Leave it empty to detect the language.prompt: context or hot words.- Streaming sends text as server-sent events. Text never changes once sent.
chunk_size_mssets the chunk size (80โ2000, default 1000).- Every chunk size from 160 ms up keeps up with live speech (0.88ร real time at 160 ms, 0.37ร at 480 ms).
As the server's speech model (-a). R2T2 can sit next to a chat model, so a transcription never swaps out the loaded LLM.
flm serve -a r2t2:1.7b # speech-to-text only
flm serve qwen3:0.6b -a r2t2:1.7b # chat model and R2T2 side by side- With
-a r2t2:1.7b, every transcription request goes to R2T2, whatevermodelit names. qwen3:0.6bwith R2T2 uses about 8.0 GB of memory after the first request.flm run -astill accepts Whisper only. Useflm servefor R2T2.
- Whole audio files only. Live microphone streaming is not exposed yet.
srt,vttandverbose_jsoncarry one segment for the whole file. No word timestamps.- The model is under the NetEase Youdao Model Use License Agreement. Very large organizations need a separate license.
๐ R2T2 ยท R2T2 benchmarks
๐๏ธ Inkling-2-Mini: inkling-2:mini
thinkingmachines/Inkling-2-Mini is a Mixture-of-Experts vision model: 26.4B parameters, 3.4B active per token. Prefill, decode and the vision encoder all run on the NPU.
- Takes text and images. Audio is not supported.
- Supports tool calling.
- Always thinks before it answers. In server mode,
reasoning_effortsets how long:none,minimal,low,medium,high(default),xhigh,max, or a number from 0 to 0.99.think: falseselectsnone, which still thinks briefly. Leave room for the reasoning inmax_tokens.
- Images are not resized. Every 40ร40 pixel cell is one image token, up to 4,096 tokens (2560ร2560 pixels) per image. Larger images are scaled down to fit.
- A 640ร480 photo is 192 tokens and is encoded in about 0.3 s.
- Context: 64k by default.
- Download: about 17.3 GB.
- Speed on Strix Halo (Ryzen AI MAX+ PRO 395):
- Decode: 11.6 tok/s at 1k, 8.3 tok/s at 32k.
- Prefill: 742 tok/s at 1k, about 1,000 tok/s from 2k to 32k.
flm run inkling-2:mini
flm serve inkling-2:mini๐ Inkling ยท Inkling benchmarks
๐ฎ New GPU Models (Preview): Laguna 2.1 and Nemotron 3.5 Lightning
Three new models for the oga-hipep GPU backend (preview, Windows).
| Tag | Model | Download | Default context |
|---|---|---|---|
laguna2.1-oga-hipep:33b-a3b |
Laguna-XS-2.1 | 18.2 GB | 2k |
nemotron3.5-lightning-oga-hipep:30b-a3b |
Nemotron 3.5 Lightning | 17.8 GB | 32k |
laguna2.1-oga-hipep:118b-a8b |
Laguna-S-2.1 | 62.2 GB | 2k |
- All three are text only. Image requests get HTTP 400.
- All three support tool calling and reasoning. Thinking can be turned on and off.
flm run laguna2.1-oga-hipep:33b-a3b
flm serve nemotron3.5-lightning-oga-hipep:30b-a3b- Laguna uses a 2k default context because its GPU memory grows with each new reply length.
- On a Radeon 8060S with 96 GB:
33b-a3bloads at about 17 GiB and reaches about 34 GiB at 2k tokens.118b-a8bloads at about 58 GiB and reaches about 78 GiB at 2k tokens. 3k tokens does not fit.
- This memory is freed only when flm exits.
- Running out of GPU memory slows things down and can end in a GPU reset. Then restart flm. Raise
--ctx-lenwith care.
๐ CLI: backends
๐ฎ GPU Backend Updates (Preview)
No NPU needed on Windows
- In v1.0.13, GPU models needed a machine that also had an NPU. Now
-oga-hipepmodels list, run and serve on a compatible AMD GPU without one. - The NPU is opened only when an NPU model or sidecar needs it.
- On a machine without an NPU, asking for an NPU model returns "No NPU device available". The loaded GPU model and its chat cache stay.
/api/psand/v1/modelsnow report each model's backend and device.
Images on Gemma GPU models
gemma3-oga-hipep:4bnow accepts images. Each image is resized to 896ร896 (256 tokens).- A text follow-up after an image reuses the cache (about 1.7 s to the first token on a Radeon 8060S).
gemma4-it-oga-hipep:12bandgemma4-it-oga-hipep:26b-a4bnow accept images, up to 280 tokens each.- Every Gemma 4 request with an image re-processes the whole conversation.
- Audio still gets HTTP 400.
Several chats stay warm
- In v1.0.13, two chats taking turns (or an agent and its sub-agent) replayed each other's whole history.
- FLM now keeps up to 4 conversations warm on the GPU and sends each request to the best match.
qwen3.5-oga-hipep:9b, a 5.3k-token turn between two chats: 8.1 s โ 0.40 s to the first token.- Sending the same prompt again processes no prompt tokens.
--prefix-slots Nsets the number of chats (default 4, max 32, 0 = one, as before).--prefix-cache-mbsets the memory budget for the extra chats (default 4096 MiB).- On machines with 32 GB or less, use
--prefix-slots 2or--prefix-cache-mb 2048.
Qwen3.5/3.6/3.8 images
- The first image request after loading no longer runs a 5โ7 s warm-up.
qwen3.5-oga-hipep:9b: 6.7 s โ about 2 s to the first token.
- Each image is now sized on its own, as on the NPU, instead of sharing one budget across the prompt. Small text in multi-image prompts is read much better.
โ ๏ธ Prompts with several images take longer. Eight 1280ร720 screenshots: about 3.5 s โ 14 s to the first token.- Images are resized to at most
--img-pre-resizeheight (720 by default).
- A prompt whose images alone exceed the context gets an early HTTP 400 that names the images and their token count.
Faster
- Prompt processing is faster and per-token overhead is lower. FLM no longer fetches results it does not use.
qwen2.5-it-oga-hipep:14bandqwen2.5-coder-it-oga-hipep:14breuse the cache when you retry or regenerate the same prompt.- A 1,649-token retry: 2.8 s โ 0.36 s.
โจ Improvements
๐ Faster Models
Qwen3.8 MTP and DFlash2 (qwen3.8-mtp:27b, qwen3.8-dflash2:27b)
- In v1.0.13, these models only speculated on greedy requests (
temperature: 0ortop_k: 1). Normal chat settings decoded one token at a time. - Now every request speculates. Drafts are checked with standard speculative sampling.
temperature,top_k,top_p, penalties andseedall apply.- The output follows the same distribution as plain sampling.
- Speed on Strix Point (Ryzen AI 9 HX 370), 256 tokens:
qwen3.8-mtp:27b, temperature 0.7: 1.26 โ 2.30 tok/s.qwen3.8-dflash2:27b, temperature 0.7: 1.26 โ 2.49 tok/s.- JSON replies with
response_format: 1.25 โ 5.3โ6.9 tok/s. - Tool calls: 1.3 โ 6.6โ6.9 tok/s.
- Higher temperatures accept fewer drafts, so they run closer to normal speed.
- Nothing to set.
FLM_DISABLE_SPECULATION=1turns speculation off. - Greedy requests: send
presence_penalty: 0for output identical to plain greedy decoding. - A greedy request with
ignore_eosormin_tokensstill decodes one token at a time.
Decision model (d3:edge)
- 1.1โ1.6ร faster end to end (most on short prompts). Prefill uses a faster kernel, and short prompts and images run attention on the CPU.
- From 512 tokens, attention runs on the NPU without switching kernels, which saves a further ~17% at 1k tokens and ~8% at 2k.
- Request time over HTTP, v1.0.13 โ v1.0.14:
- 128 tokens: 62 โ 41 ms.
- 4,096 tokens: 967 โ 710 ms.
- 32,767 tokens: 17.1 โ 15.2 s.
- 16 questions ร 330 tokens: 1,058 โ 670 ms.
- A 1,024ร768 image: 0.60 โ 0.50 s.
- 8 questions about one image: 2.0 โ 1.5 s.
- No re-download needed.
SmolVLA (lerobot/smolvla_base)
- Much faster on XDNA2. Time per inference on Strix Point (Ryzen AI 9 370):
- 1 image: 311 โ 186 ms.
- 2 images: 380 โ 216 ms.
- 3 images: 449 โ 254 ms.
- 100 runs in a row with 3 images, no hangs.
๐ Decision 3.0 ยท d3 benchmarks ยท SmolVLA benchmarks
๐ ๏ธ Server and CLI
GET /v1/modelsreports what each model can do. Each entry keeps its fields and adds:capabilities:completion,tools,vision,audio,thinking,embedding.context_length:--ctx-lenif set, otherwise the model's default.architecture: input and output types (text, image, audio).supported_parameters:tools,tool_choice,reasoning.- Clients with a custom endpoint (VS Code, pi, Cline) can copy tool, image, thinking and context settings from it. A new docs page shows how.
- Agent
developerand latersystemmessages reach the model. Agents such as pi and OpenClaw send these on/v1/chat/completions.- Before, Qwen3 silently dropped a
developermessage, and Qwen3.5 returned HTTP 500. - Now a
developermessage is treated as a system message. - A later
systemmessage stays in place. If the model's template refuses it, it is sent as a user turn wrapped in<system-reminder>.
- Before, Qwen3 silently dropped a
chat_template_kwargs.enable_thinkingworks on Qwen3.5. It means the same asthink. Before, it was accepted but ignored.- Applies to
qwen3.5:*on the NPU and the Qwen3.5/3.6/3.8 GPU models (preview). - A non-boolean value, or one that contradicts
thinkorreasoning_effort, gets HTTP 400.
- Applies to
- Embeddings:
- An embedding tag sent to a chat route gets HTTP 400. The loaded chat model stays.
- A cancelled embedding request gets HTTP 499.
/loadinflm runrefuses embedding tags without ending the session.
- Gemma 4 and LFM2 tool calls respect
minLengthandmaxLengthon string parameters. - Downloads behind a proxy. On Windows, the system certificate store is used. A refused certificate prints one clear error with what to do.
๐ Model capabilities ยท Reasoning and tools ยท Server log ยท EmbeddingGemma
๐งฐ For Developers: FLM Dev Kit
- The repository now includes
flm-dev-kit/, the source behind FastFlowLM's NPU support, under the MIT License. - You can build the NPU engine libraries, the NPU kernels and the Q4NX weight converter yourself.
- Building needs x86-64 Linux with an AVX-512 CPU (tested on Ubuntu 24.04).
- A model's weights, kernels and engine library must match. A mismatch gives wrong output or a hang, not an error.
๐ Bug Fixes
Server
- JSON Schema
patternno longer cuts tool arguments short. A "not blank" pattern such as\Sused to allow only one character. Every free-text tool argument came back as one character, which made agents loop. response_formatschemas now get the same handling as tool schemas.
Models
- Large images and long document pages no longer fail. They used to run out of memory on the NPU vision models below. This affects XRT and HRX.
qwen3.6-moe,qwen3.5(0.8b/2b/4b/9b),qwen3vl-it,qwen3vl-flashandd3.- A 16k-patch image now needs 3.5 MiB of control code instead of 73.6 MiB.
qwen3.6-moe:35b-a3balso prefills 8โ18% faster on HRX.
gemma4-it:12bno longer gives an empty reply after a tool result with thinking off.- SmolVLA no longer gives wrong actions when inputs change between calls. Changing the number of images or the prompt length in one process could give a wrong action chunk or a device timeout. Results now match a fresh process.
GPU (preview)
qwen2.5-it-oga-hipep:14bnow sees the tools in a request. Before, it never called tools on its own. Now it calls them when needed.- Parallel tool results reach the right call. On
qwen3.5-oga-hipep:9bandqwen2.5-it-oga-hipep:14b, results sent back out of order could reach the model under the wrong call. FLM now matches each result to its call ID. gemma4-it-oga-hipep:12btool calls work. In v1.0.13 a tool call followed by its result failed on this model.
๐ Community Contributions
Thank you to our contributors:
- @LeoBorcherding made
qwen3.8-mtpandqwen3.8-dflash2speculate on every request with speculative sampling (#1045).
๐ Summary
| Highlight | |
|---|---|
| ๐๏ธ | New model: inkling-2:mini (26B MoE vision, 3.4B active, tool calling; needs 64 GB RAM) |
| ๐ | New model: hy-mt3-flash:1.8b (translation, 102 languages) |
| ๐๏ธ | New model: r2t2:1.7b (streaming speech-to-text, 30 languages; works with -a) |
| ๐ฎ | GPU backend (preview): Laguna 2.1 and Nemotron 3.5 Lightning, no NPU needed on Windows, Gemma images, 4 warm chats |
| ๐ | ~1.8ร faster sampled decode on Qwen3.8 MTP/DFlash2; up to 1.6ร faster d3:edge; ~1.7โ1.8ร faster SmolVLA |
| ๐ ๏ธ | /v1/models capabilities, developer/system messages, enable_thinking on Qwen3.5 |
| ๐ | No user text in the log by default, TLS-verified downloads |
| ๐งฐ | Open-source FLM Dev Kit (MIT) |
/v1/embeddings needs -e; JSON Schema pattern matches anywhere; check proxy certificates |
Thanks for your support โ see you in the next one! ๐