aiauto-client 0.1.16__tar.gz → 0.1.17__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.16 → aiauto_client-0.1.17}/PKG-INFO +1 -1
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/examples/example_torch_single_objective.py +6 -6
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/pyproject.toml +1 -1
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto/core.py +3 -3
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto_client.egg-info/PKG-INFO +1 -1
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/MANIFEST.in +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/README.md +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/examples/example_torch_multiple_objective.py +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/examples/simple_example.py +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/setup.cfg +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto/__init__.py +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto/_config.py +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto/constants.py +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto/http_client.py +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto/serializer.py +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto_client.egg-info/SOURCES.txt +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto_client.egg-info/dependency_links.txt +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto_client.egg-info/requires.txt +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto_client.egg-info/top_level.txt +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/tests/test_pruners.py +0 -0
- {aiauto_client-0.1.16 → aiauto_client-0.1.17}/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.17
|
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
|
@@ -155,10 +155,10 @@ def objective_single(trial):
|
|
155
155
|
root="/tmp/cifar10_data", # Pod의 임시 디렉토리 사용
|
156
156
|
train=True,
|
157
157
|
download=True,
|
158
|
-
transform=[
|
158
|
+
transform=transforms.Compose([
|
159
159
|
transforms.ToTensor(),
|
160
160
|
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
|
161
|
-
],
|
161
|
+
]),
|
162
162
|
)
|
163
163
|
# 전체 데이터를 train, valid로 분할
|
164
164
|
n_total = len(dataset)
|
@@ -355,19 +355,19 @@ def objective_detailed(trial):
|
|
355
355
|
root="/tmp/cifar10_data",
|
356
356
|
train=True,
|
357
357
|
download=True,
|
358
|
-
transform=[
|
358
|
+
transform=transforms.Compose([
|
359
359
|
transforms.ToTensor(),
|
360
360
|
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
|
361
|
-
],
|
361
|
+
]),
|
362
362
|
)
|
363
363
|
test_dataset = datasets.CIFAR10(
|
364
364
|
root="/tmp/cifar10_data",
|
365
365
|
train=False,
|
366
366
|
download=True,
|
367
|
-
transform=[
|
367
|
+
transform=transforms.Compose([
|
368
368
|
transforms.ToTensor(),
|
369
369
|
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
|
370
|
-
],
|
370
|
+
]),
|
371
371
|
)
|
372
372
|
|
373
373
|
tc.log(f'full dataset: train {len(train_dataset)}, test {len(test_dataset)}')
|
@@ -190,7 +190,7 @@ class StudyWrapper:
|
|
190
190
|
requirements_list: Optional[List[str]] = None,
|
191
191
|
resources_requests: Optional[Dict[str, str]] = None,
|
192
192
|
resources_limits: Optional[Dict[str, str]] = None,
|
193
|
-
runtime_image: Optional[str] =
|
193
|
+
runtime_image: Optional[str] = None,
|
194
194
|
use_gpu: bool = False
|
195
195
|
) -> None:
|
196
196
|
# 리소스 기본값 설정
|
@@ -199,13 +199,13 @@ class StudyWrapper:
|
|
199
199
|
resources_requests = {"cpu": "2", "memory": "4Gi"}
|
200
200
|
else:
|
201
201
|
resources_requests = {"cpu": "1", "memory": "1Gi"}
|
202
|
-
|
202
|
+
|
203
203
|
if resources_limits is None:
|
204
204
|
if use_gpu:
|
205
205
|
resources_limits = {"cpu": "2", "memory": "4Gi"}
|
206
206
|
else:
|
207
207
|
resources_limits = {"cpu": "1", "memory": "1Gi"}
|
208
|
-
|
208
|
+
|
209
209
|
if runtime_image is None or runtime_image == "":
|
210
210
|
if use_gpu:
|
211
211
|
runtime_image = "pytorch/pytorch:2.1.0-cuda12.1-cudnn8-runtime"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aiauto-client
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.17
|
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
|
{aiauto_client-0.1.16 → aiauto_client-0.1.17}/src/aiauto_client.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|