Skip to content
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

#sdy add sdy::NamedComputationOp in/out shardings and make it adhere to ShardableDataFlowOpInterface, and add op result data flow op interface methods. #119

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

#sdy add sdy::NamedComputationOp in/out shardings and make it adhere to ShardableDataFlowOpInterface, and add op result data flow op interface methods.

This means Shardy can now add/sink dataflow edges to and propagate through sdy::NamedComputation ops.

The added methods match the equivalent ShardableDataFlowOpInterface on block arguments. This makes the interface more complete, polishes up the utility functions, but will also be important when we make ManualComputationOp adhere to the ShardableDataFlowOpInterface as it will be overriding these new methods (it needs to set/get the shardings from the registered out_shardings op argument.

…e to `ShardableDataFlowOpInterface`, and add op result data flow op interface methods.

This means Shardy can now add/sink dataflow edges to and propagate through `sdy::NamedComputation` ops.

The added methods match the equivalent `ShardableDataFlowOpInterface` on block arguments. This makes the interface more complete, polishes up the utility functions, but will also be important when we make `ManualComputationOp` adhere to the `ShardableDataFlowOpInterface` as it will be overriding these new methods (it needs to set/get the shardings from the registered `out_shardings` op argument.

PiperOrigin-RevId: 679155557
@copybara-service copybara-service bot closed this Oct 3, 2024
@copybara-service copybara-service bot deleted the test_679155557 branch October 3, 2024 12:32
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.

1 participant