Skip to content

Instantly share code, notes, and snippets.

@zilunpeng
Created March 23, 2021 22:16
Show Gist options
  • Save zilunpeng/572ec04f6c844c67930748049eb22528 to your computer and use it in GitHub Desktop.
Save zilunpeng/572ec04f6c844c67930748049eb22528 to your computer and use it in GitHub Desktop.
Import and initialize Ray. Code below is part of the distributed inference notebook (https://git.io/JYeQQ).
import ray
ray.init()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment