Skip to content

Instantly share code, notes, and snippets.

@zilunpeng
Created March 23, 2021 22:22
Show Gist options
  • Save zilunpeng/e629c0270d7c5fef8d579d72b48f08b1 to your computer and use it in GitHub Desktop.
Save zilunpeng/e629c0270d7c5fef8d579d72b48f08b1 to your computer and use it in GitHub Desktop.
Get all predictions using Ray. Code below is part of the distributed inference notebook (https://git.io/JYeQQ).
predictions = ray.get(prediction_futures)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment