Skip to content

Add register_tensor/deregister_tensor to public TorchComm API (#2019)#2019

Open
arttianezhu wants to merge 1 commit intometa-pytorch:mainfrom
arttianezhu:export-D100188720
Open

Add register_tensor/deregister_tensor to public TorchComm API (#2019)#2019
arttianezhu wants to merge 1 commit intometa-pytorch:mainfrom
arttianezhu:export-D100188720

Conversation

@arttianezhu
Copy link
Copy Markdown
Contributor

@arttianezhu arttianezhu commented Apr 9, 2026

Summary:

Add virtual methods on TorchCommBackend with defaults unimplemented exceptions.

Add tensor-level register_tensor/deregister_tensor on TorchComm that delegates to the virtual methods.

Bind as register_tensor/deregister_tensor in Python.

ABI version bumped from 1.0 to 1.1 (new virtual methods on base class).

Differential Revision: D100188720

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 9, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Apr 9, 2026

@arttianezhu has exported this pull request. If you are a Meta employee, you can view the originating Diff in D100188720.

@meta-codesync meta-codesync bot changed the title Add register_tensor/deregister_tensor to public TorchComm API Add register_tensor/deregister_tensor to public TorchComm API (#2019) Apr 10, 2026
arttianezhu pushed a commit to arttianezhu/torchcomms that referenced this pull request Apr 10, 2026
…ytorch#2019)

Summary:

Add virtual methods on TorchCommBackend with defaults unimplemented exceptions. 

Add tensor-level register_tensor/deregister_tensor on TorchComm that delegates to the virtual methods.

Bind as register_tensor/deregister_tensor in Python.

ABI version bumped from 1.0 to 1.1 (new virtual methods on base class).

Differential Revision: D100188720
…ytorch#2019)

Summary:
Pull Request resolved: meta-pytorch#2019

Add virtual methods on TorchCommBackend with defaults unimplemented exceptions.

Add tensor-level register_tensor/deregister_tensor on TorchComm that delegates to the virtual methods.

Bind as register_tensor/deregister_tensor in Python.

ABI version bumped from 1.0 to 1.1 (new virtual methods on base class).

Differential Revision: D100188720
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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants