You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This function is a proxy for a more interesting and computationally# intensive function.@ray.remotedefslow_function(i):
time.sleep(1)
returni# Sleep a little to improve the accuracy of the timing measurements below.# We do this because workers may still be starting up in the background.time.sleep(2.0)
start_time=time.time()
results= [slow_function.remote(i) foriinrange(4)]
end_time=time.time()
duration=end_time-start_timeprint('The results are {}. This took {} seconds. Run the next cell to see ''if the exercise was done correctly.'.format(results, duration))
I am not familiar with _raylet.so format enough to understand what this means. I am going to try to eliminate some possibilities by rebuilding a purpose driven version of my training env for RL with ray
I found this post while searching, so figured I'd update it with how to resolve the issue. I think this comes from having msgpack-python installed, which was the name of the package prior to version 0.5. There was another older dependency in our project that required this, which caused problems because you can't have msgpack and msgpack-python both installed. Even after removing msgpack-python the issue can still be there. So, the fix is to uninstall and reinstall msgpack.
ray.version = '0.8.7'
yields error:
The text was updated successfully, but these errors were encountered: