Skip to content

add PT2 support for permute_multi_embedding #2381

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 1 commit into from

Conversation

TroyGarden
Copy link
Contributor

Summary:
It looks like test_pt2 already passed. not sure why the test can't capture the PT2 incompatibility in the op.

graph breaks: P1557581728
https://interncache-all.fbcdn.net/manifold/tlparse_reports/tree/logs/.tmphgx6wM/rank_0/failures_and_restarts.html

Differential Revision: D62226292

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

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

@facebook-github-bot
Copy link
Contributor

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

TroyGarden added a commit to TroyGarden/torchrec that referenced this pull request Sep 11, 2024
Summary:
Pull Request resolved: pytorch#2381

It looks like test_pt2 already passed. not sure why the test can't capture the PT2 incompatibility in the op.

graph breaks: P1557581728
https://interncache-all.fbcdn.net/manifold/tlparse_reports/tree/logs/.tmphgx6wM/rank_0/failures_and_restarts.html

Differential Revision: D62226292
Summary:
Pull Request resolved: pytorch#2381

# context
* make fbgemm operator `permute_multi_embedding` PT2 compatible.
* `out_lengths` is the list of sizes for all the output KT, which should be dynamic dims.
* change the `out_lengths` from `std::vector<int64_t>` to `c10::SymIntArrayRef`, and other type compatibility fixes.

# ref
graph breaks: P1557581728
https://interncache-all.fbcdn.net/manifold/tlparse_reports/tree/logs/.tmphgx6wM/rank_0/failures_and_restarts.html

Reviewed By: IvanKobzarev

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

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

TroyGarden added a commit to TroyGarden/FBGEMM that referenced this pull request Sep 12, 2024
Summary:
X-link: pytorch/torchrec#2381

# context
* make fbgemm operator `permute_multi_embedding` PT2 compatible.
* `out_lengths` is the list of sizes for all the output KT, which should be dynamic dims.
* change the `out_lengths` from `std::vector<int64_t>` to `c10::SymIntArrayRef`, and other type compatibility fixes.

# ref
graph breaks: P1557581728
https://interncache-all.fbcdn.net/manifold/tlparse_reports/tree/logs/.tmphgx6wM/rank_0/failures_and_restarts.html

Reviewed By: IvanKobzarev

Differential Revision: D62226292
facebook-github-bot pushed a commit to pytorch/FBGEMM that referenced this pull request Sep 12, 2024
Summary:
X-link: facebookresearch/FBGEMM#208

Pull Request resolved: #3115

X-link: pytorch/torchrec#2381

# context
* make fbgemm operator `permute_multi_embedding` PT2 compatible.
* `out_lengths` is the list of sizes for all the output KT, which should be dynamic dims.
* change the `out_lengths` from `std::vector<int64_t>` to `c10::SymIntArrayRef`, and other type compatibility fixes.

# ref
* previously
graph breaks: P1557581728
https://interncache-all.fbcdn.net/manifold/tlparse_reports/tree/logs/.tmphgx6wM/rank_0/failures_and_restarts.html
* new
https://interncache-all.fbcdn.net/manifold/tlparse_reports/tree/logs/.tmpxLBHmj/index.html

Reviewed By: IvanKobzarev

Differential Revision: D62226292

fbshipit-source-id: c826309939e0a33190b49a3aa090cbcc7515b20d
q10 pushed a commit to q10/FBGEMM that referenced this pull request Apr 10, 2025
Summary:
Pull Request resolved: facebookresearch/FBGEMM#208

X-link: pytorch#3115

X-link: pytorch/torchrec#2381

# context
* make fbgemm operator `permute_multi_embedding` PT2 compatible.
* `out_lengths` is the list of sizes for all the output KT, which should be dynamic dims.
* change the `out_lengths` from `std::vector<int64_t>` to `c10::SymIntArrayRef`, and other type compatibility fixes.

# ref
* previously
graph breaks: P1557581728
https://interncache-all.fbcdn.net/manifold/tlparse_reports/tree/logs/.tmphgx6wM/rank_0/failures_and_restarts.html
* new
https://interncache-all.fbcdn.net/manifold/tlparse_reports/tree/logs/.tmpxLBHmj/index.html

Reviewed By: IvanKobzarev

Differential Revision: D62226292

fbshipit-source-id: c826309939e0a33190b49a3aa090cbcc7515b20d
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants