aiauto-client 0.1.25__tar.gz → 0.1.27__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.
- {aiauto_client-0.1.25/src/aiauto_client.egg-info → aiauto_client-0.1.27}/PKG-INFO +1 -1
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/pyproject.toml +1 -1
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto/core.py +3 -23
- {aiauto_client-0.1.25 → aiauto_client-0.1.27/src/aiauto_client.egg-info}/PKG-INFO +1 -1
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/MANIFEST.in +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/README.md +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/examples/example_simple.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/examples/example_torch_multiple_objective.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/examples/example_torch_single_objective.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/setup.cfg +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto/__init__.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto/_config.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto/constants.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto/http_client.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto/serializer.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto_client.egg-info/SOURCES.txt +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto_client.egg-info/dependency_links.txt +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto_client.egg-info/requires.txt +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto_client.egg-info/top_level.txt +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/tests/test_pruners.py +0 -0
- {aiauto_client-0.1.25 → aiauto_client-0.1.27}/tests/test_samplers.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aiauto-client
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.27
|
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
|
@@ -162,34 +162,14 @@ 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
|
+
# 파일 삭제
|
165
166
|
try:
|
166
167
|
self.artifact_store.remove(artifact_id)
|
167
168
|
except Exception as e:
|
168
169
|
print(f"Warning: Failed to remove artifact {artifact_id}: {e}")
|
169
170
|
|
170
|
-
#
|
171
|
-
|
172
|
-
# 전체 user_attrs를 다시 설정하는 방식 사용
|
173
|
-
try:
|
174
|
-
# 현재 user_attrs 복사
|
175
|
-
new_attrs = dict(old_trial.user_attrs)
|
176
|
-
# artifact_id 키 제거
|
177
|
-
if self.check_attr_name in new_attrs:
|
178
|
-
del new_attrs[self.check_attr_name]
|
179
|
-
|
180
|
-
# 각 속성을 다시 설정 (artifact_id 제외)
|
181
|
-
for key, value in new_attrs.items():
|
182
|
-
study._storage.set_trial_user_attr(old_trial._trial_id, key, value)
|
183
|
-
|
184
|
-
# artifact_id를 명시적으로 None으로 설정 시도
|
185
|
-
# (일부 storage는 None을 "키 삭제"로 해석할 수 있음)
|
186
|
-
try:
|
187
|
-
study._storage.set_trial_user_attr(old_trial._trial_id, self.check_attr_name, None)
|
188
|
-
except:
|
189
|
-
pass # None이 지원되지 않으면 무시
|
190
|
-
|
191
|
-
except Exception as e2:
|
192
|
-
print(f"Warning: Failed to remove user_attr {self.check_attr_name} for trial {old_trial.number}: {e2}")
|
171
|
+
# artifact_removed 플래그 추가 (WAL 방식의 storage에서도 안전함)
|
172
|
+
study._storage.set_trial_user_attr(old_trial._trial_id, 'artifact_removed', True)
|
193
173
|
|
194
174
|
|
195
175
|
class StudyWrapper:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aiauto-client
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.27
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{aiauto_client-0.1.25 → aiauto_client-0.1.27}/src/aiauto_client.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|