Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cherrypick #48563 and #48527 #48574

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions python/ray/tests/test_ray_debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ def fact(n):

result = fact.remote(5)

wait_for_condition(
lambda: len(
ray.experimental.internal_kv._internal_kv_list(
"RAY_PDB_", namespace=ray_constants.KV_NAMESPACE_PDB
)
)
> 0
)

p = pexpect.spawn("ray debug")
p.expect("Enter breakpoint index or press enter to refresh: ")
p.sendline("0")
Expand Down
10 changes: 7 additions & 3 deletions release/ml_user_tests/tune_rllib/run_connect_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,20 @@ def run(smoke_test=False, storage_path: str = None):

config = (
APPOConfig()
.api_stack(
enable_rl_module_and_learner=False,
enable_env_runner_and_connector_v2=False,
)
.environment("ale_py:ALE/Pong-v5", clip_rewards=True)
.framework(tune.grid_search(["tf", "torch"]))
.rollouts(
rollout_fragment_length=50,
num_rollout_workers=num_workers,
num_envs_per_worker=1,
num_env_runners=num_workers,
num_envs_per_env_runner=1,
)
.training(
train_batch_size=750,
num_sgd_iter=2,
num_epochs=2,
vf_loss_coeff=1.0,
clip_param=0.3,
grad_clip=10,
Expand Down