FLAML 2.5.0__tar.gz → 2.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flaml-2.5.0 → flaml-2.7.0}/FLAML.egg-info/PKG-INFO +29 -32
- {flaml-2.5.0 → flaml-2.7.0}/FLAML.egg-info/SOURCES.txt +4 -0
- {flaml-2.5.0 → flaml-2.7.0}/FLAML.egg-info/requires.txt +21 -19
- {flaml-2.5.0 → flaml-2.7.0}/PKG-INFO +29 -32
- {flaml-2.5.0 → flaml-2.7.0}/README.md +7 -3
- flaml-2.7.0/flaml/autogen/agentchat/contrib/math_user_proxy_agent.py +456 -0
- flaml-2.7.0/flaml/autogen/agentchat/contrib/retrieve_assistant_agent.py +44 -0
- flaml-2.7.0/flaml/autogen/agentchat/contrib/retrieve_user_proxy_agent.py +306 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/automl.py +97 -2
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/data.py +49 -6
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/ml.py +14 -2
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/model.py +81 -14
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/nlp/huggingface/utils.py +18 -19
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/spark/__init__.py +14 -4
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/spark/utils.py +10 -2
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/task/generic_task.py +26 -1
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/time_series/ts_data.py +18 -8
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/time_series/ts_model.py +34 -5
- flaml-2.7.0/flaml/py.typed +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/sample.py +1 -1
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/searcher/flow2.py +6 -3
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/trial.py +3 -1
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/trial_runner.py +1 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/tune.py +1 -1
- flaml-2.7.0/flaml/version.py +1 -0
- flaml-2.7.0/pyproject.toml +216 -0
- flaml-2.7.0/setup.py +3 -0
- {flaml-2.5.0 → flaml-2.7.0}/test/test_gpu.py +8 -1
- flaml-2.5.0/flaml/version.py +0 -1
- flaml-2.5.0/pyproject.toml +0 -51
- flaml-2.5.0/setup.py +0 -165
- {flaml-2.5.0 → flaml-2.7.0}/FLAML.egg-info/dependency_links.txt +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/FLAML.egg-info/top_level.txt +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/LICENSE +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/NOTICE.md +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/agentchat/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/agentchat/agent.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/agentchat/assistant_agent.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/agentchat/conversable_agent.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/agentchat/groupchat.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/agentchat/user_proxy_agent.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/code_utils.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/extensions/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/math_utils.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/oai/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/oai/completion.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/oai/openai_utils.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/autogen/retrieve_utils.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/contrib/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/contrib/histgb.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/logger.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/nlp/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/nlp/huggingface/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/nlp/huggingface/data_collator.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/nlp/huggingface/trainer.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/nlp/huggingface/training_args.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/nlp/utils.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/spark/metrics.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/state.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/task/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/task/factory.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/task/task.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/task/time_series_task.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/time_series/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/time_series/feature.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/time_series/sklearn.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/time_series/tcn.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/time_series/tft.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/automl/training_log.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/config.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/all/binary.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/all/multiclass.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/all/regression.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/estimator.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/extra_tree/binary.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/extra_tree/multiclass.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/extra_tree/regression.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/greedy.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/lgbm/binary.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/lgbm/multiclass.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/lgbm/regression.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/portfolio.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/regret.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/rf/binary.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/rf/multiclass.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/rf/regression.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/suggest.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/xgb_limitdepth/binary.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/xgb_limitdepth/multiclass.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/xgb_limitdepth/regression.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/xgboost/binary.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/xgboost/multiclass.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/default/xgboost/regression.json +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/fabric/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/fabric/mlflow.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/ml.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/onlineml/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/onlineml/autovw.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/onlineml/trial.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/onlineml/trial_runner.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/analysis.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/logger.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/result.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/scheduler/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/scheduler/online_scheduler.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/scheduler/trial_scheduler.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/searcher/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/searcher/blendsearch.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/searcher/cfo_cat.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/searcher/online_searcher.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/searcher/search_thread.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/searcher/suggestion.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/searcher/variant_generator.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/space.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/spark/__init__.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/spark/utils.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/flaml/tune/utils.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/setup.cfg +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/test/test_autovw.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/test/test_conda_distribution.py +0 -0
- {flaml-2.5.0 → flaml-2.7.0}/test/test_version.py +0 -0
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: FLAML
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0
|
|
4
4
|
Summary: A fast library for automated machine learning and tuning
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
Author-email: Microsoft Corporation <hpo@microsoft.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/microsoft/FLAML
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
15
|
Requires-Python: >=3.10
|
|
15
16
|
Description-Content-Type: text/markdown
|
|
16
17
|
License-File: LICENSE
|
|
@@ -26,48 +27,50 @@ Provides-Extra: notebook
|
|
|
26
27
|
Requires-Dist: jupyter; extra == "notebook"
|
|
27
28
|
Provides-Extra: spark
|
|
28
29
|
Requires-Dist: pyspark>=3.2.0; extra == "spark"
|
|
30
|
+
Requires-Dist: pandas<3; extra == "spark"
|
|
29
31
|
Requires-Dist: joblibspark>=0.5.0; extra == "spark"
|
|
30
32
|
Requires-Dist: joblib<=1.3.2; extra == "spark"
|
|
31
33
|
Provides-Extra: test
|
|
32
|
-
Requires-Dist: numpy<2.0.0,>=1.17; python_version < "3.13" and extra == "test"
|
|
33
|
-
Requires-Dist: numpy>=1.17; python_version >= "3.13" and extra == "test"
|
|
34
|
+
Requires-Dist: numpy<2.0.0,>=1.17; (python_version < "3.13" and (sys_platform != "win32" or platform_machine != "ARM64")) and extra == "test"
|
|
35
|
+
Requires-Dist: numpy>=1.17; (python_version >= "3.13" or (sys_platform == "win32" and platform_machine == "ARM64")) and extra == "test"
|
|
34
36
|
Requires-Dist: jupyter; extra == "test"
|
|
35
37
|
Requires-Dist: lightgbm>=2.3.1; extra == "test"
|
|
36
38
|
Requires-Dist: xgboost<2.0.0,>=0.90; python_version < "3.11" and extra == "test"
|
|
37
39
|
Requires-Dist: xgboost>=2.0.0; python_version >= "3.11" and extra == "test"
|
|
38
40
|
Requires-Dist: scipy>=1.4.1; extra == "test"
|
|
39
|
-
Requires-Dist: pandas
|
|
40
|
-
Requires-Dist: pandas>=1.1.4; python_version >= "3.10" and extra == "test"
|
|
41
|
+
Requires-Dist: pandas>=1.1.4; extra == "test"
|
|
41
42
|
Requires-Dist: scikit-learn>=1.2.0; extra == "test"
|
|
42
|
-
Requires-Dist: thop; extra == "test"
|
|
43
|
+
Requires-Dist: thop; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
43
44
|
Requires-Dist: pytest>=6.1.1; extra == "test"
|
|
44
45
|
Requires-Dist: pytest-rerunfailures>=13.0; extra == "test"
|
|
46
|
+
Requires-Dist: pytest-asyncio; (sys_platform == "win32" and platform_machine == "ARM64") and extra == "test"
|
|
45
47
|
Requires-Dist: coverage>=5.3; extra == "test"
|
|
46
48
|
Requires-Dist: pre-commit; extra == "test"
|
|
47
|
-
Requires-Dist: torch; extra == "test"
|
|
48
|
-
Requires-Dist: torchvision; extra == "test"
|
|
49
|
-
Requires-Dist: catboost>=0.26; extra == "test"
|
|
49
|
+
Requires-Dist: torch; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
50
|
+
Requires-Dist: torchvision; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
51
|
+
Requires-Dist: catboost>=0.26; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
50
52
|
Requires-Dist: rgf-python; extra == "test"
|
|
51
53
|
Requires-Dist: optuna<=3.6.1,>=2.8.0; extra == "test"
|
|
52
|
-
Requires-Dist: openml; extra == "test"
|
|
54
|
+
Requires-Dist: openml; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
53
55
|
Requires-Dist: statsmodels>=0.12.2; extra == "test"
|
|
54
56
|
Requires-Dist: psutil; extra == "test"
|
|
55
|
-
Requires-Dist:
|
|
56
|
-
Requires-Dist: transformers
|
|
57
|
-
Requires-Dist: datasets; extra == "test"
|
|
58
|
-
Requires-Dist: evaluate; extra == "test"
|
|
57
|
+
Requires-Dist: transformers[torch]; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
58
|
+
Requires-Dist: transformers; (sys_platform == "win32" and platform_machine == "ARM64") and extra == "test"
|
|
59
|
+
Requires-Dist: datasets; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
60
|
+
Requires-Dist: evaluate; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
59
61
|
Requires-Dist: nltk!=3.8.2; extra == "test"
|
|
60
62
|
Requires-Dist: rouge_score; extra == "test"
|
|
61
63
|
Requires-Dist: hcrystalball; extra == "test"
|
|
62
64
|
Requires-Dist: seqeval; extra == "test"
|
|
63
|
-
Requires-Dist: pytorch-forecasting; extra == "test"
|
|
65
|
+
Requires-Dist: pytorch-forecasting; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
66
|
+
Requires-Dist: cryptography==46.0.3; (sys_platform == "win32" and platform_machine == "ARM64") and extra == "test"
|
|
64
67
|
Requires-Dist: mlflow-skinny<=2.22.1; extra == "test"
|
|
65
68
|
Requires-Dist: joblibspark>=0.5.0; extra == "test"
|
|
66
69
|
Requires-Dist: joblib<=1.3.2; extra == "test"
|
|
67
70
|
Requires-Dist: nbconvert; extra == "test"
|
|
68
71
|
Requires-Dist: nbformat; extra == "test"
|
|
69
72
|
Requires-Dist: ipykernel; extra == "test"
|
|
70
|
-
Requires-Dist: pytorch-lightning; extra == "test"
|
|
73
|
+
Requires-Dist: pytorch-lightning; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
71
74
|
Requires-Dist: tensorboardX; extra == "test"
|
|
72
75
|
Requires-Dist: requests; extra == "test"
|
|
73
76
|
Requires-Dist: packaging; extra == "test"
|
|
@@ -124,17 +127,7 @@ Provides-Extra: autozero
|
|
|
124
127
|
Requires-Dist: scikit-learn; extra == "autozero"
|
|
125
128
|
Requires-Dist: pandas; extra == "autozero"
|
|
126
129
|
Requires-Dist: packaging; extra == "autozero"
|
|
127
|
-
Dynamic: author
|
|
128
|
-
Dynamic: author-email
|
|
129
|
-
Dynamic: classifier
|
|
130
|
-
Dynamic: description
|
|
131
|
-
Dynamic: description-content-type
|
|
132
|
-
Dynamic: home-page
|
|
133
130
|
Dynamic: license-file
|
|
134
|
-
Dynamic: provides-extra
|
|
135
|
-
Dynamic: requires-dist
|
|
136
|
-
Dynamic: requires-python
|
|
137
|
-
Dynamic: summary
|
|
138
131
|
|
|
139
132
|
[](https://badge.fury.io/py/FLAML)
|
|
140
133
|

|
|
@@ -152,7 +145,11 @@ Dynamic: summary
|
|
|
152
145
|
<br>
|
|
153
146
|
</p>
|
|
154
147
|
|
|
155
|
-
|
|
148
|
+
<p align="center">
|
|
149
|
+
<b>English</b> · <a href="https://github.com/microsoft/FLAML/blob/main/README.zh.md">简体中文</a>
|
|
150
|
+
</p>
|
|
151
|
+
|
|
152
|
+
:fire: FLAML supports AutoML and Hyperparameter Tuning in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/automated-machine-learning-fabric). In addition, we've introduced Python 3.11+ support, along with a range of new estimators, and comprehensive integration with MLflow—thanks to contributions from the Microsoft Fabric product team.
|
|
156
153
|
|
|
157
154
|
:fire: Heads-up: [AutoGen](https://microsoft.github.io/autogen/) has moved to a dedicated [GitHub repository](https://github.com/microsoft/autogen). FLAML no longer includes the `autogen` module—please use AutoGen directly.
|
|
158
155
|
|
|
@@ -212,7 +209,7 @@ automl.fit(X_train, y_train, task="classification", estimator_list=["lgbm"])
|
|
|
212
209
|
from flaml import tune
|
|
213
210
|
|
|
214
211
|
tune.run(
|
|
215
|
-
evaluation_function, config={
|
|
212
|
+
evaluation_function, config={...}, low_cost_partial_config={...}, time_budget_s=3600
|
|
216
213
|
)
|
|
217
214
|
```
|
|
218
215
|
|
|
@@ -247,7 +244,7 @@ This project welcomes contributions and suggestions. Most contributions require
|
|
|
247
244
|
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
|
|
248
245
|
the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
|
|
249
246
|
|
|
250
|
-
If you are new to GitHub [here](https://
|
|
247
|
+
If you are new to GitHub [here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) is a detailed help source on getting involved with development on GitHub.
|
|
251
248
|
|
|
252
249
|
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
|
|
253
250
|
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
|
|
@@ -11,6 +11,7 @@ FLAML.egg-info/top_level.txt
|
|
|
11
11
|
flaml/__init__.py
|
|
12
12
|
flaml/config.py
|
|
13
13
|
flaml/ml.py
|
|
14
|
+
flaml/py.typed
|
|
14
15
|
flaml/version.py
|
|
15
16
|
flaml/autogen/__init__.py
|
|
16
17
|
flaml/autogen/code_utils.py
|
|
@@ -22,6 +23,9 @@ flaml/autogen/agentchat/assistant_agent.py
|
|
|
22
23
|
flaml/autogen/agentchat/conversable_agent.py
|
|
23
24
|
flaml/autogen/agentchat/groupchat.py
|
|
24
25
|
flaml/autogen/agentchat/user_proxy_agent.py
|
|
26
|
+
flaml/autogen/agentchat/contrib/math_user_proxy_agent.py
|
|
27
|
+
flaml/autogen/agentchat/contrib/retrieve_assistant_agent.py
|
|
28
|
+
flaml/autogen/agentchat/contrib/retrieve_user_proxy_agent.py
|
|
25
29
|
flaml/autogen/extensions/__init__.py
|
|
26
30
|
flaml/autogen/oai/__init__.py
|
|
27
31
|
flaml/autogen/oai/completion.py
|
|
@@ -62,6 +62,7 @@ ray[tune]<2.5.0,>=1.13
|
|
|
62
62
|
|
|
63
63
|
[spark]
|
|
64
64
|
pyspark>=3.2.0
|
|
65
|
+
pandas<3
|
|
65
66
|
joblibspark>=0.5.0
|
|
66
67
|
joblib<=1.3.2
|
|
67
68
|
|
|
@@ -74,59 +75,60 @@ pyspark>=3.2.0
|
|
|
74
75
|
jupyter
|
|
75
76
|
lightgbm>=2.3.1
|
|
76
77
|
scipy>=1.4.1
|
|
78
|
+
pandas>=1.1.4
|
|
77
79
|
scikit-learn>=1.2.0
|
|
78
|
-
thop
|
|
79
80
|
pytest>=6.1.1
|
|
80
81
|
pytest-rerunfailures>=13.0
|
|
81
82
|
coverage>=5.3
|
|
82
83
|
pre-commit
|
|
83
|
-
torch
|
|
84
|
-
torchvision
|
|
85
|
-
catboost>=0.26
|
|
86
84
|
rgf-python
|
|
87
85
|
optuna<=3.6.1,>=2.8.0
|
|
88
|
-
openml
|
|
89
86
|
statsmodels>=0.12.2
|
|
90
87
|
psutil
|
|
91
|
-
dataclasses
|
|
92
|
-
transformers[torch]
|
|
93
|
-
datasets
|
|
94
|
-
evaluate
|
|
95
88
|
nltk!=3.8.2
|
|
96
89
|
rouge_score
|
|
97
90
|
hcrystalball
|
|
98
91
|
seqeval
|
|
99
|
-
pytorch-forecasting
|
|
100
92
|
mlflow-skinny<=2.22.1
|
|
101
93
|
joblibspark>=0.5.0
|
|
102
94
|
joblib<=1.3.2
|
|
103
95
|
nbconvert
|
|
104
96
|
nbformat
|
|
105
97
|
ipykernel
|
|
106
|
-
pytorch-lightning
|
|
107
98
|
tensorboardX
|
|
108
99
|
requests
|
|
109
100
|
packaging
|
|
110
101
|
dill
|
|
111
102
|
|
|
112
|
-
[test:python_version < "3.10"]
|
|
113
|
-
pandas<2.0.0,>=1.1.4
|
|
114
|
-
|
|
115
103
|
[test:python_version < "3.11"]
|
|
116
104
|
xgboost<2.0.0,>=0.90
|
|
117
105
|
|
|
118
|
-
[test:python_version < "3.13"]
|
|
106
|
+
[test:python_version < "3.13" and (sys_platform != "win32" or platform_machine != "ARM64")]
|
|
119
107
|
numpy<2.0.0,>=1.17
|
|
120
108
|
|
|
121
|
-
[test:python_version >= "3.10"]
|
|
122
|
-
pandas>=1.1.4
|
|
123
|
-
|
|
124
109
|
[test:python_version >= "3.11"]
|
|
125
110
|
xgboost>=2.0.0
|
|
126
111
|
|
|
127
|
-
[test:python_version >= "3.13"]
|
|
112
|
+
[test:python_version >= "3.13" or (sys_platform == "win32" and platform_machine == "ARM64")]
|
|
128
113
|
numpy>=1.17
|
|
129
114
|
|
|
115
|
+
[test:sys_platform != "win32" or platform_machine != "ARM64"]
|
|
116
|
+
thop
|
|
117
|
+
torch
|
|
118
|
+
torchvision
|
|
119
|
+
catboost>=0.26
|
|
120
|
+
openml
|
|
121
|
+
transformers[torch]
|
|
122
|
+
datasets
|
|
123
|
+
evaluate
|
|
124
|
+
pytorch-forecasting
|
|
125
|
+
pytorch-lightning
|
|
126
|
+
|
|
127
|
+
[test:sys_platform == "win32" and platform_machine == "ARM64"]
|
|
128
|
+
pytest-asyncio
|
|
129
|
+
transformers
|
|
130
|
+
cryptography==46.0.3
|
|
131
|
+
|
|
130
132
|
[ts_forecast]
|
|
131
133
|
holidays
|
|
132
134
|
prophet>=1.1.5
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: FLAML
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0
|
|
4
4
|
Summary: A fast library for automated machine learning and tuning
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
Author-email: Microsoft Corporation <hpo@microsoft.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/microsoft/FLAML
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
15
|
Requires-Python: >=3.10
|
|
15
16
|
Description-Content-Type: text/markdown
|
|
16
17
|
License-File: LICENSE
|
|
@@ -26,48 +27,50 @@ Provides-Extra: notebook
|
|
|
26
27
|
Requires-Dist: jupyter; extra == "notebook"
|
|
27
28
|
Provides-Extra: spark
|
|
28
29
|
Requires-Dist: pyspark>=3.2.0; extra == "spark"
|
|
30
|
+
Requires-Dist: pandas<3; extra == "spark"
|
|
29
31
|
Requires-Dist: joblibspark>=0.5.0; extra == "spark"
|
|
30
32
|
Requires-Dist: joblib<=1.3.2; extra == "spark"
|
|
31
33
|
Provides-Extra: test
|
|
32
|
-
Requires-Dist: numpy<2.0.0,>=1.17; python_version < "3.13" and extra == "test"
|
|
33
|
-
Requires-Dist: numpy>=1.17; python_version >= "3.13" and extra == "test"
|
|
34
|
+
Requires-Dist: numpy<2.0.0,>=1.17; (python_version < "3.13" and (sys_platform != "win32" or platform_machine != "ARM64")) and extra == "test"
|
|
35
|
+
Requires-Dist: numpy>=1.17; (python_version >= "3.13" or (sys_platform == "win32" and platform_machine == "ARM64")) and extra == "test"
|
|
34
36
|
Requires-Dist: jupyter; extra == "test"
|
|
35
37
|
Requires-Dist: lightgbm>=2.3.1; extra == "test"
|
|
36
38
|
Requires-Dist: xgboost<2.0.0,>=0.90; python_version < "3.11" and extra == "test"
|
|
37
39
|
Requires-Dist: xgboost>=2.0.0; python_version >= "3.11" and extra == "test"
|
|
38
40
|
Requires-Dist: scipy>=1.4.1; extra == "test"
|
|
39
|
-
Requires-Dist: pandas
|
|
40
|
-
Requires-Dist: pandas>=1.1.4; python_version >= "3.10" and extra == "test"
|
|
41
|
+
Requires-Dist: pandas>=1.1.4; extra == "test"
|
|
41
42
|
Requires-Dist: scikit-learn>=1.2.0; extra == "test"
|
|
42
|
-
Requires-Dist: thop; extra == "test"
|
|
43
|
+
Requires-Dist: thop; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
43
44
|
Requires-Dist: pytest>=6.1.1; extra == "test"
|
|
44
45
|
Requires-Dist: pytest-rerunfailures>=13.0; extra == "test"
|
|
46
|
+
Requires-Dist: pytest-asyncio; (sys_platform == "win32" and platform_machine == "ARM64") and extra == "test"
|
|
45
47
|
Requires-Dist: coverage>=5.3; extra == "test"
|
|
46
48
|
Requires-Dist: pre-commit; extra == "test"
|
|
47
|
-
Requires-Dist: torch; extra == "test"
|
|
48
|
-
Requires-Dist: torchvision; extra == "test"
|
|
49
|
-
Requires-Dist: catboost>=0.26; extra == "test"
|
|
49
|
+
Requires-Dist: torch; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
50
|
+
Requires-Dist: torchvision; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
51
|
+
Requires-Dist: catboost>=0.26; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
50
52
|
Requires-Dist: rgf-python; extra == "test"
|
|
51
53
|
Requires-Dist: optuna<=3.6.1,>=2.8.0; extra == "test"
|
|
52
|
-
Requires-Dist: openml; extra == "test"
|
|
54
|
+
Requires-Dist: openml; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
53
55
|
Requires-Dist: statsmodels>=0.12.2; extra == "test"
|
|
54
56
|
Requires-Dist: psutil; extra == "test"
|
|
55
|
-
Requires-Dist:
|
|
56
|
-
Requires-Dist: transformers
|
|
57
|
-
Requires-Dist: datasets; extra == "test"
|
|
58
|
-
Requires-Dist: evaluate; extra == "test"
|
|
57
|
+
Requires-Dist: transformers[torch]; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
58
|
+
Requires-Dist: transformers; (sys_platform == "win32" and platform_machine == "ARM64") and extra == "test"
|
|
59
|
+
Requires-Dist: datasets; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
60
|
+
Requires-Dist: evaluate; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
59
61
|
Requires-Dist: nltk!=3.8.2; extra == "test"
|
|
60
62
|
Requires-Dist: rouge_score; extra == "test"
|
|
61
63
|
Requires-Dist: hcrystalball; extra == "test"
|
|
62
64
|
Requires-Dist: seqeval; extra == "test"
|
|
63
|
-
Requires-Dist: pytorch-forecasting; extra == "test"
|
|
65
|
+
Requires-Dist: pytorch-forecasting; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
66
|
+
Requires-Dist: cryptography==46.0.3; (sys_platform == "win32" and platform_machine == "ARM64") and extra == "test"
|
|
64
67
|
Requires-Dist: mlflow-skinny<=2.22.1; extra == "test"
|
|
65
68
|
Requires-Dist: joblibspark>=0.5.0; extra == "test"
|
|
66
69
|
Requires-Dist: joblib<=1.3.2; extra == "test"
|
|
67
70
|
Requires-Dist: nbconvert; extra == "test"
|
|
68
71
|
Requires-Dist: nbformat; extra == "test"
|
|
69
72
|
Requires-Dist: ipykernel; extra == "test"
|
|
70
|
-
Requires-Dist: pytorch-lightning; extra == "test"
|
|
73
|
+
Requires-Dist: pytorch-lightning; (sys_platform != "win32" or platform_machine != "ARM64") and extra == "test"
|
|
71
74
|
Requires-Dist: tensorboardX; extra == "test"
|
|
72
75
|
Requires-Dist: requests; extra == "test"
|
|
73
76
|
Requires-Dist: packaging; extra == "test"
|
|
@@ -124,17 +127,7 @@ Provides-Extra: autozero
|
|
|
124
127
|
Requires-Dist: scikit-learn; extra == "autozero"
|
|
125
128
|
Requires-Dist: pandas; extra == "autozero"
|
|
126
129
|
Requires-Dist: packaging; extra == "autozero"
|
|
127
|
-
Dynamic: author
|
|
128
|
-
Dynamic: author-email
|
|
129
|
-
Dynamic: classifier
|
|
130
|
-
Dynamic: description
|
|
131
|
-
Dynamic: description-content-type
|
|
132
|
-
Dynamic: home-page
|
|
133
130
|
Dynamic: license-file
|
|
134
|
-
Dynamic: provides-extra
|
|
135
|
-
Dynamic: requires-dist
|
|
136
|
-
Dynamic: requires-python
|
|
137
|
-
Dynamic: summary
|
|
138
131
|
|
|
139
132
|
[](https://badge.fury.io/py/FLAML)
|
|
140
133
|

|
|
@@ -152,7 +145,11 @@ Dynamic: summary
|
|
|
152
145
|
<br>
|
|
153
146
|
</p>
|
|
154
147
|
|
|
155
|
-
|
|
148
|
+
<p align="center">
|
|
149
|
+
<b>English</b> · <a href="https://github.com/microsoft/FLAML/blob/main/README.zh.md">简体中文</a>
|
|
150
|
+
</p>
|
|
151
|
+
|
|
152
|
+
:fire: FLAML supports AutoML and Hyperparameter Tuning in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/automated-machine-learning-fabric). In addition, we've introduced Python 3.11+ support, along with a range of new estimators, and comprehensive integration with MLflow—thanks to contributions from the Microsoft Fabric product team.
|
|
156
153
|
|
|
157
154
|
:fire: Heads-up: [AutoGen](https://microsoft.github.io/autogen/) has moved to a dedicated [GitHub repository](https://github.com/microsoft/autogen). FLAML no longer includes the `autogen` module—please use AutoGen directly.
|
|
158
155
|
|
|
@@ -212,7 +209,7 @@ automl.fit(X_train, y_train, task="classification", estimator_list=["lgbm"])
|
|
|
212
209
|
from flaml import tune
|
|
213
210
|
|
|
214
211
|
tune.run(
|
|
215
|
-
evaluation_function, config={
|
|
212
|
+
evaluation_function, config={...}, low_cost_partial_config={...}, time_budget_s=3600
|
|
216
213
|
)
|
|
217
214
|
```
|
|
218
215
|
|
|
@@ -247,7 +244,7 @@ This project welcomes contributions and suggestions. Most contributions require
|
|
|
247
244
|
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
|
|
248
245
|
the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
|
|
249
246
|
|
|
250
|
-
If you are new to GitHub [here](https://
|
|
247
|
+
If you are new to GitHub [here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) is a detailed help source on getting involved with development on GitHub.
|
|
251
248
|
|
|
252
249
|
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
|
|
253
250
|
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
<br>
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
<p align="center">
|
|
18
|
+
<b>English</b> · <a href="https://github.com/microsoft/FLAML/blob/main/README.zh.md">简体中文</a>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
:fire: FLAML supports AutoML and Hyperparameter Tuning in [Microsoft Fabric Data Science](https://learn.microsoft.com/en-us/fabric/data-science/automated-machine-learning-fabric). In addition, we've introduced Python 3.11+ support, along with a range of new estimators, and comprehensive integration with MLflow—thanks to contributions from the Microsoft Fabric product team.
|
|
18
22
|
|
|
19
23
|
:fire: Heads-up: [AutoGen](https://microsoft.github.io/autogen/) has moved to a dedicated [GitHub repository](https://github.com/microsoft/autogen). FLAML no longer includes the `autogen` module—please use AutoGen directly.
|
|
20
24
|
|
|
@@ -74,7 +78,7 @@ automl.fit(X_train, y_train, task="classification", estimator_list=["lgbm"])
|
|
|
74
78
|
from flaml import tune
|
|
75
79
|
|
|
76
80
|
tune.run(
|
|
77
|
-
evaluation_function, config={
|
|
81
|
+
evaluation_function, config={...}, low_cost_partial_config={...}, time_budget_s=3600
|
|
78
82
|
)
|
|
79
83
|
```
|
|
80
84
|
|
|
@@ -109,7 +113,7 @@ This project welcomes contributions and suggestions. Most contributions require
|
|
|
109
113
|
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
|
|
110
114
|
the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
|
|
111
115
|
|
|
112
|
-
If you are new to GitHub [here](https://
|
|
116
|
+
If you are new to GitHub [here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) is a detailed help source on getting involved with development on GitHub.
|
|
113
117
|
|
|
114
118
|
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
|
|
115
119
|
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
|