aiauto-client 0.1.7__tar.gz → 0.1.8__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 (20) hide show
  1. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/PKG-INFO +1 -1
  2. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/examples/example_torch_multiple_objective.py +1 -1
  3. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/examples/example_torch_single_objective.py +1 -1
  4. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/examples/simple_example.py +3 -2
  5. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/pyproject.toml +1 -1
  6. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/core.py +2 -1
  7. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/PKG-INFO +1 -1
  8. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/MANIFEST.in +0 -0
  9. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/README.md +0 -0
  10. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/setup.cfg +0 -0
  11. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/__init__.py +0 -0
  12. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/_config.py +0 -0
  13. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/constants.py +0 -0
  14. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/http_client.py +0 -0
  15. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto/serializer.py +0 -0
  16. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/SOURCES.txt +0 -0
  17. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/dependency_links.txt +0 -0
  18. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/requires.txt +0 -0
  19. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/src/aiauto_client.egg-info/top_level.txt +0 -0
  20. {aiauto_client-0.1.7 → aiauto_client-0.1.8}/tests/test_local_storage.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aiauto-client
3
- Version: 0.1.7
3
+ Version: 0.1.8
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.aiauto.pangyo.ainode.ai
@@ -27,7 +27,7 @@ ac = aiauto.AIAutoController('<token>')
27
27
 
28
28
 
29
29
  # multi objective without pruning (accuracy + FLOPS)
30
- def objective_multi(trial: optuna.trial.Trial):
30
+ def objective_multi(trial):
31
31
  """
32
32
  다중 목적 함수: accuracy 최대화 + FLOPS 최소화
33
33
  hyper parameter tuning을 할 때는 데이터의 일부만 사용하여 빠르게 HPO를 한다
@@ -27,7 +27,7 @@ ac = aiauto.AIAutoController('<token>')
27
27
 
28
28
 
29
29
  # single objective accuracy with pruning
30
- def objective_single(trial: optuna.trial.Trial):
30
+ def objective_single(trial):
31
31
  """
32
32
  단일 목적 함수: accuracy 최대화
33
33
  hyper parameter tuning 할 때는 데이터의 일부만 사용하여 빠르게 HPO를 한다
@@ -11,7 +11,6 @@
11
11
  $ python simple_example.py
12
12
  """
13
13
 
14
- import optuna
15
14
  import aiauto
16
15
 
17
16
 
@@ -26,7 +25,9 @@ ac = aiauto.AIAutoController('<token>')
26
25
 
27
26
 
28
27
  # single objective accuracy
29
- def simple_objective(trial: optuna.trial.Trial):
28
+ def simple_objective(trial):
29
+ import optuna
30
+ import aiauto
30
31
  """
31
32
  간단한 2차 함수 최적화
32
33
  (x - 2)^2 + (y - 3)^2 를 최소화
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aiauto-client"
7
- version = "0.1.7"
7
+ version = "0.1.8"
8
8
  description = "AI Auto HPO (Hyperparameter Optimization) Client Library"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -202,7 +202,8 @@ class StudyWrapper:
202
202
  request_data = {
203
203
  "objective": {
204
204
  "sourceCode": serialize(objective),
205
- "requirementsTxt": build_requirements(requirements_file, requirements_list)
205
+ "requirementsTxt": build_requirements(requirements_file, requirements_list),
206
+ "objectiveName": objective.__name__ # 함수명 추출하여 전달
206
207
  },
207
208
  "batch": {
208
209
  "studyName": self.study_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aiauto-client
3
- Version: 0.1.7
3
+ Version: 0.1.8
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.aiauto.pangyo.ainode.ai
File without changes
File without changes
File without changes