ap-client 0.7.0.dev9__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.dev9 → ap_client-0.7.0.dev11}/PKG-INFO +1 -1
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/cli.py +20 -29
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/pyproject.toml +1 -1
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/__init__.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/akpool_commands.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/api.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/config.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/dataset_commands.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/dataset_name.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/dataset_register.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/dfs_commands.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/exporter.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/fs_commands.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/fs_storage.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/fs_transfer.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/instance_commands.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/instance_options.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/irepo_sdk.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/managed_ak.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/manifest_view.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/ossutil_hash.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/ossutil_io.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/profile_commands.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/repo_read_guard.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/share_api.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/split_publish.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/tbb.py +0 -0
- {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/waiter.py +0 -0
|
@@ -3250,35 +3250,26 @@ def job_create(
|
|
|
3250
3250
|
Supply template parameters through --params/-p; select a managed credential with --ak-id.
|
|
3251
3251
|
|
|
3252
3252
|
Examples:
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
#
|
|
3257
|
-
ap job create
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
# Batch jobs
|
|
3266
|
-
ap job create claw-eval-task --dataset
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
# Debug mode - keep pod alive for interactive debugging (Pod Login)
|
|
3275
|
-
ap job create stress-test -p '{"duration":60}' --debug
|
|
3276
|
-
|
|
3277
|
-
# Debug mode with custom keep-alive duration
|
|
3278
|
-
ap job create stress-test -p '{"duration":60}' --debug --debug-keep-alive-seconds 7200
|
|
3279
|
-
|
|
3280
|
-
# Apply per-instance resource settings from a Resource Profile
|
|
3281
|
-
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"
|
|
3282
3273
|
|
|
3283
3274
|
"""
|
|
3284
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
|