Skip to content

Qualcomm AI Engine Direct - Update mix-precision analyzer unitest#20688

Open
DannyYuyang-quic wants to merge 1 commit into
pytorch:mainfrom
CodeLinaro:dev1/danny/update_quant_analysis_ut
Open

Qualcomm AI Engine Direct - Update mix-precision analyzer unitest#20688
DannyYuyang-quic wants to merge 1 commit into
pytorch:mainfrom
CodeLinaro:dev1/danny/update_quant_analysis_ut

Conversation

@DannyYuyang-quic

Copy link
Copy Markdown
Contributor

Summary

  • Update test_analyzer_to_file_generation to the new
    analyze(decoder_inference, text_dataloader) signature
  • Replace SimpleModel with SimpleLLMDecoder so the SQNR analyzer captures a realistic
    per-layer structure; add it to tests/models.py

Test plan

python -m backends.qualcomm.tests.test_qnn_delegate TestUtilsScript.test_analyzer_to_file_generation --device $DEVICE --soc_model ${soc} --build_folder build-android --executorch_root .

- Update test_analyzer_to_file_generation to the new
  analyze(decoder_inference, text_dataloader) signature
- Replace SimpleModel with SimpleLLMDecoder so the SQNR analyzer captures a realistic
per-layer structure; add it to tests/models.py
@pytorch-bot

pytorch-bot Bot commented Jul 2, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

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 Jul 2, 2026
@DannyYuyang-quic

Copy link
Copy Markdown
Contributor Author

@pytorchbot label "release notes: qualcomm"

@pytorch-bot pytorch-bot Bot added the release notes: qualcomm Changes to the Qualcomm backend delegate label Jul 2, 2026
@DannyYuyang-quic

Copy link
Copy Markdown
Contributor Author

@psiddh Hi, we updated the mix-precision analyzer unit test to use a more realistic LLM-specific example.

Please have a look. Thanks!

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.

1 participant