global_rank# RayLightningEnvironment.global_rank() → int[source]# Return this worker’s rank across all workers. Returns: The world rank from the Ray Train context. Return type: int