MapFunction
is very slow at Ray engine
#1838
Labels
bug 🦗
Something isn't working
Performance 🚀
Performance related issues and pull requests.
question ❓
Questions about Modin
Ray ⚡
Issues related to the Ray engine
Milestone
System information
modin.__version__
): Current masterDescribe the problem
Related code will measure the working time of
abs
, which is implemented viaMapFunction
, that callmap_partitions
insidepartition_manager
. The problem is that, it works really slow at ray execution engine, but after changingmap_partitions
tolazy_map_partitions
it starts to work fine:I've run this code at python execution engine and didn't notice such a problem.
So, is just applying function to partitions is not async at
Ray
? Are there any limitations of usinglazy_map_partitions
instead ofmap_partitions
? Can we just changemap_partitions
tolazy_map_partitions
everywhere in modin?Actually, the difference is not so critical for machines which have not many cores, because it has fewer partitions and so less places to possible blocks
@devin-petersohn please take a look
The text was updated successfully, but these errors were encountered: