Skip to content

Conversation

@ydwu4
Copy link
Contributor

@ydwu4 ydwu4 commented Jan 10, 2024

Summary:
X-link: pytorch/executorch#1580

This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode map, where we want to get rid of the num_mapped scalar.

Test Plan: Existing tests.

Differential Revision: D52495413

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 10, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit db4dd26 with merge base 21d3708 (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
Copy link
Contributor

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

@github-actions
Copy link
Contributor

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 10, 2024
@facebook-github-bot
Copy link
Contributor

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

ydwu4 added a commit to ydwu4/executorch-1 that referenced this pull request Jan 11, 2024
Summary:
X-link: pytorch/pytorch#117161


This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode cond, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

Differential Revision: D52495413
ydwu4 added a commit to ydwu4/executorch-1 that referenced this pull request Jan 11, 2024
Summary:
X-link: pytorch/pytorch#117161


This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode cond, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

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

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

@facebook-github-bot
Copy link
Contributor

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

ydwu4 added a commit to ydwu4/executorch-1 that referenced this pull request Jan 11, 2024
Summary:
X-link: pytorch/pytorch#117161


This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode cond, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

Differential Revision: D52495413
ydwu4 added a commit to ydwu4/executorch-1 that referenced this pull request Jan 11, 2024
Summary:
X-link: pytorch/pytorch#117161


This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode cond, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

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

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

@facebook-github-bot
Copy link
Contributor

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

ydwu4 added a commit to ydwu4/executorch-1 that referenced this pull request Jan 11, 2024
Summary:
X-link: pytorch/pytorch#117161


This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode map, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

Differential Revision: D52495413
ydwu4 added a commit to ydwu4/executorch-1 that referenced this pull request Jan 11, 2024
Summary:
X-link: pytorch/pytorch#117161


This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode map, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

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

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

Summary:

X-link: pytorch/executorch#1580

This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode map, where we want to get rid of the num_mapped scalar.

Test Plan: Existing tests.

Reviewed By: angelayi

Differential Revision: D52495413
ydwu4 added a commit to ydwu4/executorch-1 that referenced this pull request Jan 12, 2024
Summary:
X-link: pytorch/pytorch#117161


This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode map, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

Differential Revision: D52495413
ydwu4 added a commit to ydwu4/executorch-1 that referenced this pull request Jan 12, 2024
Summary:
X-link: pytorch/pytorch#117161


This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode map, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

facebook-github-bot pushed a commit to pytorch/executorch that referenced this pull request Jan 13, 2024
Summary:
X-link: pytorch/pytorch#117161

Pull Request resolved: #1580

This PR changes the schema of map_impl from map_impl(f, num_mapped, *operands) to map_impl(f, mapped_args: Tuple, moperands: Tuple). This is to prepare for turning on dynamo for eager mode map, where we want to get rid of the num_mapped scalar.

Reviewed By: angelayi

Differential Revision: D52495413

fbshipit-source-id: 3f99074d3ab4a8badae3cc72e7422482837e255a
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge -f 'Landed internally'

(Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally)

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorch-bot bot pushed a commit that referenced this pull request Oct 28, 2024
pytorch-bot bot pushed a commit that referenced this pull request Nov 5, 2024
pytorchmergebot pushed a commit to robert-hardwick/pytorch that referenced this pull request Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants