docstr: Test whether AlphaStar can be built with all frameworks.
code: def test_alpha_star_compilation(self):
      """Test whether AlphaStar can be built with all frameworks."""
      config = (
          AlphaStarConfig()
          .environment(env="connect_four")
          .training(
              gamma=1.0,
              model={"fcnet_hiddens": [256, 256, 256]},
              vf_loss_coeff=0.01,
              entropy_coeff=0.004,
              league_builder_config={
                  "win_rate_threshold_for_new_snapshot": 0.8,
                  "num_random_policies": 2,
                  "num_learning_league_exploiters": 1,
                  "num_learning_main_exploiters": 1,
              },
              grad_clip=10.0,
              replay_buffer_capacity=10,
              replay_buffer_replay_ratio=0.0,
              use_kl_loss=True,
          )
          .rollouts(num_rollout_workers=1, num_envs_per_worker=5)
          .resources(num_gpus=2, _fake_gpus=True)
      )
  
      num_iterations = 2
  
      for _ in framework_iterator(config, with_eager_tracing=True):
          config.policies = None
          algo = config.build()
          for i in range(num_iterations):
              results = algo.train()
              print(results)
              check_train_results(results)
          check_compute_single_action(algo)
          algo.stop()
  
file_path: ray/rllib_contrib/alpha_star/tests/test_alpha_star.py
imports: import unittest
  from rllib_alpha_star.alpha_star import AlphaStarConfig
  import ray
  from ray.rllib.env.utils import try_import_open_spiel, try_import_pyspiel
  from ray.rllib.env.wrappers.open_spiel import OpenSpielEnv
  from ray.rllib.utils.test_utils import check_compute_single_action, check_train_results, framework_iterator
  from ray.tune import register_env
label_desc: Use image node_id 3 for calling the TestAlphaStar obj's underlying member method code with example usage: obj.test_alpha_star_compilation() without return types