From dc7e78deb45fbf2289e1f9b1e10ab2e39ba35e30 Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Tue, 4 Feb 2020 10:17:51 -0800 Subject: [PATCH] [rllib] Add -v and --torch flags to first page of docs (#7032) * add verbose doc * torch --- doc/source/rllib.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/source/rllib.rst b/doc/source/rllib.rst index 85ffbabd3..fa9c0cec3 100644 --- a/doc/source/rllib.rst +++ b/doc/source/rllib.rst @@ -25,13 +25,17 @@ Then, you can try out training in the following equivalent ways: .. code-block:: bash - rllib train --run=PPO --env=CartPole-v0 # --eager [--trace] for eager execution + rllib train --run=PPO --env=CartPole-v0 # -v [-vv] for verbose, + # --eager [--trace] for eager execution, + # --torch to use PyTorch .. code-block:: python from ray import tune from ray.rllib.agents.ppo import PPOTrainer - tune.run(PPOTrainer, config={"env": "CartPole-v0"}) # "eager": True for eager execution + tune.run(PPOTrainer, config={"env": "CartPole-v0"}) # "log_level": "INFO" for verbose, + # "eager": True for eager execution, + # "torch": True for PyTorch Next, we'll cover three key concepts in RLlib: Policies, Samples, and Trainers.