Skip to content

Conversation

@mergennachin
Copy link
Contributor

@mergennachin mergennachin commented Jan 2, 2025

Summary:

Regular ./install_requirements.sh will install pybind xnnpack by default. It is necessary for Llama for instance.

It is still backwards compatible with './install_requirements.sh --pybind xnnpack'

One can also turn off explicitly by calling './install_requirement.sh --pybind off'

Test Plan:

Test valid options:

./install_requirements.sh
./install_requirements.sh --pybind xnnpack
./install_requirements.sh --pybind coreml
./install_requirements.sh --pybind coreml xnnpack
./install_requirements.sh --pybind off

Invalid options:

./install_requirements.sh xnnpack
./install_requirements.sh --pybind coreml off
./install_requirements.sh --pybind coreml xnnpack off
./install_requirements.sh off

Partially fixes #7460

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 2, 2025

🔗 Helpful Links

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

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

✅ No Failures

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

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

@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 Jan 2, 2025
@mergennachin mergennachin added the release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. label Jan 2, 2025
@mergennachin mergennachin force-pushed the install_xnnpack_by_default branch from a9fd5ce to 683142c Compare January 2, 2025 19:45
@mergennachin mergennachin force-pushed the install_xnnpack_by_default branch from 683142c to f951b54 Compare January 2, 2025 20:07
Summary:

Regular ./install_requirements.sh will install pybind xnnpack by default. It is necessary for Llama for instance.

It is still backwards compatible with './install_requirements.sh --pybind xnnpack'

One can also turn off explicitly by calling './install_requirement.sh --pybind off'

Test Plan:

Test valid options:

./install_requirements.sh
./install_requirements.sh --pybind xnnpack
./install_requirements.sh --pybind coreml
./install_requirements.sh --pybind coreml xnnpack
./install_requirements.sh --pybind off

Invalid options:

./install_requirements.sh xnnpack
./install_requirements.sh --pybind coreml off
./install_requirements.sh --pybind coreml xnnpack off
./install_requirements.sh off
@mergennachin mergennachin force-pushed the install_xnnpack_by_default branch from f951b54 to fe5d231 Compare January 2, 2025 20:18
@facebook-github-bot
Copy link
Contributor

@mergennachin has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@mergennachin mergennachin merged commit 9dc5152 into main Jan 3, 2025
109 checks passed
@mergennachin mergennachin deleted the install_xnnpack_by_default branch January 3, 2025 15:25
Jack-Khuu added a commit to pytorch/torchchat that referenced this pull request Jan 24, 2025
ExecuTorch now has XNN pybinding built by default pytorch/executorch#7473

Previously it was not built by default
Jack-Khuu added a commit to pytorch/torchchat that referenced this pull request Jan 24, 2025
)

ExecuTorch now has XNN pybinding built by default pytorch/executorch#7473

Previously it was not built by default
vmpuri pushed a commit to pytorch/torchchat that referenced this pull request Feb 4, 2025
)

ExecuTorch now has XNN pybinding built by default pytorch/executorch#7473

Previously it was not built by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A simple install command gives everything a user need

4 participants