autogluon.core 1.2.1b20250417__py3-none-any.whl → 1.2.1b20250419__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.
@@ -868,6 +868,15 @@ class AbstractModel(ModelBase, Tunable):
868
868
  minimum_model_num_cpus = minimum_model_resources.get("num_cpus", 1)
869
869
  minimum_model_num_gpus = minimum_model_resources.get("num_gpus", 0)
870
870
 
871
+ maximum_model_resources = self._get_maximum_resources()
872
+ maximum_model_num_cpus = maximum_model_resources.get("num_cpus", None)
873
+ maximum_model_num_gpus = maximum_model_resources.get("num_gpus", None)
874
+
875
+ if maximum_model_num_cpus is not None and maximum_model_num_cpus < num_cpus:
876
+ num_cpus = maximum_model_num_cpus
877
+ if maximum_model_num_gpus is not None and maximum_model_num_gpus < num_gpus:
878
+ num_gpus = maximum_model_num_gpus
879
+
871
880
  assert system_num_cpus >= num_cpus
872
881
  assert system_num_gpus >= num_gpus
873
882
 
autogluon/core/version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """This is the autogluon version file."""
2
2
 
3
- __version__ = "1.2.1b20250417"
3
+ __version__ = "1.2.1b20250419"
4
4
  __lite__ = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autogluon.core
3
- Version: 1.2.1b20250417
3
+ Version: 1.2.1b20250419
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
@@ -45,12 +45,12 @@ Requires-Dist: tqdm<5,>=4.38
45
45
  Requires-Dist: requests
46
46
  Requires-Dist: matplotlib<3.11,>=3.7.0
47
47
  Requires-Dist: boto3<2,>=1.10
48
- Requires-Dist: autogluon.common==1.2.1b20250417
48
+ Requires-Dist: autogluon.common==1.2.1b20250419
49
49
  Provides-Extra: all
50
- Requires-Dist: hyperopt<0.2.8,>=0.2.7; extra == "all"
51
50
  Requires-Dist: ray[default,tune]<2.45,>=2.10.0; extra == "all"
52
51
  Requires-Dist: ray[default]<2.45,>=2.10.0; extra == "all"
53
52
  Requires-Dist: pyarrow>=15.0.0; extra == "all"
53
+ Requires-Dist: hyperopt<0.2.8,>=0.2.7; extra == "all"
54
54
  Provides-Extra: ray
55
55
  Requires-Dist: ray[default]<2.45,>=2.10.0; extra == "ray"
56
56
  Provides-Extra: raytune
@@ -59,9 +59,9 @@ Requires-Dist: ray[default,tune]<2.45,>=2.10.0; extra == "raytune"
59
59
  Requires-Dist: hyperopt<0.2.8,>=0.2.7; extra == "raytune"
60
60
  Provides-Extra: tests
61
61
  Requires-Dist: pytest; extra == "tests"
62
- Requires-Dist: types-setuptools; extra == "tests"
63
62
  Requires-Dist: types-requests; extra == "tests"
64
63
  Requires-Dist: flake8; extra == "tests"
64
+ Requires-Dist: types-setuptools; extra == "tests"
65
65
  Requires-Dist: pytest-mypy; extra == "tests"
66
66
 
67
67
 
@@ -1,9 +1,9 @@
1
- autogluon.core-1.2.1b20250417-py3.9-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
1
+ autogluon.core-1.2.1b20250419-py3.9-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
2
2
  autogluon/core/__init__.py,sha256=8KfvvHzXX3a4q6z43Dw1yE7VtbAoiSMaglVpKDy6Xeg,245
3
3
  autogluon/core/_setup_utils.py,sha256=TnDboM66MzSp0CLACo_vcNNwhORQWE8JL0kt1IYa7dI,7014
4
4
  autogluon/core/constants.py,sha256=nEVLdSFJ-5O-tz3jUD3qPX65RMp7g8qOR38XlurbP4Y,3403
5
5
  autogluon/core/problem_type.py,sha256=XJmMgeNBgS7u43pDK-spTivatPyh_INOXveEXwQt-Rw,2993
