Skip to content

Commit

Permalink
[RLlib] Cleanup examples folder vol. 25: Remove some old API stack ex…
Browse files Browse the repository at this point in the history
…amples. (ray-project#47970)

Signed-off-by: ujjawal-khare <[email protected]>
  • Loading branch information
sven1977 authored and ujjawal-khare committed Oct 15, 2024
1 parent 503d445 commit 84cd15d
Showing 1 changed file with 0 additions and 151 deletions.
151 changes: 0 additions & 151 deletions rllib/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2836,107 +2836,6 @@ py_test(
args = ["--enable-new-api-stack", "--as-test"]
)


#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_local_cpu_torch",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=torch", "--config=local-cpu"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_local_cpu_tf2",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=tf2", "--config=local-cpu"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_local_gpu_torch",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples", "gpu"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=torch", "--config=local-gpu"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_local_gpu_tf2",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples", "gpu", "exclusive"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=tf2", "--config=local-gpu"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_remote_cpu_torch",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=torch", "--config=remote-cpu"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_remote_cpu_tf2",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=tf2", "--config=remote-cpu"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_remote_gpu_torch",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples", "gpu", "exclusive"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=torch", "--config=remote-gpu"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_remote_gpu_tf2",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples", "gpu", "exclusive"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=tf2", "--config=remote-gpu"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_multi_gpu_torch",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples", "multi_gpu", "exclusive"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=torch", "--config=multi-gpu-ddp"]
)

#@OldAPIStack @HybridAPIStack
py_test(
name = "examples/learners/ppo_tuner_multi_gpu_tf2",
main = "examples/learners/ppo_tuner.py",
tags = ["team:rllib", "examples", "multi_gpu", "exclusive"],
size = "medium",
srcs = ["examples/learners/ppo_tuner.py"],
args = ["--framework=tf2", "--config=multi-gpu-ddp"]
)

# subdirectory: multi_agent/
# ....................................
py_test(
Expand Down Expand Up @@ -3256,56 +3155,6 @@ py_test(
args = ["--as-test", "--framework=torch", "--stop-reward=-0.012", "--num-cpus=4"]
)

#@OldAPIStack
py_test(
name = "examples/cartpole_lstm_impala_tf2",
main = "examples/cartpole_lstm.py",
tags = ["team:rllib", "exclusive", "examples"],
size = "medium",
srcs = ["examples/cartpole_lstm.py"],
args = ["--run=IMPALA", "--as-test", "--framework=tf2", "--stop-reward=28", "--num-cpus=4"]
)

#@OldAPIStack
py_test(
name = "examples/cartpole_lstm_impala_torch",
main = "examples/cartpole_lstm.py",
tags = ["team:rllib", "exclusive", "examples"],
size = "medium",
srcs = ["examples/cartpole_lstm.py"],
args = ["--run=IMPALA", "--as-test", "--framework=torch", "--stop-reward=28", "--num-cpus=4"]
)

#@OldAPIStack
py_test(
name = "examples/cartpole_lstm_ppo_tf2",
main = "examples/cartpole_lstm.py",
tags = ["team:rllib", "exclusive", "examples"],
size = "large",
srcs = ["examples/cartpole_lstm.py"],
args = ["--run=PPO", "--as-test", "--framework=tf2", "--stop-reward=28", "--num-cpus=4"]
)

#@OldAPIStack
py_test(
name = "examples/cartpole_lstm_ppo_torch",
main = "examples/cartpole_lstm.py",
tags = ["team:rllib", "exclusive", "examples"],
size = "medium",
srcs = ["examples/cartpole_lstm.py"],
args = ["--run=PPO", "--as-test", "--framework=torch", "--stop-reward=28", "--num-cpus=4"]
)

#@OldAPIStack
py_test(
name = "examples/cartpole_lstm_ppo_torch_with_prev_a_and_r",
main = "examples/cartpole_lstm.py",
tags = ["team:rllib", "exclusive", "examples"],
size = "medium",
srcs = ["examples/cartpole_lstm.py"],
args = ["--run=PPO", "--as-test", "--framework=torch", "--stop-reward=28", "--num-cpus=4", "--use-prev-action", "--use-prev-reward"]
)

#@OldAPIStack
py_test(
name = "examples/centralized_critic_tf",
Expand Down

0 comments on commit 84cd15d

Please sign in to comment.