autogluon.tabular 1.4.0b20250725__py3-none-any.whl → 1.4.0b20250726__py3-none-any.whl

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.
@@ -303,6 +303,7 @@ hyperparameter_portfolio_zeroshot_2025_small = {
303
303
  "n_estimators": 1,
304
304
  "fine_tune": True,
305
305
  "fine_tune_steps": 50,
306
+ "ag.num_gpus": 1,
306
307
  "ag_args": {'priority': -21},
307
308
  },
308
309
  ],
@@ -119,6 +119,13 @@ class MitraModel(AbstractModel):
119
119
  else:
120
120
  hyp["device"] = self._get_default_device()
121
121
 
122
+ if hyp["device"] == "cpu" and hyp.get("fine_tune", True):
123
+ logger.log(
124
+ 30,
125
+ f"\tWarning: Attempting to fine-tune Mitra on CPU. This will be very slow. "
126
+ f"We strongly recommend using a GPU instance to fine-tune Mitra."
127
+ )
128
+
122
129
  if "state_dict_classification" in hyp:
123
130
  state_dict_classification = hyp.pop("state_dict_classification")
124
131
  if self.problem_type in ["binary", "multiclass"]:
@@ -229,24 +236,6 @@ class MitraModel(AbstractModel):
229
236
 
230
237
  return num_cpus, num_gpus
231
238
 
232
- def get_minimum_resources(self, is_gpu_available: bool = False) -> dict[str, int | float]:
233
- """
234
- Parameters
235
- ----------
236
- is_gpu_available : bool, default = False
237
- Whether gpu is available in the system.
238
- Model that can be trained both on cpu and gpu can decide the minimum resources based on this.
239
-
240
- Returns a dictionary of minimum resource requirements to fit the model.
241
- Subclass should consider overriding this method if it requires more resources to train.
242
- If a resource is not part of the output dictionary, it is considered unnecessary.
243
- Valid keys: 'num_cpus', 'num_gpus'.
244
- """
245
- return {
246
- "num_cpus": 1,
247
- "num_gpus": 0.5,
248
- }
249
-
250
239
  def _estimate_memory_usage(self, X: pd.DataFrame, **kwargs) -> int:
251
240
  return self.estimate_memory_usage_static(
252
241
  X=X, problem_type=self.problem_type, num_classes=self.num_classes, **kwargs
@@ -1,4 +1,4 @@
1
1
  """This is the autogluon version file."""
2
2
 
3
- __version__ = "1.4.0b20250725"
3
+ __version__ = "1.4.0b20250726"
4
4
  __lite__ = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autogluon.tabular
3
- Version: 1.4.0b20250725
3
+ Version: 1.4.0b20250726
4
4
  Summary: Fast and Accurate ML in 3 Lines of Code
5
5
  Home-page: https://github.com/autogluon/autogluon
6
6
  Author: AutoGluon Community
@@ -41,22 +41,22 @@ Requires-Dist: scipy<1.17,>=1.5.4
41
41
  Requires-Dist: pandas<2.4.0,>=2.0.0
42
42
  Requires-Dist: scikit-learn<1.8.0,>=1.4.0
43
43
  Requires-Dist: networkx<4,>=3.0
44
- Requires-Dist: autogluon.core==1.4.0b20250725
45
- Requires-Dist: autogluon.features==1.4.0b20250725
44
+ Requires-Dist: autogluon.core==1.4.0b20250726
45
+ Requires-Dist: autogluon.features==1.4.0b20250726
46
46
  Provides-Extra: all
47
+ Requires-Dist: lightgbm<4.7,>=4.0; extra == "all"
47
48
  Requires-Dist: xgboost<3.1,>=2.0; extra == "all"
48
49
  Requires-Dist: torch<2.8,>=2.2; extra == "all"
49
- Requires-Dist: einx; extra == "all"
50
- Requires-Dist: lightgbm<4.7,>=4.0; extra == "all"
51
- Requires-Dist: fastai<2.9,>=2.3.1; extra == "all"
52
50
  Requires-Dist: loguru; extra == "all"
53
51
  Requires-Dist: numpy<2.3.0,>=1.25; extra == "all"
54
- Requires-Dist: catboost<1.3,>=1.2; extra == "all"
52
+ Requires-Dist: transformers; extra == "all"
55
53
  Requires-Dist: huggingface-hub[torch]; extra == "all"
54
+ Requires-Dist: einx; extra == "all"
55
+ Requires-Dist: fastai<2.9,>=2.3.1; extra == "all"
56
56
  Requires-Dist: spacy<3.9; extra == "all"
57
- Requires-Dist: autogluon.core[all]==1.4.0b20250725; extra == "all"
58
57
  Requires-Dist: omegaconf; extra == "all"
59
- Requires-Dist: transformers; extra == "all"
58
+ Requires-Dist: autogluon.core[all]==1.4.0b20250726; extra == "all"
59
+ Requires-Dist: catboost<1.3,>=1.2; extra == "all"
60
60
  Requires-Dist: blis<1.2.1,>=0.7.0; (platform_system == "Windows" and python_version == "3.9") and extra == "all"
61
61
  Provides-Extra: catboost
62
62
  Requires-Dist: numpy<2.3.0,>=1.25; extra == "catboost"
@@ -78,7 +78,7 @@ Requires-Dist: torch<2.8,>=2.2; extra == "mitra"
78
78
  Requires-Dist: transformers; extra == "mitra"
79
79
  Requires-Dist: huggingface-hub[torch]; extra == "mitra"
80
80
  Provides-Extra: ray
81
- Requires-Dist: autogluon.core[all]==1.4.0b20250725; extra == "ray"
81
+ Requires-Dist: autogluon.core[all]==1.4.0b20250726; extra == "ray"
82
82
  Provides-Extra: realmlp
83
83
  Requires-Dist: pytabkit<1.6,>=1.5; extra == "realmlp"
84
84
  Provides-Extra: skex
@@ -90,22 +90,22 @@ Requires-Dist: onnxruntime-gpu<1.20.0,>=1.17.0; extra == "skl2onnx"
90
90
  Requires-Dist: onnx<1.18.0,>=1.13.0; platform_system != "Windows" and extra == "skl2onnx"
91
91
  Requires-Dist: onnx<1.16.2,>=1.13.0; platform_system == "Windows" and extra == "skl2onnx"
92
92
  Provides-Extra: tabarena
93
+ Requires-Dist: lightgbm<4.7,>=4.0; extra == "tabarena"
93
94
  Requires-Dist: xgboost<3.1,>=2.0; extra == "tabarena"
94
95
  Requires-Dist: torch<2.8,>=2.2; extra == "tabarena"
95
- Requires-Dist: lightgbm<4.7,>=4.0; extra == "tabarena"
96
- Requires-Dist: fastai<2.9,>=2.3.1; extra == "tabarena"
97
96
  Requires-Dist: loguru; extra == "tabarena"
98
97
  Requires-Dist: numpy<2.3.0,>=1.25; extra == "tabarena"
99
- Requires-Dist: catboost<1.3,>=1.2; extra == "tabarena"
98
+ Requires-Dist: transformers; extra == "tabarena"
100
99
  Requires-Dist: huggingface-hub[torch]; extra == "tabarena"
100
+ Requires-Dist: tabpfn<2.2,>=2.0.9; extra == "tabarena"
101
+ Requires-Dist: einx; extra == "tabarena"
102
+ Requires-Dist: fastai<2.9,>=2.3.1; extra == "tabarena"
101
103
  Requires-Dist: spacy<3.9; extra == "tabarena"
104
+ Requires-Dist: omegaconf; extra == "tabarena"
102
105
  Requires-Dist: tabicl<0.2,>=0.1.3; extra == "tabarena"
103
- Requires-Dist: autogluon.core[all]==1.4.0b20250725; extra == "tabarena"
104
106
  Requires-Dist: pytabkit<1.6,>=1.5; extra == "tabarena"
105
- Requires-Dist: omegaconf; extra == "tabarena"
106
- Requires-Dist: transformers; extra == "tabarena"
107
- Requires-Dist: tabpfn<2.2,>=2.0.9; extra == "tabarena"
108
- Requires-Dist: einx; extra == "tabarena"
107
+ Requires-Dist: autogluon.core[all]==1.4.0b20250726; extra == "tabarena"
108
+ Requires-Dist: catboost<1.3,>=1.2; extra == "tabarena"
109
109
  Requires-Dist: blis<1.2.1,>=0.7.0; (platform_system == "Windows" and python_version == "3.9") and extra == "tabarena"
110
110
  Provides-Extra: tabicl
111
111
  Requires-Dist: tabicl<0.2,>=0.1.3; extra == "tabicl"
@@ -1,6 +1,6 @@
1
- autogluon.tabular-1.4.0b20250725-py3.9-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
1
+ autogluon.tabular-1.4.0b20250726-py3.9-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
2
2
  autogluon/tabular/__init__.py,sha256=2OXpJCvENRHubBTYNIPpHX93WWuFZzsJBtTZbNVHVas,400
3
- autogluon/tabular/version.py,sha256=jKQHc6rb8KlpzX1_jnH5NX-mZVITo1-rtReHD8lPZms,91
3
+ autogluon/tabular/version.py,sha256=X677_QRDbCPTZCRCcshLbt66zrfGkhbhIjj5DPT-OPc,91
4
4
  autogluon/tabular/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  autogluon/tabular/configs/config_helper.py,sha256=JsdVGmpcYL88GPKBznPtqJ1sGaByOSvLn7KWU-HyVoQ,21085
6
6
  autogluon/tabular/configs/feature_generator_presets.py,sha256=EV5Ym8VW15q92MwOUpTi7wZFS2QooM51fLg3RdUsn-M,1223
@@ -8,7 +8,7 @@ autogluon/tabular/configs/hyperparameter_configs.py,sha256=aQ1rrF8P0MX4Ic5M33O96
8
8
  autogluon/tabular/configs/presets_configs.py,sha256=KxZkUU58dxvKeY8g94gdIJkqi2eos68262-efDJVrhY,7755
9
9
  autogluon/tabular/configs/zeroshot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  autogluon/tabular/configs/zeroshot/zeroshot_portfolio_2023.py,sha256=6yd84vPqOk-6sLCoM_e_PlphrR2NZUjliS7L1SMKMug,29777
11
- autogluon/tabular/configs/zeroshot/zeroshot_portfolio_2025.py,sha256=1EH54KvJT35xNVegh1SuvBWt0Qx07vQUdHyc10TwaOI,11966
11
+ autogluon/tabular/configs/zeroshot/zeroshot_portfolio_2025.py,sha256=NXwfqZLQLx4kdvRqF6deFDdhZZKxbfgpUurdB0kqOh8,11996
12
12
  autogluon/tabular/experimental/__init__.py,sha256=PpkdMSv_pPZted1XRIuzcFWKjM-66VMUukTnCcoiW0s,100
13
13
  autogluon/tabular/experimental/_scikit_mixin.py,sha256=cKeCmtURAXZnhQGrkCBw5rmACCQF7biAWTT3qX8bM2Q,2281
14
14
  autogluon/tabular/experimental/_tabular_classifier.py,sha256=7lGoFdvkHiZS3VpcXo97q4ENV9qyIVDExlWkm0wzL3s,2527
@@ -69,7 +69,7 @@ autogluon/tabular/models/lr/hyperparameters/__init__.py,sha256=47DEQpj8HBSa-_TIm
69
69
  autogluon/tabular/models/lr/hyperparameters/parameters.py,sha256=Hr5YC13zjbt3CfCbzGj8iXUIuDn-Q7FvDT2uSuiSVlM,1414
70
70
  autogluon/tabular/models/lr/hyperparameters/searchspaces.py,sha256=Igywc-B6qJ9EBLdasrDhW-Ot5FGirIzbXLwv5HRe5Xo,276
71
71
  autogluon/tabular/models/mitra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
- autogluon/tabular/models/mitra/mitra_model.py,sha256=LISemlSeyZiwC10EHfCG1V_6_lx5Z2SjLqCL6nQKf8c,12712
72
+ autogluon/tabular/models/mitra/mitra_model.py,sha256=Ugk2-YmMRlo127jTZKNIv2qEqwNby8_nfpSspng7D3o,12253
73
73
  autogluon/tabular/models/mitra/sklearn_interface.py,sha256=Znwx1uMagauu1DwcutM_kgGY8maQrxOE0KsP1uS46qE,18751
74
74
  autogluon/tabular/models/mitra/_internal/__init__.py,sha256=dN2dz1pGMgQTFiSf9oYbyq23iJUxV8QNlOX3qw3KUO4,35
75
75
  autogluon/tabular/models/mitra/_internal/config/__init__.py,sha256=Exu_Sx6-K-D5peDQ_TibsjZpqAALs2-9IXfq8hu1mwU,40
@@ -189,11 +189,11 @@ autogluon/tabular/trainer/model_presets/presets.py,sha256=hoWADaOG576Q_XLV1nY_ju
189
189
  autogluon/tabular/trainer/model_presets/presets_distill.py,sha256=MnFC2GJc6RmDBNAGbsO2XMfo3PjR8cUrZoilWW8gTYQ,3295
190
190
  autogluon/tabular/tuning/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
191
191
  autogluon/tabular/tuning/feature_pruner.py,sha256=9iNku8gVbYEkjuKlyITPJDicsNkoraaQOlINQq9iZlQ,6877
192
- autogluon.tabular-1.4.0b20250725.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
193
- autogluon.tabular-1.4.0b20250725.dist-info/METADATA,sha256=n_wcsTvwtMvOXv7eIkWRc9qVKukcl0NhzUihuv4ZwCI,16087
194
- autogluon.tabular-1.4.0b20250725.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
195
- autogluon.tabular-1.4.0b20250725.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
196
- autogluon.tabular-1.4.0b20250725.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
197
- autogluon.tabular-1.4.0b20250725.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
198
- autogluon.tabular-1.4.0b20250725.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
199
- autogluon.tabular-1.4.0b20250725.dist-info/RECORD,,
192
+ autogluon.tabular-1.4.0b20250726.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
193
+ autogluon.tabular-1.4.0b20250726.dist-info/METADATA,sha256=V_CVPxxcyxysZ71Rgv0tAHgZmy9HG3srrsNYYnpd680,16087
194
+ autogluon.tabular-1.4.0b20250726.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
195
+ autogluon.tabular-1.4.0b20250726.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
196
+ autogluon.tabular-1.4.0b20250726.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
197
+ autogluon.tabular-1.4.0b20250726.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
198
+ autogluon.tabular-1.4.0b20250726.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
199
+ autogluon.tabular-1.4.0b20250726.dist-info/RECORD,,