pytorch / executorch

On-device AI across mobile, embedded and edge for PyTorch
https://pytorch.org/executorch/
Other
2.22k stars 368 forks source link

[Executorch] optimized sigmoid #6932

Closed kirklandsign closed 1 week ago

kirklandsign commented 1 week ago

Pull Request resolved: https://github.com/pytorch/executorch/pull/6522

basically use exp approximation using sleef instead of std::exp ghstack-source-id: 254026289 @exported-using-ghexport

Differential Revision: D64156864

Summary

[PLEASE REMOVE] See CONTRIBUTING.md's Pull Requests for ExecuTorch PR guidelines.

[PLEASE REMOVE] If this PR closes an issue, please add a Fixes #<issue-id> line.

[PLEASE REMOVE] If this PR introduces a fix or feature that should be the upcoming release notes, please add a "Release notes: " label. For a list of available release notes labels, check out CONTRIBUTING.md's Pull Requests.

Test plan

[PLEASE REMOVE] How did you test this PR? Please write down any manual commands you used and note down tests that you have written if applicable.

pytorch-bot[bot] commented 1 week ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6932

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

:heavy_exclamation_mark: 2 Active SEVs

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

:x: 1 New Failure

As of commit 345353580b3872d33a2ff09b039e394886aefae3 with merge base 793a988d4126748364c2593c036e54c6ecc952d1 (image):

NEW FAILURE - The following job has failed:

* [pull / unittest / macos / macos-job](https://hud.pytorch.org/pr/pytorch/executorch/6932#33154665972) ([gh](https://github.com/pytorch/executorch/actions/runs/11898350855/job/33154665972)) `RuntimeError: Command bash /Users/ec2-user/runner/_work/_temp/exec_script failed with exit code 1`

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