6
- autogluon/core/version.py,sha256=9DNociU3CkjmMks3rFL-2UfsFfw26T7_cq6VAom-ic4,91
6
+ autogluon/core/version.py,sha256=KnhYQ6jLbqIvCiI4AYYVbzisJ31dHOaw-tUjtnfNV8M,91
7
7
  autogluon/core/augmentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  autogluon/core/augmentation/distill_utils.py,sha256=JBlp2WOMNKoJv8aKVwJVRQSalSk8jx36HM7-k_VvkhY,9404
9
9
  autogluon/core/calibrate/__init__.py,sha256=eU6qLj7DKUhaz2HHNHDrfroRaLM-mhuSncK_v1UP4F8,62
@@ -40,7 +40,7 @@ autogluon/core/models/__init__.py,sha256=raRAG4wml-xvCKp3zxthda7of9NEWcpafgpvZWJ
40
40
  autogluon/core/models/_utils.py,sha256=qswE9n1ge1AJSExgstEbrZiMFmMRa4Mf5Sz8D9-XU6c,2091
41
41
  autogluon/core/models/abstract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  autogluon/core/models/abstract/_tags.py,sha256=Qr_3an0ZMig24S3OwISa-nTFfWHQe3pwPTiXq4zlEec,3409
43
- autogluon/core/models/abstract/abstract_model.py,sha256=S4S_cYO_CZtk2tnk6-IwpXP0V7RfWYHsR9R7DmGMnPU,124310
43
+ autogluon/core/models/abstract/abstract_model.py,sha256=y2Qfn6WFcZ5P-KdEzcKFCbbY-3g8-4-yoDfjMzLS6zc,124796
44
44
  autogluon/core/models/abstract/abstract_nn_model.py,sha256=IId0ivO8uVvmpnK9OiM2CtPVrP1ewOaQQKtQUDtK7_k,4818
45
45
  autogluon/core/models/abstract/model_trial.py,sha256=PKEo1jfLSBCOLM42QE5VBD1u41MaVMRk31zhNhLiqTw,5035
46
46
  autogluon/core/models/dummy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -89,11 +89,11 @@ autogluon/core/utils/utils.py,sha256=FMa9kIUAxA3IIBbATmBnNEVObSAivehZ2_zCy3PRR-c
89
89
  autogluon/core/utils/version_utils.py,sha256=5-r8hLRKTaZbj5qo2uzE_2E4casH49Ye3WyeHlgHuz4,3252
90
90
  autogluon/core/utils/loaders/__init__.py,sha256=W5FAdQvpDcn_uisqJrlSAObWVta-YjJLKGN3NCbEgIo,109
91
91
  autogluon/core/utils/savers/__init__.py,sha256=bGWciSxAkj6u06vOC4pTvr22f_1ey0glgvmjCMEOm78,89
92
- autogluon.core-1.2.1b20250417.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
93
- autogluon.core-1.2.1b20250417.dist-info/METADATA,sha256=WFLhQI8Kh5SJ8AdlKK6wvNcZrFZlMqmTjsJ8gtqGe6s,12399
94
- autogluon.core-1.2.1b20250417.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
95
- autogluon.core-1.2.1b20250417.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
96
- autogluon.core-1.2.1b20250417.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
97
- autogluon.core-1.2.1b20250417.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
98
- autogluon.core-1.2.1b20250417.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
99
- autogluon.core-1.2.1b20250417.dist-info/RECORD,,
92
+ autogluon.core-1.2.1b20250419.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
93
+ autogluon.core-1.2.1b20250419.dist-info/METADATA,sha256=v3K3QXBs358LSCUSNzyRbyBKu2L2rWIS_IthaYJejcI,12399
94
+ autogluon.core-1.2.1b20250419.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
95
+ autogluon.core-1.2.1b20250419.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
96
+ autogluon.core-1.2.1b20250419.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
97
+ autogluon.core-1.2.1b20250419.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
98
+ autogluon.core-1.2.1b20250419.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
99
+ autogluon.core-1.2.1b20250419.dist-info/RECORD,,