Skip to content

Commit

Permalink
pass through num_proc param for ray executor when loading dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
cyruszhang committed Jan 27, 2025
1 parent e05f146 commit acccc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_juicer/core/executor/ray_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def run(self,
"""
# 1. load data
logger.info('Loading dataset with Ray...')
dataset = self.datasetbuilder.load_dataset()
dataset = self.datasetbuilder.load_dataset(num_proc=load_data_np)

# 2. extract processes
logger.info('Preparing process operators...')
Expand Down

0 comments on commit acccc01

Please sign in to comment.