pycaret / pycaret

An open-source, low-code machine learning library in Python
https://www.pycaret.org
MIT License
8.93k stars 1.77k forks source link

[BUG]: PicklingError: Could not pickle the task to send it to the workers. #2961

Closed ArtificialZeng closed 1 year ago

ArtificialZeng commented 2 years ago

pycaret version checks

Issue Description

Fitting 10 folds for each of 10 candidates, totalling 100 fits Output exceeds the size limit. Open the full output data in a text editor

_RemoteTraceback Traceback (most recent call last) _RemoteTraceback: """ Traceback (most recent call last): File "e:\A_IDE\Anaconda3\envs\py382\lib\site-packages\joblib\externals\loky\backend\queues.py", line 153, in feed obj = dumps(obj, reducers=reducers) File "e:\A_IDE\Anaconda3\envs\py382\lib\site-packages\joblib\externals\loky\backend\reduction.py", line 271, in dumps dump(obj, buf, reducers=reducers, protocol=protocol) File "e:\A_IDE\Anaconda3\envs\py382\lib\site-packages\joblib\externals\loky\backend\reduction.py", line 264, in dump _LokyPickler(file, reducers=reducers, protocol=protocol).dump(obj) File "e:\A_IDE\Anaconda3\envs\py382\lib\site-packages\joblib\externals\cloudpickle\cloudpickle_fast.py", line 602, in dump return Pickler.dump(self, obj) File "e:\A_IDE\Anaconda3\envs\py382\lib\site-packages\joblib_memmapping_reducer.py", line 442, in call for dumped_filename in dump(a, filename): File "e:\A_IDE\Anaconda3\envs\py382\lib\site-packages\joblib\numpy_pickle.py", line 482, in dump NumpyPickler(f, protocol=protocol).dump(value) File "e:\A_IDE\Anaconda3\envs\py382\lib\pickle.py", line 485, in dump self.save(obj) File "e:\A_IDE\Anaconda3\envs\py382\lib\site-packages\joblib\numpy_pickle.py", line 281, in save wrapper.write_array(obj, self) File "e:\A_IDE\Anaconda3\envs\py382\lib\site-packages\joblib\numpy_pickle.py", line 104, in write_array pickler.file_handle.write(chunk.tobytes('C')) OSError: [Errno 28] No space left on device """ ... --> 388 raise self._exception 389 else: 390 return self._result

PicklingError: Could not pickle the task to send it to the workers.

Reproducible Example

tuned_lgb = tune_model(lightgbm)

Expected Behavior

tuned_lgb = tune_model(lightgbm)

Actual Results

tuned_lgb = tune_model(lightgbm)

Installed Versions

Replace this line with the output of the version code above.
tvdboom commented 2 years ago

Please, add a full reproducible example. We can't debug without it.

ngupta23 commented 1 year ago

Closing due to missing information. Feel free to reopen if you have an update.