Skip to content

Instantly share code, notes, and snippets.

@stojan211287
Last active September 15, 2020 19:26
Show Gist options
  • Save stojan211287/3e558d7e5aa315367ba55d8fa2951d60 to your computer and use it in GitHub Desktop.
Save stojan211287/3e558d7e5aa315367ba55d8fa2951d60 to your computer and use it in GitHub Desktop.
Configuring Ray as Modin backend
import ray
ray.init(
plasma_directory="/PATH/TO/PLASMA/STORE",
temp_dir="/PATH/TO/TMP/STORE",
object_store_memory=50 * 1024 * 1024 * 1024 # 50 GB
)
# above is to avoid the `Task is a driver task and so the object created by ray.put could not be reconstructed`
# Now you can import Modin as normal
import modin.pandas as modin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment