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

skip fusing slice with a strided op if the relevant tensor accessors are already set #799

Closed

Conversation

chenyang78
Copy link
Contributor

Summary:
In some cases, when we fuse a slice op with a strided op (e.g. concat), the
relevant tensor accessors in the strided op's input tensors may have already
be updated. Let's skip fusion in such a case.

Note that technically, we might be able to perform fusion in some senarios,
but let's handle those later if we see needs.

Differential Revision: D47028458

@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 Jun 26, 2023
@facebook-github-bot
Copy link
Contributor

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

…are already set (facebookincubator#799)

Summary:
Pull Request resolved: facebookincubator#799

In some cases, when we fuse a slice op with a strided op (e.g. concat), the
relevant tensor accessors in the strided op's input tensors may have already
be updated. Let's skip fusion in such a case.

Note that technically, we might be able to perform fusion in some senarios,
but let's handle those later if we see needs.

Differential Revision: D47028458

fbshipit-source-id: 5e3eab0531ef539c61c384d9e051bdfb75683948
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5e30494.

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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants