-
Notifications
You must be signed in to change notification settings - Fork 607
Convert args to LlmConfig #11081
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
Convert args to LlmConfig #11081
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11081
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit c5b956c with merge base c2aa614 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
[ghstack-poisoned]
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was exported from Phabricator. Differential Revision: D75263990 |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75263990 |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75263990 |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75263990 |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75263990 |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75263990 |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75263990 |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75263990 |
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75263990 |
a2413d4
into
gh/jackzhxng/12/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #11081 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/12/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/jackzhxng/12/head Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/jackzhxng/11/orig Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/jackzhxng/12/orig @diff-train-skip-merge --------- Co-authored-by: Jack Zhang <[email protected]>
""" | ||
To support legacy purposes, this function converts CLI args from | ||
argparse to an LlmConfig, which is used by the LLM export process. | ||
""" | ||
llm_config = LlmConfig() | ||
|
||
# TODO: conversion code. | ||
# BaseConfig |
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.
we should definitely vet what of those original args are worth keeping
ghstack-source-id: 88021d9 Pull Request resolved: pytorch/executorch#11081
ghstack-source-id: c8ffa7f Pull Request resolved: pytorch/executorch#11081
Pull Request resolved: pytorch/executorch#11081 @imported-using-ghimport Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990/) ghstack-source-id: 287798913
Stack from ghstack (oldest at bottom):
Differential Revision: D75263990