AutoGluon is modularized into sub-modules specialized for tabular, multimodal, or time series data. You can reduce the number of dependencies required by solely installing a specific sub-module via: pip install <submodule>, where <submodule> may be one of the following options:
autogluon.tabular- functionality for tabular data (TabularPredictor)The default installation of
autogluon.tabularstandalone is a skeleton installation.Install via
pip install autogluon.tabular[all]to get the same installation of tabular as viapip install autogluonAvailable optional dependencies:
lightgbm,catboost,xgboost,fastai,tabm,mitra,ray. These are included inall.Optional dependencies not included in
all:tabicl,tabpfn,tabdpt,tabpfnmix,realmlp,nori,interpret,imodels,skex,skl2onnx.To run
autogluon.tabularwith only the optional LightGBM and CatBoost models for example, you can do:pip install autogluon.tabular[lightgbm,catboost]Install via
pip install autogluon.tabular[tabarena]to getallplus every model theextremepreset uses:tabdpt,tabicl,tabpfn,realmlp,nori.Optional dependency:
tabicl. This will enable the TabICL model, used in theextremepreset (key=TABICL).Optional dependency:
tabpfn. This will enable the TabPFN models: RealTabPFN-v2 (key=REALTABPFN-V2), used in theextremepreset, along with RealTabPFN-v2.5 (key=REALTABPFN-V2.5), TabPFN-2.6 (key=TABPFN-2.6) and TabPFN-3 (key=TABPFN-3). TheTABPFNV2key was renamed toREALTABPFN-V2in v1.5.0. RealTabPFN-v2 is free for commercial use; commercial use of RealTabPFN-v2.5, TabPFN-2.6 and TabPFN-3 requires a license from Prior Labs (license FAQ).Optional dependency:
tabdpt. This will enable the TabDPT model, used in theextremepreset (key=TABDPT), along with TabDPT-Turbo (key=TABDPT-TURBO).Optional dependency:
tabm. This will enable the TabM model, used in theextremepreset (key=TABM). Included inall.Optional dependency:
mitra. This will enable the Mitra model, used in theextremepreset (key=MITRA). Included inall.Optional dependency:
tabpfnmix. This will enable the TabPFNMix model (key=TABPFNMIX). Refer tomitra, which is an improved version oftabpfnmix.Optional dependency:
realmlp. This will enable the RealMLP model (key=REALMLP).Optional dependency:
nori. This will enable the Nori model, used in theextremepreset (key=NORI). Regression only.Optional dependency:
skex. This will speedup KNN models by 25x in training and inference on CPU. Usepip install autogluon.tabular[all,skex]to enable. Note: Not compatible with ARM processors.Optional dependency:
interpret. This will install the interpret package and allow you to fit EBM models (key=EBM).Experimental optional dependency:
imodels. This will install the imodels package and allow you to fit interpretable models in TabularPredictor.Optional dependency:
skl2onnx. This will enable ONNX model compilation viapredictor.compile()on supported models.
autogluon.multimodal- functionality for image, text, and multimodal problems. Focus on deep learning models.To try object detection functionality using
MultiModalPredictor, please install additional dependencies viamim install "mmcv==2.1.0",pip install "mmdet==3.2.0"andpip install pycocotools. Note that Windows users should also installpycocotoolsby:pip install pycocotools-windows, but it only supports python 3.6/3.7/3.8.
autogluon.timeseries- only functionality for time series data (TimeSeriesPredictor).autogluon.common- helper functionality. Not useful standalone.autogluon.core- only core functionality (Searcher/Scheduler) useful for hyperparameter tuning of arbitrary code/models.autogluon.features- only functionality for feature generation / feature preprocessing pipelines (primarily related to Tabular data).
To install a submodule from source, follow the instructions for installing the entire package from source but replace the final uv sync --all-extras line with uv sync --package autogluon.{SUBMODULE_NAME} --extra {OPTIONAL_DEPENDENCY} ... (sibling autogluon.* packages resolve automatically from the workspace). See Installing from source for details.
For example, to install
autogluon.tabular[lightgbm,catboost]from source, the command would be:cd autogluon && uv sync --package autogluon.tabular --extra lightgbm --extra catboost
To install all AutoGluon optional dependencies:
pip install autogluon && pip install autogluon.tabular[all,tests]