ray.util.accelerators.tpu.get_num_tpu_chips_on_node#

ray.util.accelerators.tpu.get_num_tpu_chips_on_node() int[source]#

Return the number of TPU chips on the node. :returns: The total number of chips on the TPU node. Returns 0 if none are found.