-
Notifications
You must be signed in to change notification settings - Fork 607
Use llm_config instead of args in export_llama functions #11162
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
Use llm_config instead of args in export_llama functions #11162
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11162
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 Unrelated FailureAs of commit 9a15088 with merge base c2aa614 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
Pull Request resolved: #11162 @imported-using-ghimport Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/) ghstack-source-id: 288486592
This pull request was exported from Phabricator. Differential Revision: D75484927 |
@@ -89,8 +92,9 @@ def prepare_model(self): | |||
] | |||
parser = build_args_parser() | |||
args = parser.parse_args(args) | |||
llm_config = convert_args_to_llm_config(args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like my comment in previous PR please do LlmConfig.from_args(args)
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
Pull Request resolved: #11162 @imported-using-ghimport Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/) ghstack-source-id: 288794760
This pull request was exported from Phabricator. Differential Revision: D75484927 |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
Pull Request resolved: #11162 @imported-using-ghimport Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/) ghstack-source-id: 288798834
This pull request was exported from Phabricator. Differential Revision: D75484927 |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
Pull Request resolved: #11162 @imported-using-ghimport Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/) ghstack-source-id: 288807822
This pull request was exported from Phabricator. Differential Revision: D75484927 |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
Pull Request resolved: #11162 @imported-using-ghimport Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/) ghstack-source-id: 289208261
This pull request was exported from Phabricator. Differential Revision: D75484927 |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
Pull Request resolved: #11162 @imported-using-ghimport Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/) ghstack-source-id: 289227698
This pull request was exported from Phabricator. Differential Revision: D75484927 |
Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927) [ghstack-poisoned]
Pull Request resolved: #11162 @imported-using-ghimport Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/) ghstack-source-id: 289273387
This pull request was exported from Phabricator. Differential Revision: D75484927 |
27afa9c
into
gh/jackzhxng/14/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #11162 by @jackzhxng ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/jackzhxng/14/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/jackzhxng/14/head Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/jackzhxng/12/orig Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/jackzhxng/14/orig @diff-train-skip-merge --------- Co-authored-by: Jack Zhang <[email protected]>
Pull Request resolved: pytorch/executorch#11162 @imported-using-ghimport Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/) ghstack-source-id: 287798909
Stack from ghstack (oldest at bottom):
Differential Revision: D75484927