aiauto-client 0.1.27__py3-none-any.whl → 0.1.29__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.
- aiauto/__init__.py +3 -3
- aiauto/core.py +8 -8
- {aiauto_client-0.1.27.dist-info → aiauto_client-0.1.29.dist-info}/METADATA +1 -1
- aiauto_client-0.1.29.dist-info/RECORD +10 -0
- aiauto_client-0.1.27.dist-info/RECORD +0 -10
- {aiauto_client-0.1.27.dist-info → aiauto_client-0.1.29.dist-info}/WHEEL +0 -0
- {aiauto_client-0.1.27.dist-info → aiauto_client-0.1.29.dist-info}/top_level.txt +0 -0
aiauto/__init__.py
CHANGED
@@ -2,13 +2,13 @@ from .core import AIAutoController, TrialController, CallbackTopNArtifact, Study
|
|
2
2
|
from ._config import AIAUTO_API_TARGET
|
3
3
|
from .constants import RUNTIME_IMAGES
|
4
4
|
|
5
|
-
__version__ = "0.1.
|
5
|
+
__version__ = "0.1.29"
|
6
6
|
|
7
7
|
__all__ = [
|
8
8
|
'AIAutoController',
|
9
|
-
'TrialController',
|
9
|
+
'TrialController',
|
10
10
|
'CallbackTopNArtifact',
|
11
11
|
'StudyWrapper',
|
12
12
|
'AIAUTO_API_TARGET',
|
13
13
|
'RUNTIME_IMAGES',
|
14
|
-
]
|
14
|
+
]
|
aiauto/core.py
CHANGED
@@ -162,14 +162,17 @@ class CallbackTopNArtifact:
|
|
162
162
|
for old_trial in finished_with_artifacts[self.n_keep:]:
|
163
163
|
artifact_id = old_trial.user_attrs.get(self.check_attr_name)
|
164
164
|
if artifact_id:
|
165
|
-
# 파일 삭제
|
166
165
|
try:
|
167
166
|
self.artifact_store.remove(artifact_id)
|
168
167
|
except Exception as e:
|
169
168
|
print(f"Warning: Failed to remove artifact {artifact_id}: {e}")
|
170
|
-
|
171
|
-
|
172
|
-
|
169
|
+
finally:
|
170
|
+
try:
|
171
|
+
# 일부 스토리지(GrpcStorageProxy)는 None 값을 무시하거나 직렬화하지 않을 수 있음.
|
172
|
+
# UI에서 링크를 숨기기 위해 빈 문자열로 설정(빈 문자열은 falsy로 처리됨).
|
173
|
+
study._storage.set_trial_user_attr(old_trial._trial_id, self.check_attr_name, "")
|
174
|
+
except Exception as e2:
|
175
|
+
print(f"Warning: Failed to clear user_attr {self.check_attr_name} for trial {old_trial.number}: {e2}")
|
173
176
|
|
174
177
|
|
175
178
|
class StudyWrapper:
|
@@ -214,10 +217,7 @@ class StudyWrapper:
|
|
214
217
|
resources_requests = {"cpu": "1", "memory": "1Gi"}
|
215
218
|
|
216
219
|
if resources_limits is None:
|
217
|
-
|
218
|
-
resources_limits = {"cpu": "2", "memory": "4Gi"}
|
219
|
-
else:
|
220
|
-
resources_limits = {"cpu": "1", "memory": "1Gi"}
|
220
|
+
resources_limits = {} # 빈 dict로 전달, operator가 requests 기반으로 처리
|
221
221
|
|
222
222
|
if runtime_image is None or runtime_image == "":
|
223
223
|
if use_gpu:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aiauto-client
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.29
|
4
4
|
Summary: AI Auto HPO (Hyperparameter Optimization) Client Library
|
5
5
|
Author-email: AIAuto Team <ainode@zeroone.ai>
|
6
6
|
Project-URL: Homepage, https://dashboard.common.aiauto.pangyo.ainode.ai
|
@@ -0,0 +1,10 @@
|
|
1
|
+
aiauto/__init__.py,sha256=1O7vEwjbHS7lb6T686dg7RgBmaWHuGBvmm2kJHNRePE,346
|
2
|
+
aiauto/_config.py,sha256=hTFh2bH9m-HuX6QCpNtBC0j6rEB0S97hhPKjbEjv4Tg,89
|
3
|
+
aiauto/constants.py,sha256=rBibGOQHHrdkwaai92-3I8-N0cu-B4CoCoQbG9-Cl8k,821
|
4
|
+
aiauto/core.py,sha256=5co4_Iyir5xuGInY5Rp1hav7hhUaHuoQiasoJ4Vj0Hw,11129
|
5
|
+
aiauto/http_client.py,sha256=v_nPdb-2tIeH1XrOYqzMGvFfXLKEDbQoSaQYPsB0Hik,2587
|
6
|
+
aiauto/serializer.py,sha256=BJmeq6uCD9D2_6bXu_sMBQLSsXCUMIMM10iX923DTXE,2749
|
7
|
+
aiauto_client-0.1.29.dist-info/METADATA,sha256=fCWSx3oM0MfapSVoB1LDcMC4fnXBeU1Awbno-PpP4lk,25746
|
8
|
+
aiauto_client-0.1.29.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
9
|
+
aiauto_client-0.1.29.dist-info/top_level.txt,sha256=Sk2ctO9_Bf_tAPwq1x6Vfl6OuL29XzwMTO4F_KG6oJE,7
|
10
|
+
aiauto_client-0.1.29.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
aiauto/__init__.py,sha256=sF7sJaXg7-MqolSYLxsaXAir1dBzARhXLrHo7zLsupg,345
|
2
|
-
aiauto/_config.py,sha256=hTFh2bH9m-HuX6QCpNtBC0j6rEB0S97hhPKjbEjv4Tg,89
|
3
|
-
aiauto/constants.py,sha256=rBibGOQHHrdkwaai92-3I8-N0cu-B4CoCoQbG9-Cl8k,821
|
4
|
-
aiauto/core.py,sha256=n5nJsvzsnnBgBtdyecHcYxSian4NbD4IBl-cmdDag-w,10864
|
5
|
-
aiauto/http_client.py,sha256=v_nPdb-2tIeH1XrOYqzMGvFfXLKEDbQoSaQYPsB0Hik,2587
|
6
|
-
aiauto/serializer.py,sha256=BJmeq6uCD9D2_6bXu_sMBQLSsXCUMIMM10iX923DTXE,2749
|
7
|
-
aiauto_client-0.1.27.dist-info/METADATA,sha256=tcd9TScT1WiEovn73ZKL8Vx0fqpzGrapbJeUnavbaNQ,25746
|
8
|
-
aiauto_client-0.1.27.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
9
|
-
aiauto_client-0.1.27.dist-info/top_level.txt,sha256=Sk2ctO9_Bf_tAPwq1x6Vfl6OuL29XzwMTO4F_KG6oJE,7
|
10
|
-
aiauto_client-0.1.27.dist-info/RECORD,,
|
File without changes
|
File without changes
|