Skip to content

TCPBuffer #753

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

allenwang28
Copy link
Contributor

Summary:
Adds a TCPBuffer implementation to tensor_engine, as a fallback example for RDMABuffer.

The main change from the original TCP-based buffer is that it uses ZMQ for communications to 1) decouple from Monarch's message passing system and 2) to mimic RDMABuffer's design, and showcase how other backends can be easily added

Differential Revision: D79588454

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 4, 2025
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: pytorch-labs#753

Adds a TCPBuffer implementation to tensor_engine, as a fallback example for RDMABuffer.

The main change from the original TCP-based buffer is that it uses ZMQ for communications to 1) decouple from Monarch's message passing system and 2) to mimic RDMABuffer's design, and showcase how other backends can be easily added

Differential Revision: D79588454
@facebook-github-bot
Copy link
Contributor

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

dulinriley pushed a commit to dulinriley/monarch that referenced this pull request Aug 5, 2025
Summary:
Pull Request resolved: pytorch-labs#644

1.10.1 (March 5th, 2025)
Fixed
Fix memory leak when using to_vec with Bytes::from_owner (#773)
1.10.0 (February 3rd, 2025)
Added
Add feature to support platforms without atomic CAS (pytorch-labs#467)
try_get_* methods for Buf trait (pytorch-labs#753)
Implement Buf::chunks_vectored for Take (pytorch-labs#617)
Implement Buf::chunks_vectored for VecDeque<u8> (pytorch-labs#708)
Fixed
Remove incorrect guarantee for chunks_vectored (pytorch-labs#754)
Ensure that tests pass under panic=abort (pytorch-labs#749)

Reviewed By: cjlongoria

Differential Revision: D78948561

fbshipit-source-id: bb755e25088f9d77f0d5a9ae3027cadc51ea586a
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 Meta Open Source bot. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants