KEMBAR78
NJT: Return correct number of outputs for chunk() on the batch dim by jbschlosser · Pull Request #141604 · pytorch/pytorch · GitHub
Skip to content

Conversation

@jbschlosser
Copy link
Contributor

@jbschlosser jbschlosser commented Nov 26, 2024

Stack from ghstack (oldest at bottom):

Old logic was completely wrong, returning chunk_size chunks instead of the intended number. The original test didn't catch this because chunk_size == num_chunks :p New OpInfo-based testing covers it though.

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 26, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 6efc45d with merge base efec302 (image):
💚 Looks good so far! There are no failures yet. 💚

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

jbschlosser added a commit that referenced this pull request Nov 26, 2024
@jbschlosser jbschlosser added topic: bug fixes topic category release notes: nested tensor Changes that have a direct impact on nested tensors ciflow/trunk Trigger trunk jobs on your pull request labels Nov 26, 2024
@jbschlosser
Copy link
Contributor Author

@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

pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
…ytorch#141604)

Old logic was completely wrong, returning `chunk_size` chunks instead of the intended number. The original test didn't catch this because `chunk_size == num_chunks` :p New OpInfo-based testing covers it though.
Pull Request resolved: pytorch#141604
Approved by: https://github.com/soulitzer
ghstack dependencies: pytorch#141500, pytorch#140736, pytorch#140161, pytorch#141392, pytorch#141506
@github-actions github-actions bot deleted the gh/jbschlosser/206/head branch December 28, 2024 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: nested tensor Changes that have a direct impact on nested tensors topic: bug fixes topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants