Skip to content

Use compile-time promotion to reduce bitwise op size & build time #3487

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

Closed
wants to merge 7 commits into from

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented May 2, 2024

Summary: Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548

Copy link

pytorch-bot bot commented May 2, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Unrelated Failure

As of commit 9be3d6d with merge base b0c0e30 (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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 May 2, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

swolchok added a commit to swolchok/executorch that referenced this pull request May 3, 2024
…torch#3487)

Summary:
Pull Request resolved: pytorch#3487

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
@swolchok swolchok force-pushed the export-D56855548 branch from f826372 to 33b61ea Compare May 3, 2024 20:16
@facebook-github-bot
Copy link
Contributor

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

swolchok added a commit to swolchok/executorch that referenced this pull request May 6, 2024
…torch#3487)

Summary:
Pull Request resolved: pytorch#3487

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
@swolchok swolchok force-pushed the export-D56855548 branch from 33b61ea to 3de2b42 Compare May 6, 2024 18:36
@facebook-github-bot
Copy link
Contributor

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

@swolchok swolchok force-pushed the export-D56855548 branch from 3de2b42 to c93d24f Compare May 6, 2024 19:27
swolchok added a commit to swolchok/executorch that referenced this pull request May 6, 2024
…torch#3487)

Summary:
Pull Request resolved: pytorch#3487

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
@swolchok swolchok force-pushed the export-D56855548 branch from c93d24f to 446ed37 Compare May 7, 2024 16:30
@facebook-github-bot
Copy link
Contributor

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

swolchok added a commit to swolchok/executorch that referenced this pull request May 7, 2024
…torch#3487)

Summary:

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
swolchok added a commit to swolchok/executorch that referenced this pull request May 7, 2024
…torch#3487)

Summary:

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
swolchok added a commit to swolchok/executorch that referenced this pull request May 7, 2024
…torch#3487)

Summary:

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
@swolchok swolchok force-pushed the export-D56855548 branch from 446ed37 to 724d09a Compare May 7, 2024 17:14
@facebook-github-bot
Copy link
Contributor

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

swolchok added a commit to swolchok/executorch that referenced this pull request May 7, 2024
…torch#3487)

Summary:

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
swolchok added a commit to swolchok/executorch that referenced this pull request May 7, 2024
…torch#3487)

Summary:

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
swolchok added a commit to swolchok/executorch that referenced this pull request May 7, 2024
…torch#3487)

Summary:

Finally getting close to the end of compile-time promotion for Tensor ops!

Differential Revision: D56855548
swolchok added 5 commits May 8, 2024 11:24
…ch#3459)

Summary:

Yet another smaller pair of ops.

Reviewed By: manuelcandales

Differential Revision: D56807402
…ytorch#3455)

Summary:

Continuing rollout of this technique.

Reviewed By: manuelcandales

Differential Revision: D56827786
…orch#3458)

Summary:

Yet another op that can benefit from compile-time type promotion.

Reviewed By: manuelcandales

Differential Revision: D56831293
…3456)

Summary:

Almost done with Tensor ops that can benefit from compile-time promotion!

Reviewed By: manuelcandales

Differential Revision: D56835200
Summary:

IIUC, these ops need to support Half but don't. Noticed it as a difference from maximum.

Reviewed By: manuelcandales

Differential Revision: D56846242
swolchok added 2 commits May 8, 2024 11:24
Summary:

Noticed this inconsistency with clamp.

Reviewed By: manuelcandales

Differential Revision: D56846313
…torch#3487)

Summary:

Finally getting close to the end of compile-time promotion for Tensor ops!

Reviewed By: manuelcandales

Differential Revision: D56855548
@swolchok swolchok force-pushed the export-D56855548 branch from 724d09a to 1af9010 Compare May 8, 2024 18:25
swolchok added a commit to swolchok/executorch that referenced this pull request May 8, 2024
…torch#3487)

Summary:

Finally getting close to the end of compile-time promotion for Tensor ops!

Reviewed By: manuelcandales

Differential Revision: D56855548
@facebook-github-bot
Copy link
Contributor

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

@swolchok swolchok force-pushed the export-D56855548 branch from 1af9010 to 9be3d6d Compare May 8, 2024 18:25
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8ebe1c9.

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.

3 participants