Skip to content

Add EAGLE-3 end-to-end speculative-decode test#20157

Open
digantdesai wants to merge 3 commits into
gh/digantdesai/61/headfrom
gh/digantdesai/62/head
Open

Add EAGLE-3 end-to-end speculative-decode test#20157
digantdesai wants to merge 3 commits into
gh/digantdesai/61/headfrom
gh/digantdesai/62/head

Conversation

@digantdesai

Copy link
Copy Markdown
Contributor

Tiny matching target + draft on CPU drive the shifted method-flow the runner
implements -- prefill, draft chain, target_verify, accept, reseed -- and the
generated tokens are checked against greedy decoding (lossless by construction).
Forced-acceptance cases pin the partial, full, and accepted-EOS paths plus the
one-token budget; the random-weight loop alone can leave them uncovered.

This covers the decoding algorithm on CPU only; the CUDA/AOTI export (export.py)
and the C++ runner are exercised manually. Registered in pytest.ini next to the
draft/speculator unit tests.

Authored with assistance from Claude Code.

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 2 Active SEVs

There are 2 currently active SEVs. If your PR is affected, please view them below:

❌ You can merge normally! (1 Unrelated Failure), 2 Unclassified Failures

As of commit dc6a8e0 with merge base da9158b (image):

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

[ghstack-poisoned]
[ghstack-poisoned]
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant