Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized atan2, _softmax, cat, clamp, full, relu, remainder, permute_copy_out ops and updates to use memory_allocator #7567

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

cad-audio
Copy link
Contributor

Summary

Optimized atan2, _softmax, cat, clamp, full, relu, remainder, permute_copy_out ops and updates to use memory_allocator

Test plan

Unit tested kernels

dijopaul and others added 17 commits October 23, 2024 06:51
Adding mean and where ops optimized on HiFi
* adding pow, remainder, minimum, maximum operators

* adding pow, remainder, minimum, maximum operators
Adding quantized linear optimized versions for int8 and uint8
* Adding cat, full, permute_copy and relu ops (pytorch#34)

* Adding cat, full, permute_copy

* updating relu wrt new ref (pytorch#36)

* Temporary memory allocation, replacing mallocs (pytorch#38)

* Integrated temporary mem alloc functionality in place of malloc

* Namespace related changes

* Cleanup the main application

* Adding atan2, softmax, clamp and remainder ops (pytorch#37)

* Replaced malloc with temp_memory_allocator

---------

Co-authored-by: nishpoonia <94543206+nishpoonia@users.noreply.github.com>
Co-authored-by: Rushi-cad <gherderu@cadence.com>
* adding ET_KERNEL_CHECK for allocate_temp_memory

* solving lint error

* Removing redundant check
Adding _softmax, relu, permute etc
Copy link

pytorch-bot bot commented Jan 9, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit fe5e7d7 with merge base 1bac885 (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 9, 2025
@dijopaul
Copy link
Collaborator

dijopaul commented Jan 9, 2025

@pytorchbot label "topic: not user facing"

dijopaul and others added 2 commits January 9, 2025 13:57
- fixing build issue on previous commit
Update functions_hifi.yaml
@hsharma35 hsharma35 self-requested a review January 9, 2025 17:07
nishpoonia and others added 3 commits January 10, 2025 12:01
Incorporating review comments: removing nesting to check data type an…
@kimishpatel kimishpatel added the module: cadence Issues related to the Cadence/Xtensa backend label Jan 14, 2025
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. module: cadence Issues related to the Cadence/Xtensa backend topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants