Skip to content

[jit] Added an API to remove list mutations and replace with variadic cat until fixed point#60776

Closed
navahgar wants to merge 7 commits intogh/navahgar/26/basefrom
gh/navahgar/26/head
Closed

[jit] Added an API to remove list mutations and replace with variadic cat until fixed point#60776
navahgar wants to merge 7 commits intogh/navahgar/26/basefrom
gh/navahgar/26/head

Conversation

@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Jun 25, 2021

💊 CI failures summary and remediations

As of commit 1f4ffc0 (more details on the Dr. CI page and at hud.pytorch.org/pr/60776):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


Preview docs built from this PR

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@navahgar
Copy link
Copy Markdown
Contributor Author

@navahgar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@navahgar navahgar requested a review from eellison June 25, 2021 23:11
…th variadic cat until fixed point"

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

[ghstack-poisoned]
@navahgar
Copy link
Copy Markdown
Contributor Author

@navahgar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

…th variadic cat until fixed point"

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

[ghstack-poisoned]
@navahgar
Copy link
Copy Markdown
Contributor Author

navahgar commented Jul 9, 2021

@navahgar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

…th variadic cat until fixed point"

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

[ghstack-poisoned]
@navahgar
Copy link
Copy Markdown
Contributor Author

@navahgar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

return changed;
}

bool RemoveListMutationAndUseVariadicCat(const std::shared_ptr<Graph>& graph) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good but as discussed offline eventually we would like to make this one pass instead of running each back and forth

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure. That requires refactoring some of the code to work on nodes instead of graphs on the whole. Will do that as a follow-up.

…th variadic cat until fixed point"

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

[ghstack-poisoned]
@navahgar
Copy link
Copy Markdown
Contributor Author

@navahgar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

…th variadic cat until fixed point"

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

[ghstack-poisoned]
@navahgar
Copy link
Copy Markdown
Contributor Author

@navahgar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

…th variadic cat until fixed point"

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

[ghstack-poisoned]
@navahgar
Copy link
Copy Markdown
Contributor Author

@navahgar has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@navahgar merged this pull request in 53668f8.

@facebook-github-bot facebook-github-bot deleted the gh/navahgar/26/head branch July 24, 2021 14:17
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 25, 2026
… cat until fixed point (pytorch#60776)

Summary: Pull Request resolved: pytorch#60776

Test Plan: Imported from OSS

Reviewed By: eellison

Differential Revision: D29406099

Pulled By: navahgar

fbshipit-source-id: e2e69eb6ebff3bc6e25d80f46ce118e52f557fb6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants