xmc.dspy icon indicating copy to clipboard operation
xmc.dspy copied to clipboard

Specify num_threads as a function argument

Open abedini-arteriaai opened this issue 2 years ago • 0 comments

In optimizer.py self.num_threads is manually set to 8 so the program errors out when run on a single-thread CPU. Allowing the user to specify num_threads to get passed as a function argument during optimization will fix this issue.

abedini-arteriaai avatar Apr 12 '24 18:04 abedini-arteriaai