Last active
September 15, 2020 19:26
-
-
Save stojan211287/3e558d7e5aa315367ba55d8fa2951d60 to your computer and use it in GitHub Desktop.
Configuring Ray as Modin backend
This file contains 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
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