class_docstr: AWS Inferentia and Trainium accelerators.
class_docstr_tok: ["AWS","Inferentia","and","Trainium","accelerators","."]
code: def get_ec2_instance_accelerator_type(
      instance_type: str, instances: dict
  ) -> Optional[str]:
      from ray.util.accelerators import AWS_NEURON_CORE
  
      return AWS_NEURON_CORE
  
file_path: ray/python/ray/_private/accelerators/neuron.py
imports: import os
  import sys
  import json
  import logging
  import subprocess
  from typing import Optional, List, Tuple
  from ray._private.accelerators.accelerator import AcceleratorManager
label_desc: Use image node_id 9 for calling the NeuronAcceleratorManager obj's underlying member method code with example usage: obj.get_ec2_instance_accelerator_type(instance_type, instances) and returns: AWS_NEURON_CORE