cd /news/ai-tools/streamft-1-0-5-serve-adapters-with-t… · home › topics › ai-tools › article
[ARTICLE · art-178960] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

streamft 1.0.5: serve adapters with the alpha they were trained with

The streamft project released version 1.0.5, fixing a silent adapter-strength bug in which `streamft serve`, `verify` and `verify-server` assumed alpha equaled rank and attention-only targets, causing default adapters trained with LoRA alpha 16 and rank 8 to run at half strength and `--targets all` adapters to silently drop MLP tensors. The fix makes `apply_adapter_state` use the stored alpha and target geometry across serving, verification and merging, and reads `adapter_config.json` even when `--adapter` points at a raw `adapter.pt`. The release also adds OpenAI-style `messages` JSONL support to `--sft`, with malformed rows skipped and counted, and reports 29 passing CPU tests.

key takeaway

Serving a LoRA adapter with alpha assumed equal to rank halves its scaling (1.0 instead of 2.0 for the default r=8/alpha=16), so read alpha and target geometry from adapter_config.json in serve, verify and merge paths.

by read1 min views3 publishedNov 30, 2026

streamft 1.0.5 fixes a silent adapter-strength bug in serving and verification.

1.0.3 fixed streamft merge to read alpha from adapter_config.json and fold MLP LoRA. But streamft serve, streamft verify and streamft verify-server still assumed alpha = rank and attention-only.

A default adapter is trained with --lora_r 8 --lora_alpha 16 (scaling 2.0). Serving it with alpha = rank gives scaling 1.0: the adapter runs at half strength. An --targets all adapter also lost its MLP tensors silently.

apply_adapter_state uses the stored alpha and target geometry for serving, verification and merging.adapter_config.json is read even when --adapter points at a raw adapter.pt.--sft accepts OpenAI-style {"messages": [...]} rows and text-part content. Empty or non-list messages raise a clear error; malformed rows are skipped and counted instead of aborting the run.streamft serve --model ... --adapter checkpoints/my_adapter --port 8000. streamft verify .... messages JSONL, not only Dolly-style rows. 29 CPU tests passed, including alpha/MLP geometry, unknown tensors, sidecar , malformed messages and the SFT drop counter.

pip install --upgrade streamft==1.0.5
streamft doctor

This is a correctness and packaging release, not a speed release. No new GPU benchmark is claimed. The 1.0.3 merge fix is required for adapters trained with a non-default alpha.

── more in #ai-tools 4 stories · sorted by recency
── more on @streamft 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/streamft-1-0-5-serve…] indexed:0 read:1min 2026-11-30 · —