class_docstr: This class contains all the functions needed for supporting
  an accelerator family in Ray.
docstr: Get the type of the accelerator of this family on the current node.
  
  Currently Ray only supports single accelerator type of
  an accelerator family on each node.
  
  The result should only be used when get_current_node_num_accelerators() > 0.
  
  Returns:
      The detected accelerator type of this family: e.g., H100 for Nvidia GPU.
      Return None if it's unknown or the node doesn't have
      accelerators of this family.
docstr_tok: ["Get","the","type","of","the","accelerator","of","this","family","on","the","current","node",".","Currently","Ray","only","supports","single","accelerator","type","of","an","accelerator","family","on","each","node",".","The","result","should","only","be","used","when","get_current_node_num_accelerators","(",")",">","0",".","Returns",":","The","detected","accelerator","type","of","this","family",":","e.g.",",","H100","for","Nvidia","GPU",".","Return","None","if","it","'s","unknown","or","the","node","does","n't","have","accelerators","of","this","family","."]
code: def get_current_node_accelerator_type() -> Optional[str]:
      """Get the type of the accelerator of this family on the current node.
  
      Currently Ray only supports single accelerator type of
      an accelerator family on each node.
  
      The result should only be used when get_current_node_num_accelerators() > 0.
  
      Returns:
          The detected accelerator type of this family: e.g., H100 for Nvidia GPU.
          Return None if it's unknown or the node doesn't have
          accelerators of this family.
      """
  
file_path: ray/python/ray/_private/accelerators/accelerator.py
imports: from abc import ABC, abstractmethod
  from typing import Dict, Optional, List, Tuple
label_desc: Use image node_id 4 for calling the AcceleratorManager obj's underlying member method code with example usage: obj.get_current_node_accelerator_type() without return types