This doc string looks out of date, since this function can't be called with `num_workers` and `worker_id`.