Skip to content

Conversation

haowhsu-quic
Copy link
Collaborator

Summary

  • add lookahead decode to speed up prompt calibration
  • sliding attention lookahead support

Test plan

python examples/qualcomm/oss_scripts/llama/llama.py --decoder_model gemma3-1b -b build-android/ -m SM8750 -s 5f396958 --prompt "Could you tell me about Facebook?" --max_seq_len 1024 --kv_updater smart_mask --prefill_ar_len 16 --model_mode lookahead --compile_only --tasks wikitext --limit 1 --model_mode lookahead --window 4 --ngram 3 --gcap 4

- add lookahead decode to speed up prompt calibration
- sliding attention lookahead support
Copy link

pytorch-bot bot commented Sep 18, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit d71a2a5 with merge base c9f46e2 (image):

NEW FAILURE - The following job has failed:

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 Sep 18, 2025
@haowhsu-quic
Copy link
Collaborator Author

@pytorchbot label "release notes: qualcomm"

@pytorch-bot pytorch-bot bot added the release notes: qualcomm Changes to the Qualcomm backend delegate label Sep 18, 2025
@haowhsu-quic
Copy link
Collaborator Author

Hi @cccclai, this PR might not need to be in 1.0 release but #14411 will be required. Thank you.

@facebook-github-bot
Copy link
Contributor

@cccclai has imported this pull request. If you are a Meta employee, you can view this in D83071531.

@cccclai cccclai merged commit b3f3111 into pytorch:main Sep 24, 2025
129 of 132 checks passed
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. release notes: qualcomm Changes to the Qualcomm backend delegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants