-
Notifications
You must be signed in to change notification settings - Fork 684
Fix internal tests for LiquidAI LFM2 #13916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13916
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 PendingAs of commit 2111b34 with merge base 8607c89 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D81491136 |
This pull request was exported from Phabricator. Differential Revision: D81491136 |
Summary: Pull Request resolved: pytorch#13916 Fix internal tests for diff external diff generated by pytorch#13805 for adding LiquidAI's LFM2 model to ExecuTorch. Reviewed By: mergennachin Differential Revision: D81491136
b828089
to
06ce2bc
Compare
This pull request was exported from Phabricator. Differential Revision: D81491136 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D81491136 |
Summary: Add support for [LiquidAI LFM2](https://huggingface.co/collections/LiquidAI/lfm2-686d721927015b2ad73eaa38) model family. For more information about models, please read [the blog post](https://www.liquid.ai/blog/liquid-foundation-models-v2-our-second-series-of-generative-ai-models). - Support hybrid LFM2-350M, LFM2-700M, and LFM2-1.2B models. - Add `ShortConvBlock`. - Modify `construct_transformer` to construct hybrid architectures. - Move FeedForward to avoid cyclid dependency Instructions are in `examples/models/lfm2/README.md`. Pull Request resolved: pytorch#13805 Test Plan: All commands in `README.md` are tests. ``` ❯ python -m examples.models.llama.runner.native \ --model lfm2_700m \ --pte lfm2_700m_8da4w.pte \ --tokenizer ~/.cache/huggingface/hub/models--LiquidAI--LFM2-700M/snapshots/ab260293733f05dd4ce22399bea1cae2cf9b272d/tokenizer.json \ --tokenizer_config ~/.cache/huggingface/hub/models--LiquidAI--LFM2-700M/snapshots/ab260293733f05dd4ce22399bea1cae2cf9b272d/tokenizer_config.json \ --prompt "<|startoftext|><|im_start|>user\nWho are you?<|im_end|>\n<|im_start|>assistant\n" \ --params examples/models/lfm2/config/lfm2_700m_config.json \ --max_len 128 \ -kv \ --temperature 0.3 ... I'm an AI designed to assist with generating text based on the prompts you provide. I'm a type of language model, but I don't have a physical form or consciousness. I operate based on complex algorithms and vast amounts of training data. How can I help you today? If you have a specific question or need assistance with something, feel free to ask! ... ``` Differential Revision: D81593776 Pulled By: jackzhxng
Summary: Pull Request resolved: pytorch#13916 Fix internal tests for diff external diff generated by pytorch#13805 for adding LiquidAI's LFM2 model to ExecuTorch. Reviewed By: mergennachin Differential Revision: D81491136
06ce2bc
to
ad9ea34
Compare
This pull request was exported from Phabricator. Differential Revision: D81491136 |
Summary: Fix internal tests for diff external diff generated by #13805 for adding LiquidAI's LFM2 model to ExecuTorch.
Reviewed By: mergennachin
Differential Revision: D81491136