Skip to content

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