Skip to content

Qualcomm AI Engine Direct - Tag multimodal encoder quantized I/O as uint16 - #22924

Merged
psiddh merged 1 commit into
pytorch:mainfrom
CodeLinaro:dev1/danny/remove_tag_quant_io_workaround
Oct 27, 2026
Merged

psiddh merged 1 commit into
pytorch:mainfrom
CodeLinaro:dev1/danny/remove_tag_quant_io_workaround

Conversation

@DannyYuyang-quic

@DannyYuyang-quic DannyYuyang-quic commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to: #20805
Remove the FP32 tagging workaround for multimodal encoder quantized I/O and tag it as uint16 instead.

Test plan

python examples/qualcomm/oss_scripts/llama/llama.py --build_folder build-android --device ${SERIAL_NUM} --soc_model ${SOC_MODEL} --decoder_model granite_speech_3_3-2b --model_mode hybrid --prefill_ar_len 128 --max_seq_len 1024 --prompt "can you transcribe the speech into a written format?" --audio_path "https://huggingface.co/ibm-granite/granite-speech-3.3-2b/resolve/main/10226_10111_000000.wav?download=true" --calib_samples examples/qualcomm/oss_scripts/llama/assets/samples/audio.json

cc: @psiddh @shewu-quic

@pytorch-bot

pytorch-bot Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit a495628 with merge base 3a4f0b5 (image):

NEW FAILURES - The following jobs have failed:

  • Build documentation / build (buck2) / Build doc (gh)
    Could not load credentials from any providers
  • Cadence Build & Test / Resolve CI docker image / resolve (gh)
    ##[error]Refusing to check out fork pull request code from a 'pull_request_target' workflow. This workflow runs with the base repository's GITHUB_TOKEN, secrets, default-branch cache scope, and runner access. Fetching and executing a fork's code in that trusted context commonly leads to "pwn request" vulnerabilities. To opt in, review the risks at https://gh.io/securely-using-pull_request_target and set 'allow-unsafe-pr-checkout: true' on the actions/checkout step.

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, 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 Sep 18, 2026
@psiddh
psiddh merged commit e683360 into pytorch:main Oct 27, 2026
239 of 245 checks passed
Erik-Lundell pushed a commit to Erik-Lundell/executorch that referenced this pull request Oct 28, 2026
…int16 (pytorch#22924)

### Summary
Follow-up to: pytorch#20805
Remove the FP32 tagging workaround for multimodal encoder quantized I/O
and tag it as uint16 instead.

### Test plan
``` bash
python examples/qualcomm/oss_scripts/llama/llama.py --build_folder build-android --device ${SERIAL_NUM} --soc_model ${SOC_MODEL} --decoder_model granite_speech_3_3-2b --model_mode hybrid --prefill_ar_len 128 --max_seq_len 1024 --prompt "can you transcribe the speech into a written format?" --audio_path "https://huggingface.co/ibm-granite/granite-speech-3.3-2b/resolve/main/10226_10111_000000.wav?download=true" --calib_samples examples/qualcomm/oss_scripts/llama/assets/samples/audio.json
```

cc: @psiddh @shewu-quic
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.

2 participants