mirror of
https://github.com/vale981/ray
synced 2025-03-10 13:26:39 -04:00

This reverts commit e4ceae19ef
.
Reverts #25346
linux://python/ray/tests:test_client_library_integration never fail before this PR.
In the CI of the reverted PR, it also fails (https://buildkite.com/ray-project/ray-builders-pr/builds/34079#01812442-c541-4145-af22-2a012655c128). So high likely it's because of this PR.
And test output failure seems related as well (https://buildkite.com/ray-project/ray-builders-branch/builds/7923#018125c2-4812-4ead-a42f-7fddb344105b)
8 lines
207 B
Python
8 lines
207 B
Python
from ray import tune
|
|
from ray.rllib.agents.ppo import PPOTrainer
|
|
|
|
tune.run(
|
|
PPOTrainer,
|
|
stop={"episode_len_mean": 20},
|
|
config={"env": "CartPole-v0", "framework": "torch", "log_level": "INFO"},
|
|
)
|