π FastFlowLM v0.9.40 - Gemma4 E4B + Reliability Updates
π¦ New Model Support
π Gemma4-IT-E4B
FastFlowLM now supports gemma4-it:e4b for language, vision, audio workloads, including concurrent multimodal input for omni-model use cases.
- Tag:
gemma4-it:e4b
Run in CLI mode:
flm run gemma4-it:e4bRun in server mode:
flm serve gemma4-it:e4bFor more details, see the model card and benchmark results.
β¨ Improvements
π₯ Performance Boosts for gemma4-it:e2b
This release brings meaningful speed improvements to the gemma4-it:e2b model:
- Prefill: up to 11.4% faster
- Decoding: up to 10.2% faster
β‘ Chunk Prefill
This release adds chunk prefill support, significantly reducing memory usage for long prompts and larger workloads.
You can configure the prefill chunk length with --prefill-chunk-len in both CLI and server modes. The default value is 4096.
Run in CLI mode:
flm run gemma4-it:e4b --prefill-chunk-len 8192Run in server mode:
flm serve gemma4-it:e4b --prefill-chunk-len 8192In server mode, you can now cancel a request even while it is still in the prefill stage. No more waiting around for a huge prompt to finish prefill: just hit the stop button in higher-level apps such as Open WebUI and move on.
π Hash Checking
A new hash checking command is now available to help verify downloaded model files.
If you have trouble running a model and suspect a corrupted download, run:
flm check gemma4-it:e4bIf corrupted files are detected, you will see output like this:
[FLM] Checking model: llama3.2:1b...
[FLM] Checking file: config.json...
[FLM] Fail!
[FLM] Removing corrupted file: config.json...
[FLM] Successfully removed config.json!
[FLM] Checking file: model.q4nx...
[FLM] Success!
[FLM] Checking file: tokenizer.json...
[FLM] Success!
[FLM] Checking file: tokenizer_config.json...
[FLM] Success!
[FLM] Model check completed with errors. Please use `flm pull llama3.2:1b` to re-download corrupted files.π Bug Fixes
π οΈ Tool Calling
Fixed an issue where tool calls could return an incorrect finish reason.
Thanks to @antrv for reporting this issue!
βοΈβπ₯ Empty Multimodal Input Handling
Fixed an issue where empty image or audio input in server mode could cause the server to break.
Thanks to @antrv for reporting this issue!
π§ Memory Limits
Fixed a memlock limit issue that could affect loading ASR or embedding models standalone.
Thanks to @sofiageo for reporting this issue!
π Summary
FastFlowLM v0.9.40 expands the Gemma4 lineup with gemma4-it:e4b. This release delivers meaningful speed improvements to gemma4-it:e2b, introduces chunk prefill for more efficient handling of long prompts, adds check command for verifying model files, and improves reliability across tool calling, multimodal input, and memory handling.