Closed
Description
What is the problem?
There is a typo in the source of RolloutWorker's __init__
function: torch.set_determinstic(True)
.
Ray Version: Master Branch
Reproduction (REQUIRED)
Please provide a short code snippet (less than 50 lines if possible) that can be copy-pasted to reproduce the issue. The snippet should have no external library dependencies (i.e., use fake or mock data / environments):
# Grabbed from the documentation, https://docs.ray.io/en/master/rllib-training.html#basic-python-api
import ray
from ray import tune
ray.init()
tune.run(
"PPO",
stop={"episode_reward_mean": 200},
config={
"env": "CartPole-v0",
"num_gpus": 0,
"num_workers": 1,
"framework": "torch",
"seed": 1234,
},
)
If the code snippet cannot be run by itself, the issue will be closed with "needs-repro-script".
- I have verified my script runs in a clean environment and reproduces the issue.
- I have verified the issue also occurs with the latest wheels.
Activity