#135135th of 206 in ML frameworks and libraries

flaml

Python AutoML and hyperparameter tuning library with a scikit-learn style API

Stars
4.4k
License
MIT
Last commit
Nov 2026
Last release
Sep 2026
Language
Jupyter Notebook

Missed the latest GitHub check; these facts may be older.

Overview

FLAML is a Python library that searches for models and hyperparameters under a compute or time budget. AutoML().fit() handles classification and regression with learners such as LightGBM, XGBoost and Random Forest, and flaml.tune runs generic tuning of any user-defined function. It also offers zero-shot wrappers that set LightGBM and XGBoost hyperparameters from the training data.

Who it is for: ML engineers who want budgeted AutoML or hyperparameter tuning in Python

Strengths

  • Three-line scikit-learn style AutoML fit with time budget control
  • Generic tune.run for arbitrary functions, with cost-aware search and early stopping
  • Zero-shot LGBMRegressor drop-in picks hyperparameters from the data
  • Installs via pip with minimal core dependencies; extras are optional

Weaknesses

  • The autogen module was removed; agent use now requires the separate AutoGen repo
  • Requires Python >= 3.10 and < 3.14; other versions not guaranteed
  • Focused on tabular AutoML and tuning; not for LLM chat or serving
  • Some notebook examples need specific extras installed

What it needs

  • GPU optional
  • Docker
  • Needs Python >= 3.10, < 3.14, MLflow (optional)
  • Models: LightGBM, XGBoost, Random Forest, custom learners

Also in ML frameworks and libraries

See all 206
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.9k stars+1,573 (+0.9%) in 30 daysApache-2.094 out of 100
2ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,004 (+1.6%) in 30 daysAGPL-3.094 out of 100
3pytorchPython tensor library with GPU support and tape-based autograd105.5k stars+1,036 (+1.0%) in 30 dayscustom license93 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+107 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+521 (+1.0%) in 30 daysMIT92 out of 100