ADFA-2523 build: prevent TFLite model compression in release builds#820
ADFA-2523 build: prevent TFLite model compression in release builds#820hal-eisen-adfa merged 3 commits intostagefrom
Conversation
Ensure .tflite files are stored raw to allow memory mapping by the interpreter.
📝 WalkthroughRelease NotesChanges
ContextThis change addresses an issue where MLKit and TFLite model files were either missing from release APKs or failing to initialize due to compression during the build process. The TensorFlow Lite interpreter requires memory-mapped access to model files, which is not possible with compressed assets. Risks & Best Practices Concerns
WalkthroughAdds multiple file extensions (including Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 300000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…sing from the release APK or failing to initialize due to compression.
Ensure .tflite files are stored raw to allow memory mapping by the interpreter.