less than 1 minute read

While fitting a sklearn model, I encountered the following error:

IOError: No space left on device

Apparently when you set n_jobs > 1 and therefore use shared memory, you can run out of shared memory. The workaround is to set the following environment variable:

%env JOBLIB_TEMP_FOLDER=/tmp

Via SO.

Leave a comment