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

[Bug Report] Pistonball Tutorial with Ray RLLib does not support local_dir parameter #1230

Open
1 task done
kuds opened this issue Sep 14, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@kuds
Copy link

kuds commented Sep 14, 2024

Describe the bug

When trying to execute the tutorial for RLlib: PPO for Pistonball, the tune object errors out because RLLib has depecrated the local_dir parameter and needs to be switched to storage_path. I know that the tutorial says to use RLIib version 2.7.0, but the latest version is now 2.35.0. Should the tutorial be updated to reflect the new parameter set for tune? If so, I can submit a pull request to update the tutorial.

/python/ray/tune/tune.py
image

Code example

tune.run(
   "PPO",
   name="PPO",
   stop={"timesteps_total": 5000000 if not os.environ.get("CI") else 50000},
   checkpoint_freq=10,
   local_dir="~/ray_results/" + env_name,
   config=config.to_dict(),
)

System info

Python Version: 3.10.12
Torch Version: 2.4.0+cu121
Cuda Version: 12.1
Gymnasium Version: 0.28.1
PettingZoo Version: 1.24.3
Ray Version: 2.35.0

Additional context

No response

Checklist

  • I have checked that there is no similar issue in the repo
@kuds kuds added the bug Something isn't working label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant