community
community copied to clipboard
RFC: API to synchronize devices
| Status | Proposed |
|---|---|
| RFC # | 434 |
| Author(s) | Reed Wanderman-Milne ([email protected]), Jonathan Dekhtiar ([email protected]) |
| Sponsor | Rohan Jain ([email protected]) |
| Updated | 2022-10-25 |
Objective
This document proposes a simple API to synchronize TensorFlow devices: tf.test.sync_devices(). This is important in accurately measuring execution time in TensorFlow GPU benchmarks, especially in microbenchmarks.
/CC @DEKHTIARJonathan @rohan100jain
cc: @Jianhui-Li, @jzhoulon, @yiqianglee, @kulinseth, @wchao1115, and @PatriceVignola for PluggableDevices.
LGTM, thanks
@reedwm can you please link the commit that adds the feature or the PR/CL here ?
Thanks