KEMBAR78
[Reland] horizontal concat fusion by mlazos · Pull Request #111437 · pytorch/pytorch · GitHub
Skip to content

Conversation

mlazos
Copy link
Contributor

@mlazos mlazos commented Oct 17, 2023

@mlazos mlazos requested review from jansel and yanboliang October 17, 2023 22:35
@pytorch-bot pytorch-bot bot added the release notes: foreach_frontend release notes category label Oct 17, 2023
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 17, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/111437

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (4 Unrelated Failures)

As of commit f94a6e5 with merge base 2dc1726 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

BROKEN TRUNK - The following jobs failed but was present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@mlazos
Copy link
Contributor Author

mlazos commented Oct 18, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Comment on lines +3085 to +3093
if (
input_unwrapped.is_input_buffer()
and inputs[i].get_device().type == "cuda"
and not is_dynamic(input_buffer)
):
buffer_names.append(input_buffer.get_name())

if len(buffer_names) > 1:
V.graph.register_list(buffer_names)
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @mlazos, with this code we'll only launch a single concat kernel instead of [num-operand] concat kernels, correct?

@github-actions github-actions bot deleted the mlazos/concat2 branch April 20, 2025 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants