Skip to content

Add missing model_metadata dep to export_hf_llm_lib (fwd fix for D132916921) - #25283

Closed
psiddh wants to merge 1 commit into
pytorch:mainfrom
psiddh:export-D133112215
Closed

psiddh wants to merge 1 commit into
pytorch:mainfrom
psiddh:export-D133112215

Conversation

@psiddh

@psiddh psiddh commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Summary:
D132916921 (#24944) made export_hf_llm.py import executorch.extension.llm.export.model_metadata but did not add //executorch/extension/llm/export:model_metadata to export_hf_llm_lib. Every test that imports the library fails at import with ModuleNotFoundError, and TPX reports that as "binary exited with a non-zero exit code" for test_cross_engine, test_export_hf_llm and test_verify_samples.

Add the dep in both the fbcode and xplat copies of the BUCK file.

Differential Revision: D133112215

…D132916921)

Summary:
D132916921 (pytorch#24944) made `export_hf_llm.py` import `executorch.extension.llm.export.model_metadata` but did not add `//executorch/extension/llm/export:model_metadata` to `export_hf_llm_lib`. Every test that imports the library fails at import with `ModuleNotFoundError`, and TPX reports that as "binary exited with a non-zero exit code" for `test_cross_engine`, `test_export_hf_llm` and `test_verify_samples`.

Add the dep in both the fbcode and xplat copies of the BUCK file.

Differential Revision: D133112215
Copilot AI balanced review requested due to automatic review settings November 19, 2026 07:33
@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/25283

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

⏳ No Failures, 9 Pending

As of commit ad1ca98 with merge base 6b82a16 (image):
💚 Looks good so far! There are no failures yet. 💚

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

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

@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.

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.

2 participants