Skip to content

Conversation

@copybara-service
Copy link

Tidy up the parser checks for AsyncStart/Update/Done.

Previously, we check that AsyncUpdate/Done have a single operand with a shape that conforms to the shape of AsyncStart, and the single operand is an Asynchronous op. This is now replaced by ensuring that AsyncUpdate/Done have a single operand which is an AsyncStart/Update.

Previously, we check that AsyncUpdate has a result shape that conforms to the shape of AsyncStart. This is now replaced by ensuring that the AsyncUpdate operand and result have the same shape, like the HloVerifier does.

Previously, we check that AsyncUpdate/Done have a single operand with a shape that conforms to the shape of AsyncStart, and the single operand is an Asynchronous op. This is now replaced by ensuring that AsyncUpdate/Done have a single operand which is an AsyncStart/Update.

Previously, we check that AsyncUpdate has a result shape that conforms to the shape of AsyncStart. This is now replaced by ensuring that the AsyncUpdate operand and result have the same shape, like the HloVerifier does.

PiperOrigin-RevId: 840775528
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