skip get_gpus subprocess when TF is cpu only
#2135
Merged
get_gpus subprocess when TF is cpu only
#2135