-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Description
I've read (and negatively experienced) that n_jobs = -1
is hard coded for applicable models such as LightGBM, XGBoost, etc. My organization runs Jupyter notebooks in a kubernetes containerized environment. Unfortunately, that means the container OS and python see all CPU cores of the underlying physical host. For example, a notebook is spawned with 4 logical processors. However, multiprocessor.cpu_count()
reveals 88 processors, as it can see through the container layer.
With n_jobs hardcoded to -1, the mljar AutoML fails because it thinks it can run 88 parallel threads on 4 logical processors, so basically the notebook just freezes and panics because of all of the CPU thrashing.
Please consider making n_jobs
configurable.
Thanks!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request