FLAML
What it is
FLAML is a free, MIT-licensed library for automated machine learning and tuning. It seeks accurate models or configurations for common machine-learning and AI tasks while using low computational resources. Its task-oriented AutoML supports classification, regression, time-series forecasting, panel forecasting, learning to rank, and sequence classification. The flaml.default package supplies data-dependent hyperparameter defaults without runtime tuning. FLAML’s tuning tools address large search spaces, different evaluation costs, constraints, guidance, and early stopping. Users can limit the learners considered or tune a customized learner. The library can adapt large language models to applications with the goal of reducing monetary costs. Optional integrations include OpenAI models, CatBoost, Vowpal Wabbit, Prophet, statsmodels, Hugging Face Transformers, Ray, Spark, MLflow, Azure Machine Learning, and Microsoft Fabric. It also has a .NET implementation through ML.NET.
For and against
For
- Free plan and MIT license
- Supports several AutoML task types
- Handles constraints and early stopping
- Offers Ray and Spark tuning backends
- Provides Python and .NET options
Against
- Requires Python 3.10 or newer
- Latest version requires Python earlier than 3.14
- Ray and Spark cannot run together
- Spark backend does not support GPU training
The verdict
FLAML combines broad AutoML task coverage with tuning controls for large or complex searches. Its free license, integrations, and .NET implementation make it adaptable, while runtime and Spark limitations should guide setup choices.
Who it suits
FLAML suits developers and data scientists who need automated model selection, tuning, forecasting, ranking, or language-model adaptation. It fits users working with Python, .NET, or distributed Ray and Spark workflows.
On the record
- Auto-tuning
- Its tuning approach handles large search spaces, heterogeneous evaluation costs, complex constraints, guidance, and early stopping.microsoft.github.io · read 1 Oct 2026
- Availability
- The repository identifies FLAML as MIT-licensed open-source software.github.com · read 2 Oct 2026
- Community support
- The project provides community support through Discord, issues, discussions, and contributions.microsoft.github.io · read 1 Oct 2026
- Customization
- Users can restrict the learners FLAML tries or tune a customized learner.github.com · read 2 Oct 2026
- Distributed integrations
- FLAML provides optional Ray and Spark distributed tuning, plus NNI, BlendSearch, and Azure Synapse options.microsoft.github.io · read 1 Oct 2026
- Installation
- The Python library can be installed with pip or conda, and optional packages enable features such as AutoML, Hugging Face Transformers, Ray, and Spark.microsoft.github.io · read 2 Oct 2026
- Integrations
- The documentation describes MLflow logging and integration with Azure Machine Learning.microsoft.github.io · read 2 Oct 2026
- License
- The repository is distributed under the MIT License, permitting users to use, copy, modify, publish, distribute, sublicense, and sell the software subject to its conditions.github.com · read 1 Oct 2026
- LLM adaptation
- FLAML automatically adapts large language models to applications to reduce monetary costs.microsoft.github.io · read 1 Oct 2026
- Microsoft Fabric
- The repository says FLAML supports AutoML and hyperparameter tuning in Microsoft Fabric Data Science.github.com · read 2 Oct 2026
- Model integrations
- Optional installations include OpenAI models, CatBoost, Vowpal Wabbit, Prophet, statsmodels, and Hugging Face Transformers.microsoft.github.io · read 1 Oct 2026
- .NET support
- FLAML has a .NET implementation in the cross-platform ML.NET framework, including Model Builder, the ML.NET CLI, and Microsoft.ML.AutoML.microsoft.github.io · read 1 Oct 2026
- Parallel tuning
- FLAML supports Ray and Spark backends for parallel tuning, but a tuning job cannot use both.microsoft.github.io · read 2 Oct 2026
- Purpose
- FLAML automates machine learning model selection and hyperparameter tuning with low computational resources.microsoft.github.io · read 2 Oct 2026
- Python requirement
- The installation documentation requires Python version 3.10 or newer.microsoft.github.io · read 1 Oct 2026
- Resource efficiency
- It finds accurate models or configurations for common ML/AI tasks with low computational resources.microsoft.github.io · read 1 Oct 2026
- Runtime requirement
- The repository specifies Python 3.10 or later and earlier than 3.14 for its latest version.github.com · read 2 Oct 2026
- Security reporting
- The project directs security vulnerability reports to Microsoft Security Response Center for coordinated disclosure rather than public issues.github.com · read 1 Oct 2026