# Ray 2.0.0 question about changes

**URL:** <https://discuss.ray.io/t/ray-2-0-0-question-about-changes/7421>\
**Category:** RLlib\
**Created:** [September 4, 2022, 7:02am UTC](https://discuss.ray.io/t/ray-2-0-0-question-about-changes/7421 "2022-09-04T07:02:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hridayns](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/hridayns/32/1222_2.png) [@hridayns](https://discuss.ray.io/u/hridayns)\
**Post date:** [September 4, 2022, 7:02am UTC](https://discuss.ray.io/t/ray-2-0-0-question-about-changes/7421/1 "2022-09-04T07:02:29Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- Low: It annoys or frustrates me for a moment.

```auto
from ray.rllib.algorithms.ppo import PPO, PPOConfig
.
.
.
my_ppo_config = PPOConfig()

my_trainer1 = PPO(env='CartPole-v0') # Trainer 1
my_trainer2 = my_ppo_config.build(env='CartPole-v0') # Trainer 2

```

My question is…are Trainer 1 and Trainer 2 the SAME at this stage - since both of them use the default config of PPO?

Also, how do I know the ‘groups’ of settings that I can change as:

```auto
my_config = PPOConfig()\
    .training(lr=0.001)\
    .framework("torch")\
    .rollouts(num_rollout_workers=2)

```

as the document [Ray RLlib 2.0 Changes - Google Docs](https://docs.google.com/document/d/1a3UEHEz6_Jth9O_2GR9Qp9c9IFyD5dObHCNSBsRgPGU/edit#) talks about how it’s easier to do it from the editor without going back and forth from documentation? How is that possible? Please help. Thank you

---

<div class="post-metadata">

**Author:** ![arturn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/arturn/32/2096_2.png) [@arturn](https://discuss.ray.io/u/arturn)\
**Post date:** [September 4, 2022, 2:44pm UTC](https://discuss.ray.io/t/ray-2-0-0-question-about-changes/7421/2 "2022-09-04T14:44:40Z")

</div>

1. Both algorithms will be the same, save for random seeding

2. It’s supposed to be easier from the editor now because, if you use an IDE or an editor with developer extensions, you will be given hints on what you can input and also most of the parameters will be out of sight because most of them are usually not touched. After modifying 4-5 configs you will get the hang of it, I’m sure 🙂 I found it a little confusing when I first touched it but it makes you more productive in the long run and makes the configs easier to explore and filter.

---

<div class="post-metadata">

**Author:** ![luzgui](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/luzgui/32/2281_2.png) [@luzgui](https://discuss.ray.io/u/luzgui)\
**Post date:** [September 29, 2022, 3:17pm UTC](https://discuss.ray.io/t/ray-2-0-0-question-about-changes/7421/3 "2022-09-29T15:17:32Z")

</div>

I believe that is the original intention but from my experience with new syntax in my IDE documentation it only allows to define a fraction of the parameters.  
When you convert back to dictionary you are able to inspect all the parameters and not all of them are available in the PPOConfig.GROUP(x=y)

For example, where do I define seed?

---

<div class="post-metadata">

**Author:** ![luzgui](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/luzgui/32/2281_2.png) [@luzgui](https://discuss.ray.io/u/luzgui)\
**Post date:** [September 29, 2022, 4:29pm UTC](https://discuss.ray.io/t/ray-2-0-0-question-about-changes/7421/4 "2022-09-29T16:29:31Z")

</div>

ok. found it out: for the seed it is `.debugging(seed=xxx)`
