Skip to content

Rename CE helper and host worker queue - #4281

Open
enginarslan1 wants to merge 1 commit into
meta-pytorch:mainfrom
enginarslan1:export-D122595108
Open

enginarslan1 wants to merge 1 commit into
meta-pytorch:mainfrom
enginarslan1:export-D122595108

Conversation

@enginarslan1

@enginarslan1 enginarslan1 commented Sep 30, 2026 •

Copy link
Copy Markdown

Summary:
Frees up the HostCollectiveEngine name for the class that actually drives host-side collective execution.

  • comms/mccl/prims/HostCollectiveEngine becomes CEOperator. It is a thin, stateless wrapper over Copy-Engine copies and CUDA stream memory ops -- an operator on the Copy Engine, not an engine in its own right -- and the old name overstated its role.
  • comms/mccl/collectives/HostWorkerQueue becomes HostCollectiveEngine. This is the FIFO worker thread that runs a collective's host sequence off the caller's thread, which is the component the name belongs to.

Pure rename: no behavior, signature, or ownership changes. Files, test suite names, and the host-driven AllGather design note move with the classes.

Differential Revision: D122595108

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 30, 2026
@meta-codesync

meta-codesync Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

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

Summary:
Frees up the `HostCollectiveEngine` name for the class that actually drives host-side collective execution.

- `comms/mccl/prims/HostCollectiveEngine` becomes `CEOperator`. It is a thin, stateless wrapper over Copy-Engine copies and CUDA stream memory ops -- an operator on the Copy Engine, not an engine in its own right -- and the old name overstated its role.
- `comms/mccl/collectives/HostWorkerQueue` becomes `HostCollectiveEngine`. This is the FIFO worker thread that runs a collective's host sequence off the caller's thread, which is the component the name belongs to.

Pure rename: no behavior, signature, or ownership changes. Files, test suite names, and the host-driven AllGather design note move with the classes.

Differential Revision: D122595108

This branch has not been deployed

No deployments
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. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant