Skip to content

[ET][native] Bundle LLM prefill and decode samples from export_hf_llm - #24174

Open
digantdesai wants to merge 5 commits into
gh/digantdesai/180/basefrom
gh/digantdesai/180/head
Open

digantdesai wants to merge 5 commits into
gh/digantdesai/180/basefrom
gh/digantdesai/180/head

Conversation

@digantdesai

@digantdesai digantdesai commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

export_hf_llm --samples N adds a golden set to forward: per
prompt, a prefill and 4 decode calls, each decode fed the previous eager
argmax. Tolerance is (1e-3, 1e-3) for float and (2.0, 5e-2) for quantized
weights, where engines quantize activations differently from torchao.

Authored with Claude Code.

Differential Revision: D125544388

@pytorch-bot

pytorch-bot Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 069da81 with merge base 4db778e (image):
💚 Looks good so far! There are no failures yet. 💚

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

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

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

Review automatically exported from Phabricator review in Meta.

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]

This branch was previously deployed

1 inactive deployment
cadence — 069da81b Deployed Oct 28, 2026 by digantdesai via hifi-op-test / hifi4 #34997
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