Repository navigation
Hotfix: in 1.4.2, Remove object's AI did not work on most phones.
Fixed
- Remove object said its AI "isn't available on this device" on ARM phones with fp16 arithmetic - nearly every phone since 2018. The MobileSAM encoder (fp16) would not create its session: ONNX Runtime 1.28 fuses the model's
Erfarithmetic into an fp16com.microsoft.Geluand then has no fp16 kernel for it (ORT_NOT_IMPLEMENTED). Every session now disablesGeluFusionL1;GeluFusionL2. The x86 emulator never takes that path, which is why the device tests passed.
Verified
On a Xiaomi 15 Ultra (Snapdragon 8 Elite): MobileSAM fails before the fix and runs after it (2.7 s, mask within 1% of the object); U²-Net and MI-GAN pass. The emulator still passes. A unit test now pins the disabled optimizers and their ; separator.
Notes
- Version 1.4.3, versionCode 11. Built with Flutter 3.44.9.
- The Play "What's new" is 1.4.2's with the fixes line widened, since most users are still on 1.3.0 -
whatsnew-1.4.3.txt. - Details:
docs/release/1.4.3.md.
Full changes: v1.4.2...v1.4.3
🤖 Generated with Claude Code