learning_ray icon indicating copy to clipboard operation
learning_ray copied to clipboard

Notebooks for the O'Reilly book "Learning Ray"

Results 4 learning_ray issues
Sort by recently updated
recently updated
newest added

There is an error when calling ray.init() due to dependency with pydantic. https://github.com/ray-project/ray/issues/37019. Updating dependencies of Ray and pydantic resolves the issue: `"! pip install "ray>=2.9.0", "! pip install "pydantic>=2.5.0"`

In ch_03 https://github.com/maxpumperla/learning_ray/blob/main/notebooks/ch_03_core_app.ipynb train_policy_parallel function, ``` def train_policy_parallel(env, num_episodes=1000, num_simulations=4): """Parallel policy training function.""" policy = Policy(env) simulations = [SimulationActor.remote() for _ in range(num_simulations)] policy_ref = ray.put(policy) for _ in...

As I start to learning ray, when I start to Chapter 4 that it's seem I can't run the gym as it's not supported.

Hello @maxpumperla , Thank you for the amazing book, it's been a real pleasure working through it so far! I am, however, having a problem with evaluating the maze game...