Skip to content

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

Merged
merged 23 commits into from
Jun 10, 2025

Conversation

jackzhxng
Copy link
Contributor

@jackzhxng jackzhxng commented May 27, 2025

Copy link

pytorch-bot bot commented May 27, 2025

🔗 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 Failure

As of commit 9a15088 with merge base c2aa614 (image):

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 added a commit that referenced this pull request May 27, 2025
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 27, 2025
@jackzhxng
Copy link
Contributor Author

@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@jackzhxng jackzhxng added the release notes: none Do not include this in the release notes label May 27, 2025
jackzhxng added a commit that referenced this pull request May 27, 2025
@jackzhxng
Copy link
Contributor Author

@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

jackzhxng added a commit that referenced this pull request May 27, 2025
@jackzhxng
Copy link
Contributor Author

@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@jackzhxng jackzhxng requested a review from digantdesai as a code owner May 28, 2025 00:16
jackzhxng added a commit that referenced this pull request May 28, 2025
jackzhxng added a commit that referenced this pull request May 28, 2025
@jackzhxng
Copy link
Contributor Author

@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

jackzhxng added a commit that referenced this pull request Jun 5, 2025
Pull Request resolved: #11162




@imported-using-ghimport

Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/)
ghstack-source-id: 288486592
@facebook-github-bot
Copy link
Contributor

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)
Copy link
Contributor

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)

jackzhxng added a commit that referenced this pull request Jun 6, 2025
Pull Request resolved: #11162




@imported-using-ghimport

Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/)
ghstack-source-id: 288794760
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75484927

jackzhxng added a commit that referenced this pull request Jun 6, 2025
Pull Request resolved: #11162




@imported-using-ghimport

Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/)
ghstack-source-id: 288798834
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75484927

jackzhxng added a commit that referenced this pull request Jun 6, 2025
Pull Request resolved: #11162




@imported-using-ghimport

Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/)
ghstack-source-id: 288807822
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75484927

jackzhxng added a commit that referenced this pull request Jun 9, 2025
Pull Request resolved: #11162




@imported-using-ghimport

Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/)
ghstack-source-id: 289208261
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75484927

jackzhxng added a commit that referenced this pull request Jun 9, 2025
Pull Request resolved: #11162




@imported-using-ghimport

Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/)
ghstack-source-id: 289227698
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75484927

jackzhxng added a commit that referenced this pull request Jun 9, 2025
Pull Request resolved: #11162




@imported-using-ghimport

Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/)
ghstack-source-id: 289273387
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75484927

@facebook-github-bot facebook-github-bot merged commit 27afa9c into gh/jackzhxng/14/base Jun 10, 2025
194 of 200 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/jackzhxng/14/head branch June 10, 2025 03:45
jackzhxng added a commit that referenced this pull request Jun 10, 2025
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]>
kedarnath03 pushed a commit to kedarnath03/executorch that referenced this pull request Jun 25, 2025
Pull Request resolved: pytorch/executorch#11162




@imported-using-ghimport

Differential Revision: [D75484927](https://our.internmc.facebook.com/intern/diff/D75484927/)
ghstack-source-id: 287798909
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[etLLM] New config system to export_llama
3 participants