aiauto-client 0.1.2__tar.gz → 0.1.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aiauto-client
3
- Version: 0.1.2
3
+ Version: 0.1.4
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://aiauto.cloude.ainode.ai
@@ -22,6 +22,8 @@ Requires-Python: >=3.8
22
22
  Description-Content-Type: text/markdown
23
23
  Requires-Dist: optuna>=3.0.0
24
24
  Requires-Dist: requests>=2.25.0
25
+ Requires-Dist: grpcio>=1.48.0
26
+ Requires-Dist: grpcio-status>=1.48.0
25
27
 
26
28
  # AIAuto - Hyperparameter Optimization Client Library
27
29
 
@@ -29,16 +31,8 @@ AIAuto는 Kubernetes 기반의 분산 HPO(Hyperparameter Optimization) 시스템
29
31
  사용자 python lib <-> Next.js 서버 사이 gRPC 통신 담당
30
32
 
31
33
  ## lib build
32
- - pypi build, upload 종속성 다운로드 `uv add --dev twine`
33
- - build lib `uv build`
34
- - `aiauto_client-0.1.1-py3-none-any.whl` 생성
35
- - `aiauto_client-0.1.1.tar.gz` 생성
36
- - `aiauto_client.egg-info` 생성
37
- - `~/.pypirc` 파일에 설정 확인
38
- - `twine upload --repository aiauto-client dist/*`
39
- - `twine upload dist/*`
40
- - upload 시 pypi token 을 입력하라고 나옴, pypi 로그인 계정 설정가면 있다
41
-
34
+ - `make build push`
35
+
42
36
  ## 설치
43
37
  - `uv add aiauto-client`
44
38
 
@@ -4,16 +4,8 @@ AIAuto는 Kubernetes 기반의 분산 HPO(Hyperparameter Optimization) 시스템
4
4
  사용자 python lib <-> Next.js 서버 사이 gRPC 통신 담당
5
5
 
6
6
  ## lib build
7
- - pypi build, upload 종속성 다운로드 `uv add --dev twine`
8
- - build lib `uv build`
9
- - `aiauto_client-0.1.1-py3-none-any.whl` 생성
10
- - `aiauto_client-0.1.1.tar.gz` 생성
11
- - `aiauto_client.egg-info` 생성
12
- - `~/.pypirc` 파일에 설정 확인
13
- - `twine upload --repository aiauto-client dist/*`
14
- - `twine upload dist/*`
15
- - upload 시 pypi token 을 입력하라고 나옴, pypi 로그인 계정 설정가면 있다
16
-
7
+ - `make build push`
8
+
17
9
  ## 설치
18
10
  - `uv add aiauto-client`
19
11
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aiauto-client"
7
- version = "0.1.2"
7
+ version = "0.1.4"
8
8
  description = "AI Auto HPO (Hyperparameter Optimization) Client Library"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -28,6 +28,8 @@ classifiers = [
28
28
  dependencies = [
29
29
  "optuna>=3.0.0",
30
30
  "requests>=2.25.0",
31
+ "grpcio>=1.48.0",
32
+ "grpcio-status>=1.48.0",
31
33
  ]
32
34
 
33
35
  [project.urls]
@@ -39,7 +39,10 @@ class AIAutoController:
39
39
  self.dashboard_url = response.get('dashboardUrl', '')
40
40
 
41
41
  except Exception as e:
42
- raise RuntimeError(f"Failed to initialize workspace: {e}") from e
42
+ raise RuntimeError(
43
+ f"Failed to initialize workspace: {e}\n"
44
+ "Please delete and reissue your token from the web dashboard at https://dashboard.aiauto.pangyo.ainode.ai"
45
+ ) from e
43
46
 
44
47
  # artifact storage
45
48
  makedirs('./artifacts', exist_ok=True)
@@ -132,7 +135,10 @@ class StudyWrapper:
132
135
  load_if_exists=True
133
136
  )
134
137
  except Exception as e:
135
- raise RuntimeError("Study not ready. Call get_status() and wait for phase=Ready.") from e
138
+ raise RuntimeError(
139
+ "Failed to get study. If this persists, please delete and reissue your token "
140
+ "from the web dashboard at https://dashboard.aiauto.pangyo.ainode.ai"
141
+ ) from e
136
142
  return self._study
137
143
 
138
144
  def optimize(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aiauto-client
3
- Version: 0.1.2
3
+ Version: 0.1.4
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://aiauto.cloude.ainode.ai
@@ -22,6 +22,8 @@ Requires-Python: >=3.8
22
22
  Description-Content-Type: text/markdown
23
23
  Requires-Dist: optuna>=3.0.0
24
24
  Requires-Dist: requests>=2.25.0
25
+ Requires-Dist: grpcio>=1.48.0
26
+ Requires-Dist: grpcio-status>=1.48.0
25
27
 
26
28
  # AIAuto - Hyperparameter Optimization Client Library
27
29
 
@@ -29,16 +31,8 @@ AIAuto는 Kubernetes 기반의 분산 HPO(Hyperparameter Optimization) 시스템
29
31
  사용자 python lib <-> Next.js 서버 사이 gRPC 통신 담당
30
32
 
31
33
  ## lib build
32
- - pypi build, upload 종속성 다운로드 `uv add --dev twine`
33
- - build lib `uv build`
34
- - `aiauto_client-0.1.1-py3-none-any.whl` 생성
35
- - `aiauto_client-0.1.1.tar.gz` 생성
36
- - `aiauto_client.egg-info` 생성
37
- - `~/.pypirc` 파일에 설정 확인
38
- - `twine upload --repository aiauto-client dist/*`
39
- - `twine upload dist/*`
40
- - upload 시 pypi token 을 입력하라고 나옴, pypi 로그인 계정 설정가면 있다
41
-
34
+ - `make build push`
35
+
42
36
  ## 설치
43
37
  - `uv add aiauto-client`
44
38
 
@@ -0,0 +1,4 @@
1
+ optuna>=3.0.0
2
+ requests>=2.25.0
3
+ grpcio>=1.48.0
4
+ grpcio-status>=1.48.0
@@ -1,2 +0,0 @@
1
- optuna>=3.0.0
2
- requests>=2.25.0
File without changes