Skip to content

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

Draft
digantdesai wants to merge 2 commits into
gh/digantdesai/61/headfrom
gh/digantdesai/62/head
Draft

Add EAGLE-3 end-to-end speculative-decode test#20157
digantdesai wants to merge 2 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.

❌ 3 New Failures, 1 Cancelled Job, 2 Unrelated Failures, 2 Unclassified Failures

As of commit 163323d with merge base dc55469 (image):

NEW FAILURES - The following jobs have failed:

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:

CANCELLED JOB - The following job was cancelled. Please retry:

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.

[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