Skip to content

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

Draft
digantdesai wants to merge 1 commit into
gh/digantdesai/61/headfrom
gh/digantdesai/62/head
Draft

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

⏳ No Failures, 2 Pending

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

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

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