Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix GPU mapping error for Horovod + finetune (#3048)
When fine-tuning with Horovod, the same error as #2712 is thrown at the place I modified in this PR. It seems `tf.test.is_gpu_available` will try to use all GPUs, but `tf.config.get_visible_devices` won't. --------- Signed-off-by: Jinzhe Zeng <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information