Fix config key in docs for using PyTorch (#8300)

Docs improperly suggest using "torch" when the actual flag is called "use_pytorch"
This commit is contained in:
Jason McGhee
2020-05-11 12:41:21 -07:00
committed by GitHub
parent f97f466cec
commit 24ced808cd
+1 -1
View File
@@ -37,7 +37,7 @@ Then, you can try out training in the following equivalent ways:
from ray.rllib.agents.ppo import PPOTrainer
tune.run(PPOTrainer, config={"env": "CartPole-v0"}) # "log_level": "INFO" for verbose,
# "eager": True for eager execution,
# "torch": True for PyTorch
# "use_pytorch": True for PyTorch
Next, we'll cover three key concepts in RLlib: Policies, Samples, and Trainers.