data icon indicating copy to clipboard operation
data copied to clipboard

[Nodes] MapStyleWrapper should expose ParallelMap kwargs

Open andrewkho opened this issue 1 year ago • 1 comments

🚀 The feature

Allow MapStyleWrapper to take parallel map kwargs

Motivation, pitch

MapStyleWrapper is a pretty handy utility but ham-strung because it doesn't not allow parallelism. We could expose these easily by allowing **parallel_mapper_kwargs in the constructor, and switching Mapper to ParallelMapper, with a default of num_workers == 0.

Alternatives

No response

Additional context

No response

andrewkho avatar Dec 09 '24 17:12 andrewkho