Skip to content

Support Replicate Parallel Operator on CPUs for Realm backend (updated)#1644

Open
elliottslaughter wants to merge 15 commits into
flexflow:masterfrom
elliottslaughter:sm/realm-parallel-operators-replicate
Open

Support Replicate Parallel Operator on CPUs for Realm backend (updated)#1644
elliottslaughter wants to merge 15 commits into
flexflow:masterfrom
elliottslaughter:sm/realm-parallel-operators-replicate

Conversation

@elliottslaughter
Copy link
Copy Markdown
Collaborator

@elliottslaughter elliottslaughter commented May 21, 2026

This is an updated version of #1640 so that I can keep working on Realm changes.


This change is Reviewable

Seema Mirchandaney and others added 15 commits April 9, 2026 15:49
- Add perform_pass_expansion_for_replicate for fwd/bwd pass expansion
- Add perform_shard_expansion_for_replicate and _bwd for shard expansion
- Add build_replicate_invocation in make_dynamic_open_dataflow_graph
- Add is_replicate_attrs helper and guard replicate in copy_insertion
- Add ReplicateAttrs to TrainingOperationAttrs
- Add SumReductionFloat/Double for backward replicate reduce operation
- Add issue_replicate_bwd in spawn_dynamic_node_invocation
- Fix per_device_op_state init race condition with direct write
- Fix .value() calls on optional per_device_op_state across op impls
- Update issue_copy to support optional reduction op
- Add testcase for replicate op
- Add perform_pass_expansion_for_replicate for fwd/bwd pass expansion
- Add perform_shard_expansion_for_replicate and _bwd for shard expansion
- Add build_replicate_invocation in make_dynamic_open_dataflow_graph
- Add is_replicate_attrs helper and guard replicate in copy_insertion
- Add ReplicateAttrs to TrainingOperationAttrs
- Add SumReductionFloat/Double for backward replicate reduce operation
- Add issue_replicate_bwd in spawn_dynamic_node_invocation
- Fix per_device_op_state init race condition with direct write
- Fix .value() calls on optional per_device_op_state across op impls
- Update issue_copy to support optional reduction op
- Add testcase for replicate op
@elliottslaughter elliottslaughter requested a review from lockshaw May 21, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants