Skip to content

Conversation

@cccclai
Copy link
Contributor

@cccclai cccclai commented Jun 20, 2025

Stack from ghstack (oldest at bottom):

A few changes

  1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
  2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: D77048745

Differential Revision: D77048745

@pytorch-bot
Copy link

pytorch-bot bot commented Jun 20, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure

As of commit e88d5f1 with merge base 413dee4 (image):

NEW FAILURE - The following job has failed:

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

cccclai added a commit that referenced this pull request Jun 20, 2025
Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)

ghstack-source-id: 291737317
Pull Request resolved: #11832
@facebook-github-bot facebook-github-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 Jun 20, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77048745

@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745)

[ghstack-poisoned]
cccclai added a commit that referenced this pull request Jun 22, 2025
Pull Request resolved: #11832

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
ghstack-source-id: 291962443
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77048745

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745)

[ghstack-poisoned]
cccclai added a commit that referenced this pull request Jun 22, 2025
Pull Request resolved: #11832

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future
ghstack-source-id: 291963669

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77048745

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745)

[ghstack-poisoned]
cccclai added a commit that referenced this pull request Jun 22, 2025
Pull Request resolved: #11832

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future
ghstack-source-id: 291965571

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77048745

@cccclai cccclai marked this pull request as ready for review June 22, 2025 22:15
@cccclai
Copy link
Contributor Author

cccclai commented Jun 23, 2025

@haowhsu-quic what do you think about this change? I was thinking provide an easier way (like run backends/qualcomm/scripts/install_qnn_sdk.sh) to help users to set up QNN SDK, such that it's easy for users to finish the pre-requisite, and hopefully it's also easier to bump the qnn version in the future if they're in one file

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745)

[ghstack-poisoned]
cccclai added a commit that referenced this pull request Jul 7, 2025
Pull Request resolved: #11832

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future
ghstack-source-id: 294656897

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77048745

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745)

[ghstack-poisoned]
cccclai added a commit that referenced this pull request Jul 8, 2025
Pull Request resolved: #11832

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future
ghstack-source-id: 294996148

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77048745

@cccclai
Copy link
Contributor Author

cccclai commented Jul 10, 2025

@shewu-quic does it look good now?

Copy link
Collaborator

@shewu-quic shewu-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks your effort.
LGTM.

@@ -0,0 +1,145 @@
#!/bin/bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you like to change the script permission such as 755?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you share what I need to change? This line means it's bash script, should I do something different?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, Sorry for the confusion—I meant this script, not this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, does it mean I need to add instructions in readme to change the permission for this script? Just trying to understand your intention better

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think it would be better for general user :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually maybe let me try not requiring the permission

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the PR without requiring permission

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745)

[ghstack-poisoned]
cccclai added a commit that referenced this pull request Jul 11, 2025
Pull Request resolved: #11832

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future
ghstack-source-id: 295571010

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
@cccclai
Copy link
Contributor Author

cccclai commented Jul 11, 2025

@shewu-quic thanks for reviewing! Addressed the comments.

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745)

[ghstack-poisoned]
cccclai added a commit that referenced this pull request Jul 22, 2025
Pull Request resolved: #11832

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future
ghstack-source-id: 295685450

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77048745

Copy link
Collaborator

@shewu-quic shewu-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. LGTM.

@facebook-github-bot facebook-github-bot merged commit a5ba119 into gh/cccclai/30/base Jul 23, 2025
193 of 195 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/cccclai/30/head branch July 23, 2025 20:41
cccclai added a commit that referenced this pull request Jul 23, 2025
This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: #11832 by
@cccclai
^ Please use this as the source of truth for the PR details, comments,
and reviews
ghstack PR base:
https://github.com/pytorch/executorch/tree/gh/cccclai/30/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/cccclai/30/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/cccclai/30/orig
@diff-train-skip-merge

Co-authored-by: Chen Lai <[email protected]>
Conarnar pushed a commit to Conarnar/executorch that referenced this pull request Jul 25, 2025
This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: pytorch#11832 by
@cccclai
^ Please use this as the source of truth for the PR details, comments,
and reviews
ghstack PR base:
https://github.com/pytorch/executorch/tree/gh/cccclai/30/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/cccclai/30/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/cccclai/30/orig
@diff-train-skip-merge

Co-authored-by: Chen Lai <[email protected]>
kirklandsign pushed a commit that referenced this pull request Sep 2, 2025
Pull Request resolved: #11832

A few changes

1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu
2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future
ghstack-source-id: 295685450

Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/)
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. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants