# Dreamer implementation no longer seems to work with Ray 1.2

**URL:** <https://discuss.ray.io/t/dreamer-implementation-no-longer-seems-to-work-with-ray-1-2/1281>\
**Category:** RLlib\
**Created:** [March 16, 2021, 3:53pm UTC](https://discuss.ray.io/t/dreamer-implementation-no-longer-seems-to-work-with-ray-1-2/1281 "2021-03-16T15:53:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwijesundara](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@cwijesundara](https://discuss.ray.io/u/cwijesundara)\
**Post date:** [March 16, 2021, 3:53pm UTC](https://discuss.ray.io/t/dreamer-implementation-no-longer-seems-to-work-with-ray-1-2/1281/1 "2021-03-16T15:53:25Z")

</div>

Hi all! I recently updated my Ray to version 1.2, and I’ve discovered that the Dreamer code no longer functions. In particular, any time I attempt to initialize the Dreamer trainer I’m met with the same errors as listed on this GitHub issue: [[rllib] AttributeError: ‘list’ object has no attribute ‘float’, when using dreamer · Issue #14107 · ray-project/ray · GitHub](https://github.com/ray-project/ray/issues/14107)

Would anyone have any insight as to what about the Ray 1.2 update may have caused this issue, and how I might be able to fix it?
