class_docstr: Specification of a cluster environment.
class_docstr_tok: ["Specification","of","a","cluster","environment","."]
docstr: Validates settings configured in the script against the environment, and raises an exception if there is an
  inconsistency.
docstr_tok: ["Validates","settings","configured","in","the","script","against","the","environment",",","and","raises","an","exception","if","there","is","an","inconsistency","."]
code: def validate_settings(self, num_devices: int, num_nodes: int) -> None:
      """Validates settings configured in the script against the environment, and raises an exception if there is an
      inconsistency."""
      pass
  
file_path: pytorch-lightning/src/lightning/fabric/plugins/environments/cluster_environment.py
imports: from abc import ABC, abstractmethod
label_desc: Use image node_id 11 for calling the ClusterEnvironment obj's underlying member method code with example usage: obj.validate_settings(num_devices, num_nodes) without return types