Skip to content

Commit

Permalink
change joblib backend to use threading instead of loky
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Oct 11, 2024
1 parent 3097411 commit bcbc015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/interpret-core/interpret/provider/_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, n_jobs=-1):
self.n_jobs = n_jobs

def parallel(self, compute_fn, compute_args_iter):
return Parallel(n_jobs=self.n_jobs)(
return Parallel(n_jobs=self.n_jobs, backend="threading")(
delayed(compute_fn)(*args) for args in compute_args_iter
)

Expand Down

0 comments on commit bcbc015

Please sign in to comment.