class_docstr: Specification of a cluster environment.
class_docstr_tok: ["Specification","of","a","cluster","environment","."]
docstr: The rank (index) of the currently running process across all nodes and devices.
docstr_tok: ["The","rank","(","index",")","of","the","currently","running","process","across","all","nodes","and","devices","."]
code: def global_rank(self) -> int:
      """The rank (index) of the currently running process across all nodes and devices."""
  
file_path: pytorch-lightning/src/lightning/fabric/plugins/environments/cluster_environment.py
imports: from abc import ABC, abstractmethod
label_desc: Use image node_id 7 for calling the ClusterEnvironment obj's underlying member method code with example usage: obj.global_rank() without return types