src/transformers/benchmark/benchmark_args_utils.py/BenchmarkArguments/do_multi_processing
class BenchmarkArguments:    def do_multi_processing(self):
        if not self.multi_process:
            return False
        elif self.is_tpu:
            logger.info("Multiprocessing is currently not possible on TPU.")
            return False
        else:
            return True