You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TF2 - Improve ShardingPass handling of after-all tokens
Summary:
Updating handling of `after-all` instructions so they explicitly get given default sharding and are not considered for copying to users. This does 2 things, it stops infeeds/outfeeds using the sharding of their after-all input and it stops `ProcessComputation` using an after-all instruction as a means of kick-starting the sharding process when it can no longer make progress - an after-all doesn't help propagate sharding information since its consumers get their sharding from elsewhere, so the next ProcessComputation call still doesn't make any progress. By using an after-all to kick start things we potentially cause a tuple instruction to be prematurely given default sharding.
TF2.5 Only
TF1 - D64932
Test Plan: CI + new tests
Reviewers: #tensorflow, #framework_ip_review_-_any_oss_or_third-party_code_use_has_been_approved, samuelh, vladimirm
Reviewed By: #tensorflow, #framework_ip_review_-_any_oss_or_third-party_code_use_has_been_approved, samuelh, vladimirm
Subscribers: vladimirm, samuelh
Maniphest Tasks: T59245
Differential Revision: https://phabricator.sourcevertex.net/D64354
0 commit comments