Skip to content

distributed/serialization: support zero sized tensors#164198

Closed
d4l3k wants to merge 1 commit intomainfrom
d4l3k/serialize_zero
Closed

distributed/serialization: support zero sized tensors#164198
d4l3k wants to merge 1 commit intomainfrom
d4l3k/serialize_zero

Conversation

@d4l3k
Copy link
Member

@d4l3k d4l3k commented Sep 30, 2025

Fixes

[4] ValueError: both buffer length (0) and count (-1) must not be 0

Test plan:

pytest test/distributed/test_serialization.py

cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @pragupta @msaroufim @dcci

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 30, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit e073065 with merge base 604da4b (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Sep 30, 2025
Copy link
Member

@amirafzali amirafzali left a comment

Choose a reason for hiding this comment

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

thanks for the quick fix!

@d4l3k d4l3k added the topic: not user facing topic category label Sep 30, 2025
@d4l3k
Copy link
Member Author

d4l3k commented Sep 30, 2025

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 30, 2025
@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

@d4l3k d4l3k deleted the d4l3k/serialize_zero branch September 30, 2025 08:55
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 oncall: distributed Add this issue/PR to distributed oncall triage queue topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants