Skip to content

Add the model_metadata dep to the HF LLM exporter target - #25266

Merged
meta-codesync[bot] merged 1 commit into
pytorch:mainfrom
digantdesai:export-D133093842
Nov 19, 2026
Merged

meta-codesync[bot] merged 1 commit into
pytorch:mainfrom
digantdesai:export-D133093842

Conversation

@digantdesai

Copy link
Copy Markdown
Contributor

Summary:
export_hf_llm_lib now depends on
//executorch/extension/llm/export:model_metadata.

#24944 made export_hf_llm.py import
executorch.extension.llm.export.model_metadata, but the Buck target does not
declare it, so every Buck-built user of the exporter fails at import with
ModuleNotFoundError.

Authored with assistance from Claude and Codex.

Differential Revision: D133093842

Summary:
`export_hf_llm_lib` now depends on
`//executorch/extension/llm/export:model_metadata`.

pytorch#24944 made `export_hf_llm.py` import
`executorch.extension.llm.export.model_metadata`, but the Buck target does not
declare it, so every Buck-built user of the exporter fails at import with
`ModuleNotFoundError`.

Authored with assistance from Claude and Codex.

Differential Revision: D133093842
Copilot AI balanced review requested due to automatic review settings November 19, 2026 02:59
@pytorch-bot

pytorch-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/25266

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 7705232 with merge base 5fb06a3 (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla 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 Nov 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@meta-codesync

meta-codesync Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@digantdesai has exported this pull request. If you are a Meta employee, you can view the originating Diff in D133093842.

@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@meta-codesync
meta-codesync Bot merged commit a7f9663 into pytorch:main Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants