Skip to content

Conversation

@manuelcandales
Copy link
Contributor

@manuelcandales manuelcandales commented Oct 8, 2024

Stack from ghstack (oldest at bottom):

This introduces unitensor and bitensor equivalents to the tritensor template introduced by @swolchok.
They are applied to add.Scalar_out and add.out respectively, reducing op_add's build size.
The unitensor template is applied to clamp.Scalar_out, reducing op_clamp's build size further.

Build size reduction:

  • add: 484K -> 21K
  • clamp: 119K -> 28K

Differential Revision: D63838076

…ents

This introduces unitensor and bitensor equivalents to the tritensor template introduced by @swolchok.
They are applied to add.Scalar_out and add.out respectively, reducing op_add's build size.
The unitensor template is applied to clamp.Scalar_out, reducing op_clamp's build size further.

Build size reduction:
- add: 484K -> 21K
- clamp: 119K -> 28K

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

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 8, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 9ee67e0 with merge base cb12061 (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 Oct 8, 2024
@facebook-github-bot
Copy link
Contributor

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

…sor equivalents"

This introduces unitensor and bitensor equivalents to the tritensor template introduced by swolchok.
They are applied to add.Scalar_out and add.out respectively, reducing op_add's build size.
The unitensor template is applied to clamp.Scalar_out, reducing op_clamp's build size further.

Build size reduction:
- add: 484K -> 21K
- clamp: 119K -> 28K

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

…sor equivalents"

This introduces unitensor and bitensor equivalents to the tritensor template introduced by swolchok.
They are applied to add.Scalar_out and add.out respectively, reducing op_add's build size.
The unitensor template is applied to clamp.Scalar_out, reducing op_clamp's build size further.

Build size reduction:
- add: 484K -> 21K
- clamp: 119K -> 28K

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

…sor equivalents"

This introduces unitensor and bitensor equivalents to the tritensor template introduced by swolchok.
They are applied to add.Scalar_out and add.out respectively, reducing op_add's build size.
The unitensor template is applied to clamp.Scalar_out, reducing op_clamp's build size further.

Build size reduction:
- add: 484K -> 21K
- clamp: 119K -> 28K

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

…sor equivalents"

This introduces unitensor and bitensor equivalents to the tritensor template introduced by swolchok.
They are applied to add.Scalar_out and add.out respectively, reducing op_add's build size.
The unitensor template is applied to clamp.Scalar_out, reducing op_clamp's build size further.

Build size reduction:
- add: 484K -> 21K
- clamp: 119K -> 28K

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 4153371.

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 Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants