code: def test_available_strategies_in_registry():
      expected = {
          "ddp",
          "deepspeed",
          "deepspeed_stage_1",
          "deepspeed_stage_2",
          "deepspeed_stage_2_offload",
          "deepspeed_stage_3",
          "deepspeed_stage_3_offload",
          "deepspeed_stage_3_offload_nvme",
          "ddp_spawn",
          "ddp_fork",
          "ddp_notebook",
          "single_tpu",  # legacy
          "single_xla",
          "xla",
          "xla_fsdp",
          "dp",
          "fsdp",
          "fsdp_cpu_offload",
      }
      assert set(STRATEGY_REGISTRY.available_strategies()) == expected
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_available_strategies_in_registry() without return types