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

Add deduce_jagged_tensor_with_graph_analysis flag for batch dim distinguish #929

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tissue3
Copy link
Contributor

@tissue3 tissue3 commented Sep 14, 2023

Summary:
For vdd, it seems that the jagged tensor batch dim is identical to dense tensor batch dim, which caused issue in bmm kernel, that it cannot handle batch size as large as 2^16.

This fix adds a flag deduce_jagged_tensor_with_graph_analysis so that when it is turnt on, we depend on graph analysis, i.e. try_getting_jagged_tensor_map, to deduce batch dim for jagged tensor. This can be more reliable than deducing based on value.

Differential Revision: D49262422

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Sep 14, 2023
@facebook-github-bot
Copy link
Contributor

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

…nguish (facebookincubator#929)

Summary:

For vdd, it seems that the jagged tensor batch dim is identical to dense tensor batch dim, which caused issue in bmm kernel, that it cannot handle batch size as large as 2^16.

This fix adds a flag `deduce_jagged_tensor_with_graph_analysis` so that when it is turnt on, we depend on graph analysis, i.e. `try_getting_jagged_tensor_map`, to deduce batch dim for jagged tensor. This can be more reliable than deducing based on value.

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

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

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