class_docstr: Accelerator for Metal Apple Silicon GPU devices.
  
  .. warning::  Use of this accelerator beyond import and instantiation is experimental.
class_docstr_tok: ["Accelerator","for","Metal","Apple","Silicon","GPU","devices",".","..","warning",":",":","Use","of","this","accelerator","beyond","import","and","instantiation","is","experimental","."]
code: def register_accelerators(
      cls, accelerator_registry: _AcceleratorRegistry
  ) -> None:
      accelerator_registry.register(
          "mps",
          cls,
          description=cls.__name__,
      )
  
file_path: pytorch-lightning/src/lightning/fabric/accelerators/mps.py
imports: import platform
  from functools import lru_cache
  from typing import List, Optional, Union
  import torch
  from typing_extensions import override
  from lightning.fabric.accelerators.accelerator import Accelerator
  from lightning.fabric.accelerators.registry import _AcceleratorRegistry
label_desc: Use image node_id 7 for calling the MPSAccelerator obj's underlying member method code with example usage: obj.register_accelerators(cls, accelerator_registry) without return types