code: def _get_supported_strategies() -> List[str]:
      """Returns strategy choices from the registry, with the ones removed that are incompatible to be launched from the
      CLI or ones that require further configuration by the user."""
      available_strategies = STRATEGY_REGISTRY.available_strategies()
      excluded = r".*(spawn|fork|notebook|xla|tpu|offload).*"
      return [
          strategy
          for strategy in available_strategies
          if not re.match(excluded, strategy)
      ]
  
file_path: pytorch-lightning/src/lightning/fabric/cli.py
imports: import logging
  import os
  import re
  from argparse import Namespace
  from typing import Any, List, Optional
  from lightning_utilities.core.imports import RequirementCache
  from typing_extensions import get_args
  from lightning.fabric.accelerators import CPUAccelerator, CUDAAccelerator, MPSAccelerator
  from lightning.fabric.plugins.precision.precision import _PRECISION_INPUT_STR, _PRECISION_INPUT_STR_ALIAS
  from lightning.fabric.strategies import STRATEGY_REGISTRY
  from lightning.fabric.utilities.device_parser import _parse_gpu_ids
  from lightning.fabric.utilities.distributed import _suggested_max_num_threads
label_desc: Use image node_id 1 for calling a global function with example usage: _get_supported_strategies() and returns: unknown