aiauto-client 0.1.20__tar.gz → 0.1.21__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.
Files changed (21) hide show
  1. {aiauto_client-0.1.20/src/aiauto_client.egg-info → aiauto_client-0.1.21}/PKG-INFO +1 -1
  2. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/pyproject.toml +1 -1
  3. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto/core.py +7 -2
  4. {aiauto_client-0.1.20 → aiauto_client-0.1.21/src/aiauto_client.egg-info}/PKG-INFO +1 -1
  5. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/MANIFEST.in +0 -0
  6. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/README.md +0 -0
  7. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/examples/example_simple.py +0 -0
  8. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/examples/example_torch_multiple_objective.py +0 -0
  9. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/examples/example_torch_single_objective.py +0 -0
  10. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/setup.cfg +0 -0
  11. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto/__init__.py +0 -0
  12. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto/_config.py +0 -0
  13. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto/constants.py +0 -0
  14. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto/http_client.py +0 -0
  15. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto/serializer.py +0 -0
  16. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto_client.egg-info/SOURCES.txt +0 -0
  17. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto_client.egg-info/dependency_links.txt +0 -0
  18. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto_client.egg-info/requires.txt +0 -0
  19. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/src/aiauto_client.egg-info/top_level.txt +0 -0
  20. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/tests/test_pruners.py +0 -0
  21. {aiauto_client-0.1.20 → aiauto_client-0.1.21}/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.20
3
+ Version: 0.1.21
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aiauto-client"
7
- version = "0.1.20"
7
+ version = "0.1.21"
8
8
  description = "AI Auto HPO (Hyperparameter Optimization) Client Library"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -153,10 +153,15 @@ class CallbackTopNArtifact:
153
153
  if artifact_id:
154
154
  try:
155
155
  self.artifact_store.remove(artifact_id)
156
- # user_attr에서도 제거
157
- study._storage.set_trial_user_attr(old_trial._trial_id, self.check_attr_name, None)
158
156
  except Exception as e:
159
157
  print(f"Warning: Failed to remove artifact {artifact_id}: {e}")
158
+ finally:
159
+ try:
160
+ # 일부 스토리지(GrpcStorageProxy)는 None 값을 무시하거나 직렬화하지 않을 수 있음.
161
+ # UI에서 링크를 숨기기 위해 빈 문자열로 설정(빈 문자열은 falsy로 처리됨).
162
+ study._storage.set_trial_user_attr(old_trial._trial_id, self.check_attr_name, "")
163
+ except Exception as e2:
164
+ print(f"Warning: Failed to clear user_attr {self.check_attr_name} for trial {old_trial.number}: {e2}")
160
165
 
161
166
 
162
167
  class StudyWrapper:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aiauto-client
3
- Version: 0.1.20
3
+ Version: 0.1.21
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