Repository navigation
streamft 1.0.3
streamft 1.0.3 - merge honours adapter geometry
Status: published to PyPI as streamft 1.0.3 on 2026-11-29.
Two merge bugs found while folding a QLoRA adapter trained with --targets all
into Qwen2.5-1.5B.
What changed
streamft mergenow readsadapter_config.jsonand folds with the stored
alpha. Before, it assumedalpha = rank, which silently rescaled every
adapter trained with a different alpha (for exampler=8, alpha=16).streamft mergenow folds MLP LoRA tensors as well as attention, so
adapters trained with--targets allmerge correctly instead of raising
unexpectedtensor errors.- Added
adapter_geometryandmerge_state_into_modelhelpers. - Added
tests/test_merge_geometry.py: alpha parsing, MLP folding with a
non-unit scaling, and an attention-only adapter that must not touch the MLP.
Install
pip install streamft==1.0.3Verification
tests/test_merge_geometry.py: 3 passed.- Wheel built and published to PyPI (https://pypi.org/project/streamft/1.0.3/).
- End-to-end use: merged an 18.46M-parameter, rank-16, attn+MLP adapter into
Qwen2.5-1.5B-Instruct and produced a 3.16 GB fp16 checkpoint.