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

Move ReplaceScalarWithTensorArgPass to transforms #8519

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

Erik-Lundell
Copy link
Collaborator

@Erik-Lundell Erik-Lundell commented Feb 17, 2025

The pass is general and can be used by multiple backends. Use it in Arm backend and make small adjustments to make it work.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

The pass is general and can be used by multiple backends.
Use it in Arm backend and make small adjustments to make
it work.

Signed-off-by: Erik Lundell <erik.lundell@arm.com>
Change-Id: I61863d9cefb1753c604d67a6e44845af46ef7c60
@Erik-Lundell Erik-Lundell added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Feb 17, 2025
Copy link

pytorch-bot bot commented Feb 17, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job, 1 Unrelated Failure

As of commit 8fcd2b2 with merge base 5e4d6b6 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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 Feb 17, 2025
@zingo
Copy link
Collaborator

zingo commented Feb 18, 2025

MacOs tests unrelated

@zingo zingo merged commit 14ff52f into pytorch:main Feb 18, 2025
107 of 111 checks passed
return self.get_replacement(op, args, kwargs, meta)


@register_cadence_pass(CadencePassAttribute(opt_level=0))(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

causing a bunch of failures, I should be able to forward fix.

dbort added a commit to dbort/executorch that referenced this pull request Feb 19, 2025
Summary: pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 19, 2025
…ch#8588)

Summary:
Pull Request resolved: pytorch#8588

pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Reviewed By: swolchok

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 20, 2025
…ch#8588)

Summary:
Pull Request resolved: pytorch#8588

pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Reviewed By: swolchok

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 20, 2025
… fix type annotations

Summary:
pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Also fix some type annotations; the Meta-internal type checker seems to be more strict.

Reviewed By: swolchok

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 20, 2025
… fix type annotations (pytorch#8588)

Summary:
Pull Request resolved: pytorch#8588

pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Also fix some type annotations; the Meta-internal type checker seems to be more strict.

Reviewed By: swolchok

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 21, 2025
… fix type annotations (pytorch#8588)

Summary:
Pull Request resolved: pytorch#8588

pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Also fix some type annotations; the Meta-internal type checker seems to be more strict.

Reviewed By: swolchok

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 21, 2025
… fix type annotations (pytorch#8588)

Summary:
Pull Request resolved: pytorch#8588

pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Also fix some type annotations; the Meta-internal type checker seems to be more strict.

Reviewed By: swolchok

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 21, 2025
… fix type annotations (pytorch#8588)

Summary:
Pull Request resolved: pytorch#8588

pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Also fix some type annotations; the Meta-internal type checker seems to be more strict.

Reviewed By: swolchok

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 21, 2025
… fix type annotations (pytorch#8588)

Summary:
Pull Request resolved: pytorch#8588

pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Also fix some type annotations; the Meta-internal type checker seems to be more strict.

Reviewed By: swolchok

Differential Revision: D69883148
dbort added a commit to dbort/executorch that referenced this pull request Feb 21, 2025
… fix type annotations (pytorch#8588)

Summary:
Pull Request resolved: pytorch#8588

pytorch#8519 (D69765463) adds this new module. Update the buck deps to reflect the new dependencies.

Also fix some type annotations; the Meta-internal type checker seems to be more strict.

Reviewed By: swolchok

Differential Revision: D69883148
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. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants