PR #12848: [XLA:GPU] Add force_update function for conditional commands
PR #12848: [XLA:GPU] Add force_update function for conditional commands

Imported from GitHub PR https://github.com/openxla/xla/pull/12848


Copybara import of the project:

--
9f8daced1e91da4abca328406b8c42cfcc250d20 by Shawn Wang <shawnw@nvidia.com>:

update force_update for conditional commands

--
1ffd8e0f59158bb40ad35f0ed205c48c1287cc18 by Shawn Wang <shawnw@nvidia.com>:

fix

Merging this change closes #12848

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/12848 from shawnwang18:shawnw/fix_nccl_error 1ffd8e0f59158bb40ad35f0ed205c48c1287cc18
