mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 16:14:06 +08:00
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user