Last active
January 29, 2020 01:57
-
-
Save deanwampler/3fc25211f53df4d594d9aa1e3e62a6c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in range(1,40): | |
ready, not_ready = ray.wait(ids) | |
print('iteration:', i) | |
print('Ready length, values: ', len(ready), ray.get(ready)) | |
print('Not Ready length:', len(not_ready)) | |
ids = not_ready | |
if not ids: | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment