instance-repo 1.0.9.dev1__tar.gz → 1.0.9.dev2__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.
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/PKG-INFO +3 -2
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/README.md +2 -1
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/__init__.py +1 -1
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/models.py +4 -3
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo.egg-info/PKG-INFO +3 -2
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/pyproject.toml +1 -1
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/_routing.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/_site_defaults.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/bootstrap.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/cache.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/cli.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/__init__.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/benchmarks.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/config.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/datasets.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/images.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/instances.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/reports.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/scaffold.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/splits.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/versions.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/clients/workflows.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/concurrency.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/content.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/endpoints.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/errors.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/image.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/layout.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/loader.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/paths.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/release.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/repo.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/retry.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/store/__init__.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/store/acr.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/store/base.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/store/oss.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/store/registry.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/tasktoml.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/transport.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo/validate.py +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo.egg-info/SOURCES.txt +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo.egg-info/dependency_links.txt +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo.egg-info/entry_points.txt +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo.egg-info/requires.txt +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo.egg-info/top_level.txt +0 -0
- {instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: instance-repo
|
|
3
|
-
Version: 1.0.9.
|
|
3
|
+
Version: 1.0.9.dev2
|
|
4
4
|
Summary: InstanceRepo SDK — 评测 Instance 统一存储客户端(SDK-only;控制面由 apiserver 承载)
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -149,9 +149,10 @@ keys = repo.list_user_data(uid)
|
|
|
149
149
|
irepo --help
|
|
150
150
|
# 全局参数:--api-env / --api-base / --cluster / --storage-env / --metadata-model / --profile
|
|
151
151
|
# 无 --api-key:凭据只从 AP_API_KEY(旧别名 INSTANCEREPO_TOKEN)读取,避免进 shell history
|
|
152
|
-
#
|
|
152
|
+
# 20 个子命令:validate / push / push-many / deliver / pull / list / get
|
|
153
153
|
# publish / grant / feedback / report / whoami / user-data
|
|
154
154
|
# repo-config / create / claim / version / image
|
|
155
|
+
# split(list/get/set-run-type)/ dataset(list/get/update/access/revoke/benchmarks/workflows)
|
|
155
156
|
irepo image ref --dataset alibaba/mybench --instance-id inst-1 --split test
|
|
156
157
|
irepo image pull '<acr>/<ns>/mybench:test-inst-1' ./out.tar
|
|
157
158
|
```
|
|
@@ -136,9 +136,10 @@ keys = repo.list_user_data(uid)
|
|
|
136
136
|
irepo --help
|
|
137
137
|
# 全局参数:--api-env / --api-base / --cluster / --storage-env / --metadata-model / --profile
|
|
138
138
|
# 无 --api-key:凭据只从 AP_API_KEY(旧别名 INSTANCEREPO_TOKEN)读取,避免进 shell history
|
|
139
|
-
#
|
|
139
|
+
# 20 个子命令:validate / push / push-many / deliver / pull / list / get
|
|
140
140
|
# publish / grant / feedback / report / whoami / user-data
|
|
141
141
|
# repo-config / create / claim / version / image
|
|
142
|
+
# split(list/get/set-run-type)/ dataset(list/get/update/access/revoke/benchmarks/workflows)
|
|
142
143
|
irepo image ref --dataset alibaba/mybench --instance-id inst-1 --split test
|
|
143
144
|
irepo image pull '<acr>/<ns>/mybench:test-inst-1' ./out.tar
|
|
144
145
|
```
|
|
@@ -124,7 +124,7 @@ class DatasetSeries:
|
|
|
124
124
|
available_envs: list[str] = field(default_factory=list)
|
|
125
125
|
# 服务端 `DatasetSeriesStatus`("" 正常 / "deprecated");列表项
|
|
126
126
|
# `DatasetListItem.Status` 带 `omitempty`,正常态不出现。
|
|
127
|
-
|
|
127
|
+
status: str = ""
|
|
128
128
|
|
|
129
129
|
def validate(self) -> None:
|
|
130
130
|
if self.visibility not in VISIBILITY_VALUES:
|
|
@@ -139,11 +139,12 @@ class DatasetSeries:
|
|
|
139
139
|
"""create 请求体:剔除服务端派生/服务端分配的字段。
|
|
140
140
|
|
|
141
141
|
teacher_direction / teacher_type 由 apiserver 从 benchmark 派生(传了也被忽略),
|
|
142
|
-
dataset_id 由服务端分配;dataset_l1 / dataset_l2 由 dataset_name
|
|
142
|
+
dataset_id 由服务端分配;dataset_l1 / dataset_l2 由 dataset_name 推导。status
|
|
143
|
+
是服务端 DatasetSeriesStatus(deprecated 打标),create 不接受。都不发送,
|
|
143
144
|
避免让调用方误以为这些值能由客户端决定。
|
|
144
145
|
"""
|
|
145
146
|
drop = {"teacher_direction", "teacher_type", "dataset_id",
|
|
146
|
-
"dataset_l1", "dataset_l2"}
|
|
147
|
+
"dataset_l1", "dataset_l2", "status"}
|
|
147
148
|
return {k: v for k, v in self.to_dict().items() if k not in drop}
|
|
148
149
|
|
|
149
150
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: instance-repo
|
|
3
|
-
Version: 1.0.9.
|
|
3
|
+
Version: 1.0.9.dev2
|
|
4
4
|
Summary: InstanceRepo SDK — 评测 Instance 统一存储客户端(SDK-only;控制面由 apiserver 承载)
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -149,9 +149,10 @@ keys = repo.list_user_data(uid)
|
|
|
149
149
|
irepo --help
|
|
150
150
|
# 全局参数:--api-env / --api-base / --cluster / --storage-env / --metadata-model / --profile
|
|
151
151
|
# 无 --api-key:凭据只从 AP_API_KEY(旧别名 INSTANCEREPO_TOKEN)读取,避免进 shell history
|
|
152
|
-
#
|
|
152
|
+
# 20 个子命令:validate / push / push-many / deliver / pull / list / get
|
|
153
153
|
# publish / grant / feedback / report / whoami / user-data
|
|
154
154
|
# repo-config / create / claim / version / image
|
|
155
|
+
# split(list/get/set-run-type)/ dataset(list/get/update/access/revoke/benchmarks/workflows)
|
|
155
156
|
irepo image ref --dataset alibaba/mybench --instance-id inst-1 --split test
|
|
156
157
|
irepo image pull '<acr>/<ns>/mybench:test-inst-1' ./out.tar
|
|
157
158
|
```
|
|
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
|
|
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
|
|
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
|
{instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{instance_repo-1.0.9.dev1 → instance_repo-1.0.9.dev2}/instance_repo.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|