File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def __init__(
118118 notification_callback : Optional [Callable ] = None ,
119119 chat_memory : Union [bool , int ] = True ,
120120 disable_llm_cache : Union [bool , int ] = False ,
121- file_loader_parallel_backend : str = "threading " ,
121+ file_loader_parallel_backend : str = "loky " ,
122122 private : Union [bool , int ] = False ,
123123 llms_api_bases : Optional [Union [dict , str ]] = None ,
124124 DIY_rolling_window_embedding : Union [bool , int ] = False ,
Original file line number Diff line number Diff line change 195195 cache folder for your system. This does not disable caching
196196 for documents.
197197
198- * ` --file_loader_parallel_backend ` : str, default ` "threading " `
198+ * ` --file_loader_parallel_backend ` : str, default ` "loky " `
199199 * joblib.Parallel backend to use when loading files. loky means
200- multiprocessing while ` threading ` means multithreading. Note
201- that multiprocessing can lead to issues in some cases.
200+ multiprocessing while ` threading ` means multithreading.
202201 The number of jobs can be specified with ` file_loader_n_jobs `
203202 but it's a loader specific kwargs.
204203
You can’t perform that action at this time.
0 commit comments