Skip to content

Commit

Permalink
fix parallel referencing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
krypticmouse committed Nov 19, 2024
1 parent 76a9b27 commit d914117
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dspy/predict/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def forward(self, exec_pairs: List[Tuple[Any, Example]], num_threads: int = None
)

def process_pair(pair):
result = None
module, example = pair

if isinstance(example, Example):
Expand Down

0 comments on commit d914117

Please sign in to comment.