chore: add support for lfm-2.5 instruct model#822
Merged
msluszniak merged 5 commits intomainfrom Feb 25, 2026
Merged
Conversation
Contributor
|
Code looks good. I've played a bit with the models. Both work good, inference feels fast and responses make sense. Great addition! |
benITo47
approved these changes
Feb 25, 2026
barhanc
pushed a commit
that referenced
this pull request
Feb 25, 2026
Adds support for fm-2.5 instruct model. - [ ] Yes - [x] No - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [x] Other (chores, tests, code style improvements etc.) - [x] iOS - [x] Android Run llm example app with model changed from `LLAMA3_2_1B_SPINQUANT` to both `LFM2_5_1_2B_INSTRUCT` and `LFM2_5_1_2B_INSTRUCT_QUANTIZED`. Also check that Hugging Face page for the model is correct and contains every needed information: https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-1.2B-instruct. <!-- Add screenshots here, if applicable --> Closes #812 - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] My changes generate no new warnings <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds support for fm-2.5 instruct model.
Introduces a breaking change?
Type of change
Tested on
Testing instructions
Run llm example app with model changed from
LLAMA3_2_1B_SPINQUANTto bothLFM2_5_1_2B_INSTRUCTandLFM2_5_1_2B_INSTRUCT_QUANTIZED. Also check that Hugging Face page for the model is correct and contains every needed information: https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-1.2B-instruct.Screenshots
Related issues
Closes #812
Checklist
Additional notes