ap-client 0.7.0.dev8__tar.gz → 0.7.0.dev11__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.
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/PKG-INFO +1 -1
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/cli.py +27 -43
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/pyproject.toml +1 -1
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/__init__.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/akpool_commands.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/api.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/config.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/dataset_commands.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/dataset_name.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/dataset_register.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/dfs_commands.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/exporter.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/fs_commands.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/fs_storage.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/fs_transfer.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/instance_commands.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/instance_options.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/irepo_sdk.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/managed_ak.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/manifest_view.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/ossutil_hash.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/ossutil_io.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/profile_commands.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/repo_read_guard.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/share_api.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/split_publish.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/tbb.py +0 -0
- {ap_client-0.7.0.dev8 → ap_client-0.7.0.dev11}/ap_client/waiter.py +0 -0
|
@@ -3238,54 +3238,38 @@ def job_create(
|
|
|
3238
3238
|
|
|
3239
3239
|
For agents:
|
|
3240
3240
|
\b
|
|
3241
|
-
Before submitting, you
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
For Benchmark, prefer the registered source_id; retain valid inherited values.
|
|
3249
|
-
Do not infer target model from serving/Judge models or training stage from evaluation.
|
|
3250
|
-
After checking, pass reliably resolved values; leave only unresolved fields unset.
|
|
3251
|
-
Do not guess or ask the user just to fill labels.
|
|
3252
|
-
In the submission summary, list each of the five fields with its value and source,
|
|
3253
|
-
or why it remains unresolved.
|
|
3254
|
-
All five options remain optional; existing validation still applies.
|
|
3241
|
+
Before submitting, you MUST ensure these five parameters are explicitly specified:
|
|
3242
|
+
benchmark, meta-model, meta-job-type, meta-train-stage, meta-teacher-direction.
|
|
3243
|
+
Keep specified values. Fill missing parameters using available Job, Group,
|
|
3244
|
+
Profile, Dataset, Template, or other relevant information.
|
|
3245
|
+
If a missing value cannot be inferred, use default for benchmark
|
|
3246
|
+
or Others for the corresponding meta parameter.
|
|
3247
|
+
Do not ask the user for these values.
|
|
3255
3248
|
|
|
3256
3249
|
Model configuration:
|
|
3257
3250
|
Supply template parameters through --params/-p; select a managed credential with --ak-id.
|
|
3258
3251
|
|
|
3259
3252
|
Examples:
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
#
|
|
3264
|
-
ap job create
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
# Batch jobs
|
|
3273
|
-
ap job create claw-eval-task --dataset
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
# Debug mode - keep pod alive for interactive debugging (Pod Login)
|
|
3282
|
-
ap job create stress-test -p '{"duration":60}' --debug
|
|
3283
|
-
|
|
3284
|
-
# Debug mode with custom keep-alive duration
|
|
3285
|
-
ap job create stress-test -p '{"duration":60}' --debug --debug-keep-alive-seconds 7200
|
|
3286
|
-
|
|
3287
|
-
# Apply per-instance resource settings from a Resource Profile
|
|
3288
|
-
ap job create claw-eval-task --dataset claw-eval/v1 --resource-profile rp-123
|
|
3253
|
+
Use catalog/context-selected values for the metadata variables below.
|
|
3254
|
+
|
|
3255
|
+
\b
|
|
3256
|
+
# Profile submission (PROFILE_REF is ID:vN)
|
|
3257
|
+
ap job create --profile "$PROFILE_REF" -i "$INSTANCE_ID" \\
|
|
3258
|
+
--benchmark "$BENCHMARK_ID" \\
|
|
3259
|
+
--meta-model "$META_MODEL" \\
|
|
3260
|
+
--meta-job-type "$META_JOB_TYPE" \\
|
|
3261
|
+
--meta-train-stage "$META_TRAIN_STAGE" \\
|
|
3262
|
+
--meta-teacher-direction "$META_TEACHER_DIRECTION"
|
|
3263
|
+
|
|
3264
|
+
\b
|
|
3265
|
+
# Batch jobs from a Dataset (first 3 instances)
|
|
3266
|
+
ap job create claw-eval-task --dataset "$DATASET_PATH" --range 0,3 \\
|
|
3267
|
+
-p '{"model":"qwen-max"}' \\
|
|
3268
|
+
--benchmark "$BENCHMARK_ID" \\
|
|
3269
|
+
--meta-model "$META_MODEL" \\
|
|
3270
|
+
--meta-job-type "$META_JOB_TYPE" \\
|
|
3271
|
+
--meta-train-stage "$META_TRAIN_STAGE" \\
|
|
3272
|
+
--meta-teacher-direction "$META_TEACHER_DIRECTION"
|
|
3289
3273
|
|
|
3290
3274
|
"""
|
|
3291
3275
|
if transparency is not None and transparency not in {"whitebox", "blackbox"}:
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ap-client"
|
|
7
|
-
version = "0.7.0.
|
|
7
|
+
version = "0.7.0.dev11"
|
|
8
8
|
description = "Agent Platform API Client & CLI"
|
|
9
9
|
readme = { text = "A lightweight Python SDK and command line interface for Agent Platform. It provides helpers for configuring API access and managing templates, datasets, jobs, and groups.", content-type = "text/markdown" }
|
|
10
10
|
requires-python = ">=3.10"
|
|
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
|