qualia-cli 0.3.0rc14__tar.gz → 0.3.0rc15__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.
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/PKG-INFO +56 -18
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/README.md +54 -16
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/examples/agent_path.sh +3 -2
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/pyproject.toml +4 -2
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/qualia-cli.spec.md +5 -4
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/__init__.py +1 -1
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/checks.py +46 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/dataset_ops.py +11 -6
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/datasets.py +124 -39
- qualia_cli-0.3.0rc15/src/qualia_cli/commands/pipelines.py +379 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/versions.py +30 -2
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_checks.py +62 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_dataset_ops.py +2 -1
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_datasets.py +89 -23
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_pipelines.py +201 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_umi_setup.py +139 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_versions.py +41 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_agent_path_example.py +10 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/uv.lock +2 -2
- qualia_cli-0.3.0rc14/src/qualia_cli/commands/pipelines.py +0 -158
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/.gitignore +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/client.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/__init__.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/activity.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/auth.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/credits.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/dataset_episodes.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/dataset_studio.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/git.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/grippers.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/instances.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/integrations.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/issues.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/members.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/mixtures.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/models.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/preparation.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/projects.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/robots.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/statuses.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/tasks.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/config.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/dataset_ref.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/main.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/output.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/src/qualia_cli/run_ref.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/__init__.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/agent_path_stub.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/__init__.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_activity.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_auth.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_credits.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_dataset_episodes.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_dataset_studio.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_dataset_transfer.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_git.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_grippers.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_integrations.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_issues.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_members.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_mixtures.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_models.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_preparation.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_projects.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_robots.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_robots_parity.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_statuses.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/commands/test_tasks.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/conftest.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_client.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_config.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_dataset_ref.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_main.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_older_sdk.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_output.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_run_ref.py +0 -0
- {qualia_cli-0.3.0rc14 → qualia_cli-0.3.0rc15}/tests/test_sdk_floor.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: qualia-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.0rc15
|
|
4
4
|
Summary: CLI for Qualia robot data curation: upload, curate, version and export datasets
|
|
5
5
|
Project-URL: Homepage, https://qualiastudios.dev
|
|
6
6
|
Project-URL: Documentation, https://docs.qualiastudios.dev
|
|
@@ -18,14 +18,14 @@ Classifier: Typing :: Typed
|
|
|
18
18
|
Requires-Python: >=3.10
|
|
19
19
|
Requires-Dist: click>=8.1.0
|
|
20
20
|
Requires-Dist: pyyaml>=6.0
|
|
21
|
-
Requires-Dist: qualia-sdk>=0.8.
|
|
21
|
+
Requires-Dist: qualia-sdk>=0.8.0rc15
|
|
22
22
|
Requires-Dist: rich>=13.0.0
|
|
23
23
|
Requires-Dist: typer>=0.15.0
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
|
|
26
26
|
# qualia-cli — terminal client for Qualia robot data: upload, curate, version, export
|
|
27
27
|
|
|
28
|
-
**Status:** beta pre-release (0.3.
|
|
28
|
+
**Status:** beta pre-release (0.3.0rc15) · **Distribution:** PyPI, `qualia-cli` (installs `qualia-sdk`)
|
|
29
29
|
|
|
30
30
|
Qualia keeps robot recordings (MCAP or LeRobot) as datasets of episodes. The `qualia` command
|
|
31
31
|
uploads a folder of takes and shows what preparation found in it. It links the episodes to a Task
|
|
@@ -55,25 +55,28 @@ pre-release for now.
|
|
|
55
55
|
### Pre-release builds
|
|
56
56
|
|
|
57
57
|
The CLI and the deployment it talks to negotiate the upload protocol exactly, so pin the version
|
|
58
|
-
your deployment's docs name. This candidate is `0.3.
|
|
58
|
+
your deployment's docs name. This candidate is `0.3.0rc15` and requires `qualia-sdk>=0.8.0rc15`.
|
|
59
59
|
`qualia dataset preparation` and `qualia dataset confirm-task-names` first shipped in `0.3.0rc12`;
|
|
60
60
|
`0.3.0rc11` answers "No such command". `qualia dataset preparation --wait` and
|
|
61
61
|
`qualia --version` first shipped in `0.3.0rc14`; `0.3.0rc13` answers "No such option".
|
|
62
|
+
`qualia dataset download --format original` takes a workspace key from `0.3.0rc15`; earlier
|
|
63
|
+
releases need an organization key and return the stored folder, `meta/qds` included.
|
|
62
64
|
|
|
63
65
|
```sh
|
|
64
|
-
pip install 'qualia-cli==0.3.
|
|
66
|
+
pip install 'qualia-cli==0.3.0rc15'
|
|
65
67
|
```
|
|
66
68
|
|
|
67
69
|
uv does not resolve a pre-release through a dependency, even one that names it, so uv needs the
|
|
68
70
|
flag as well as the pin:
|
|
69
71
|
|
|
70
72
|
```sh
|
|
71
|
-
uv tool install --prerelease=allow 'qualia-cli==0.3.
|
|
73
|
+
uv tool install --prerelease=allow 'qualia-cli==0.3.0rc15'
|
|
72
74
|
```
|
|
73
75
|
|
|
74
|
-
Upgrading from 0.1.2: fine-tuning
|
|
75
|
-
`
|
|
76
|
-
pipeline run.
|
|
76
|
+
Upgrading from 0.1.2: 0.3.0rc10 removed the fine-tuning commands (`qualia job list`, `launch`,
|
|
77
|
+
`get`, `items`, `logs`, `cancel`, `hyperparams`); `qualia status list --running` shows a launched
|
|
78
|
+
pipeline run. Training isn't available on your account's plan yet. We're working on it. To request
|
|
79
|
+
access, write to support@qualiastudios.dev.
|
|
77
80
|
|
|
78
81
|
## Quick start
|
|
79
82
|
|
|
@@ -133,7 +136,7 @@ qualia task drafts <task> # every draft run and its
|
|
|
133
136
|
No reference is sampled, suggested or silently omitted. The apply command
|
|
134
137
|
saves an editable proposal, never publishes; the file may edit its text and
|
|
135
138
|
procedure. `--max-cost` caps credit reservation, and `task draft-get` can
|
|
136
|
-
resume review after a lost connection. The draft runs on
|
|
139
|
+
resume review after a lost connection. The draft runs on Qualia VLM Fast in
|
|
137
140
|
every environment.
|
|
138
141
|
|
|
139
142
|
## Usage
|
|
@@ -189,7 +192,13 @@ qualia model slots pi05
|
|
|
189
192
|
# Launch any template the dashboard's launcher offers
|
|
190
193
|
qualia pipeline templates
|
|
191
194
|
qualia pipeline show <template> # launch fields and audience
|
|
192
|
-
qualia pipeline launch <template> --project <id> --set dataset=<version-id> --
|
|
195
|
+
qualia pipeline launch <template> --project <id> --set dataset=<version-id> --max-cost 400
|
|
196
|
+
qualia pipeline estimate <template> --project <id> --set dataset=<version-id>
|
|
197
|
+
qualia pipeline catalog # what your own templates may pin
|
|
198
|
+
qualia pipeline template validate -f our-act.toml
|
|
199
|
+
qualia pipeline template apply -f our-act.toml # new graph: next version; new description: same
|
|
200
|
+
qualia pipeline template history our-act
|
|
201
|
+
qualia pipeline template retire our-act
|
|
193
202
|
|
|
194
203
|
# Running work in a workspace (--workspace or QUALIA_WORKSPACE; --org for the
|
|
195
204
|
# organization), and stop one
|
|
@@ -234,6 +243,22 @@ qualia dataset upload ./session dk1-kitchen --source-format mcap_ros2
|
|
|
234
243
|
# The format is read from the tree when --source-format is left out.
|
|
235
244
|
qualia dataset upload ./my-recording my-dataset
|
|
236
245
|
|
|
246
|
+
# Who recorded each LeRobot episode, on which station, in which shift: put
|
|
247
|
+
# meta/qualia/episodes.jsonl in the tree before uploading, one line per episode
|
|
248
|
+
# (episode_index is a number from 0; operator, scene and session_id are quoted
|
|
249
|
+
# strings):
|
|
250
|
+
# {"episode_index": 0, "operator": "ana", "scene": "station-2", "session_id": "2026-11-09-am"}
|
|
251
|
+
# {"episode_index": 1, "operator": "ben", "scene": "station-1", "session_id": "2026-11-09-am"}
|
|
252
|
+
# {"episode_index": 2, "operator": "ana", "scene": "station-2", "session_id": "2026-11-09-pm"}
|
|
253
|
+
# An episode without a line keeps them empty; a line that cannot be applied is
|
|
254
|
+
# left out with a finding and never fails the upload. rig_id there means the
|
|
255
|
+
# robot, so leave stations out of it. Then filter and count by operator, scene
|
|
256
|
+
# (the station) and session (the shift), and correct a station with an edit,
|
|
257
|
+
# which wins over the file:
|
|
258
|
+
qualia dataset episodes <dataset> --filter 'operator = "ana" AND session = "2026-11-09-am"'
|
|
259
|
+
qualia dataset summary <dataset> --facet operator --facet scene --facet session
|
|
260
|
+
qualia dataset edit <episode>... -d <dataset> --scene "station-1"
|
|
261
|
+
|
|
237
262
|
# Save a default merged-dataset destination for uploads in this local config.
|
|
238
263
|
# It is bound to this API host, account, and workspace; changing it affects
|
|
239
264
|
# future upload intents, not uploads already in flight.
|
|
@@ -368,8 +393,8 @@ qualia dataset history <episode> -d <dataset>
|
|
|
368
393
|
qualia dataset videos <episode> -d <dataset> --download ./videos
|
|
369
394
|
|
|
370
395
|
# Download a dataset version in a format (lerobot_v3 default, lerobot_v2_1,
|
|
371
|
-
# mcap_ros2), or
|
|
372
|
-
# version, trims and splits not applied
|
|
396
|
+
# mcap_ros2), or the files its newest upload sent, byte for byte (original:
|
|
397
|
+
# no version, trims and splits not applied).
|
|
373
398
|
# No version means the newest: stable, or v0 when nothing is tagged yet (it
|
|
374
399
|
# says so). A version is a tag, stable, v0, the DatasetVersion id an upload
|
|
375
400
|
# prints, or a digest or id prefix. Default folder: ./<slug>-<tag>, plus
|
|
@@ -378,6 +403,10 @@ qualia dataset videos <episode> -d <dataset> --download ./videos
|
|
|
378
403
|
# Saved shelf:1.0 as mcap_ros2 to /path (12 files, 1.2 GB)
|
|
379
404
|
qualia dataset download <dataset>[:<version>] [dest] --format lerobot_v2_1
|
|
380
405
|
qualia dataset download <dataset> --format original
|
|
406
|
+
# Until QUA-4341 and QUA-4342, four cases download the stored folder (meta/qds included) over
|
|
407
|
+
# the older route instead, for an organization key, with a notice on stderr (also
|
|
408
|
+
# under --json): a sent file over 4.995 GiB, an upload that derived no episodes,
|
|
409
|
+
# a sent file with no recorded SHA-256, or a failed original build.
|
|
381
410
|
# pi_mcap_v1 and dreamlabs_v2_1 are files to upload to Physical Intelligence or
|
|
382
411
|
# Dream Labs with your own account: the version's episodes that are not
|
|
383
412
|
# rejected (Dream Labs: successful ones only). A failed episode is listed in
|
|
@@ -385,7 +414,8 @@ qualia dataset download <dataset> --format original
|
|
|
385
414
|
qualia dataset download <dataset>:<tag> --format pi_mcap_v1
|
|
386
415
|
|
|
387
416
|
# Versions: list, read, compare, tag, annotate; a merged dataset's merges and
|
|
388
|
-
# what was done in a version's round (its curation record)
|
|
417
|
+
# what was done in a version's round (its curation record). get and record
|
|
418
|
+
# take a version as <dataset>:<tag> or as <dataset> <tag>.
|
|
389
419
|
qualia dataset version list <dataset>
|
|
390
420
|
qualia dataset version diff <dataset> --base 1.0
|
|
391
421
|
qualia dataset version create <dataset> 1.1 --note "dropped 3 jerky takes"
|
|
@@ -600,7 +630,7 @@ qualia check get vlm # can this deployment run the V
|
|
|
600
630
|
qualia check runs --check vlm -d <dataset> --state FAILED # one line per run: vlm/<run-id>, state, raised, created
|
|
601
631
|
qualia check status <run> # QUEUED, RUNNING, SUCCEEDED or FAILED, with counts
|
|
602
632
|
qualia check findings <dataset> # issues and notes, with verdict, confidence and moments
|
|
603
|
-
qualia check reach-status <dataset> # Run solver: its settings
|
|
633
|
+
qualia check reach-status <dataset> # Run solver: its settings, how far the last run got, and the calibrations its uploads are mixed from
|
|
604
634
|
qualia check reach-cancel <dataset> # stop the run under way
|
|
605
635
|
```
|
|
606
636
|
|
|
@@ -663,7 +693,7 @@ Thresholds and reach:
|
|
|
663
693
|
```sh
|
|
664
694
|
qualia check ranges --interface-hash b3:<hex> # the fences per metric
|
|
665
695
|
qualia check run <dataset> --check reach # start the reach solver
|
|
666
|
-
qualia check reach-status <dataset> # settings, key, last run, stale
|
|
696
|
+
qualia check reach-status <dataset> # settings, key, last run, stale; Mixed: the calibrations the uploads hold when more than one (or the solver is refused for a mix), and whether the solver runs on them
|
|
667
697
|
qualia check reach-cancel <dataset> # stop it; solved takes keep their results
|
|
668
698
|
qualia check results <dataset> --state SUCCEEDED # where the robot cannot follow each take
|
|
669
699
|
```
|
|
@@ -698,7 +728,7 @@ qualia dataset setup <dataset> --robot <robot> # the solver is
|
|
|
698
728
|
qualia dataset setup <dataset> --base 0 0 0 --heading 0 # placement: metres, degrees
|
|
699
729
|
qualia dataset setup <dataset> --robot <robot> --wait # stay for the resolve
|
|
700
730
|
qualia dataset setup <dataset> --run-solver # press Run solver (never started by itself)
|
|
701
|
-
qualia check reach-status <dataset> # settings, last run, takes solved, stale
|
|
731
|
+
qualia check reach-status <dataset> # settings, last run, takes solved, stale, mixed calibrations
|
|
702
732
|
qualia check reach-cancel <dataset> # stop it; solved takes keep their results
|
|
703
733
|
```
|
|
704
734
|
|
|
@@ -733,12 +763,20 @@ then explicitly move eligible uploads using the revision printed by the check:
|
|
|
733
763
|
qualia dataset poses-precheck <merged-dataset>
|
|
734
764
|
qualia dataset poses-move <merged-dataset> --revision <revision>
|
|
735
765
|
qualia dataset poses-move <merged-dataset> --revision <revision> --member <upload> # retry one
|
|
766
|
+
qualia dataset poses-move <merged-dataset> --revision <revision> --rig <upload>=<gripper> # name an upload's UMI rig
|
|
736
767
|
qualia dataset poses-remove <merged-dataset> <upload> --revision <revision>
|
|
737
768
|
```
|
|
738
769
|
|
|
739
770
|
The check reports each upload and its blockers. Each move uses that upload's
|
|
740
771
|
capture rig calibration; uploads without a saved pose file cannot use this
|
|
741
|
-
path.
|
|
772
|
+
path. A workspace with several UMI rigs of one kind does not record which one an
|
|
773
|
+
upload was recorded on. An upload is never placed on one of them by guesswork. It is blocked
|
|
774
|
+
with the rigs it could be. The check lists them, and marks the one whose calibration the
|
|
775
|
+
upload already carries as a hint that is never applied. Name the rig per upload with
|
|
776
|
+
`--rig <upload>=<gripper>` on `poses-precheck` or `poses-move`, and repeat it for more uploads.
|
|
777
|
+
A move carries the rig it used. When the move lands, that rig is stored as the upload's rig, so later
|
|
778
|
+
checks use it and you name it once. A move that fails stores nothing, and retrying it repeats its rig.
|
|
779
|
+
A pre-check stores nothing. If the stored rig is deleted, the check asks again. The precheck currently requires a write-scoped credential; read-scoped
|
|
742
780
|
prechecks remain a follow-up. Removal makes the upload standalone again and records the removal;
|
|
743
781
|
its data and review decisions, and the merged dataset's old versions, remain.
|
|
744
782
|
A move of an upload with split episodes is blocked
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# qualia-cli — terminal client for Qualia robot data: upload, curate, version, export
|
|
2
2
|
|
|
3
|
-
**Status:** beta pre-release (0.3.
|
|
3
|
+
**Status:** beta pre-release (0.3.0rc15) · **Distribution:** PyPI, `qualia-cli` (installs `qualia-sdk`)
|
|
4
4
|
|
|
5
5
|
Qualia keeps robot recordings (MCAP or LeRobot) as datasets of episodes. The `qualia` command
|
|
6
6
|
uploads a folder of takes and shows what preparation found in it. It links the episodes to a Task
|
|
@@ -30,25 +30,28 @@ pre-release for now.
|
|
|
30
30
|
### Pre-release builds
|
|
31
31
|
|
|
32
32
|
The CLI and the deployment it talks to negotiate the upload protocol exactly, so pin the version
|
|
33
|
-
your deployment's docs name. This candidate is `0.3.
|
|
33
|
+
your deployment's docs name. This candidate is `0.3.0rc15` and requires `qualia-sdk>=0.8.0rc15`.
|
|
34
34
|
`qualia dataset preparation` and `qualia dataset confirm-task-names` first shipped in `0.3.0rc12`;
|
|
35
35
|
`0.3.0rc11` answers "No such command". `qualia dataset preparation --wait` and
|
|
36
36
|
`qualia --version` first shipped in `0.3.0rc14`; `0.3.0rc13` answers "No such option".
|
|
37
|
+
`qualia dataset download --format original` takes a workspace key from `0.3.0rc15`; earlier
|
|
38
|
+
releases need an organization key and return the stored folder, `meta/qds` included.
|
|
37
39
|
|
|
38
40
|
```sh
|
|
39
|
-
pip install 'qualia-cli==0.3.
|
|
41
|
+
pip install 'qualia-cli==0.3.0rc15'
|
|
40
42
|
```
|
|
41
43
|
|
|
42
44
|
uv does not resolve a pre-release through a dependency, even one that names it, so uv needs the
|
|
43
45
|
flag as well as the pin:
|
|
44
46
|
|
|
45
47
|
```sh
|
|
46
|
-
uv tool install --prerelease=allow 'qualia-cli==0.3.
|
|
48
|
+
uv tool install --prerelease=allow 'qualia-cli==0.3.0rc15'
|
|
47
49
|
```
|
|
48
50
|
|
|
49
|
-
Upgrading from 0.1.2: fine-tuning
|
|
50
|
-
`
|
|
51
|
-
pipeline run.
|
|
51
|
+
Upgrading from 0.1.2: 0.3.0rc10 removed the fine-tuning commands (`qualia job list`, `launch`,
|
|
52
|
+
`get`, `items`, `logs`, `cancel`, `hyperparams`); `qualia status list --running` shows a launched
|
|
53
|
+
pipeline run. Training isn't available on your account's plan yet. We're working on it. To request
|
|
54
|
+
access, write to support@qualiastudios.dev.
|
|
52
55
|
|
|
53
56
|
## Quick start
|
|
54
57
|
|
|
@@ -108,7 +111,7 @@ qualia task drafts <task> # every draft run and its
|
|
|
108
111
|
No reference is sampled, suggested or silently omitted. The apply command
|
|
109
112
|
saves an editable proposal, never publishes; the file may edit its text and
|
|
110
113
|
procedure. `--max-cost` caps credit reservation, and `task draft-get` can
|
|
111
|
-
resume review after a lost connection. The draft runs on
|
|
114
|
+
resume review after a lost connection. The draft runs on Qualia VLM Fast in
|
|
112
115
|
every environment.
|
|
113
116
|
|
|
114
117
|
## Usage
|
|
@@ -164,7 +167,13 @@ qualia model slots pi05
|
|
|
164
167
|
# Launch any template the dashboard's launcher offers
|
|
165
168
|
qualia pipeline templates
|
|
166
169
|
qualia pipeline show <template> # launch fields and audience
|
|
167
|
-
qualia pipeline launch <template> --project <id> --set dataset=<version-id> --
|
|
170
|
+
qualia pipeline launch <template> --project <id> --set dataset=<version-id> --max-cost 400
|
|
171
|
+
qualia pipeline estimate <template> --project <id> --set dataset=<version-id>
|
|
172
|
+
qualia pipeline catalog # what your own templates may pin
|
|
173
|
+
qualia pipeline template validate -f our-act.toml
|
|
174
|
+
qualia pipeline template apply -f our-act.toml # new graph: next version; new description: same
|
|
175
|
+
qualia pipeline template history our-act
|
|
176
|
+
qualia pipeline template retire our-act
|
|
168
177
|
|
|
169
178
|
# Running work in a workspace (--workspace or QUALIA_WORKSPACE; --org for the
|
|
170
179
|
# organization), and stop one
|
|
@@ -209,6 +218,22 @@ qualia dataset upload ./session dk1-kitchen --source-format mcap_ros2
|
|
|
209
218
|
# The format is read from the tree when --source-format is left out.
|
|
210
219
|
qualia dataset upload ./my-recording my-dataset
|
|
211
220
|
|
|
221
|
+
# Who recorded each LeRobot episode, on which station, in which shift: put
|
|
222
|
+
# meta/qualia/episodes.jsonl in the tree before uploading, one line per episode
|
|
223
|
+
# (episode_index is a number from 0; operator, scene and session_id are quoted
|
|
224
|
+
# strings):
|
|
225
|
+
# {"episode_index": 0, "operator": "ana", "scene": "station-2", "session_id": "2026-11-09-am"}
|
|
226
|
+
# {"episode_index": 1, "operator": "ben", "scene": "station-1", "session_id": "2026-11-09-am"}
|
|
227
|
+
# {"episode_index": 2, "operator": "ana", "scene": "station-2", "session_id": "2026-11-09-pm"}
|
|
228
|
+
# An episode without a line keeps them empty; a line that cannot be applied is
|
|
229
|
+
# left out with a finding and never fails the upload. rig_id there means the
|
|
230
|
+
# robot, so leave stations out of it. Then filter and count by operator, scene
|
|
231
|
+
# (the station) and session (the shift), and correct a station with an edit,
|
|
232
|
+
# which wins over the file:
|
|
233
|
+
qualia dataset episodes <dataset> --filter 'operator = "ana" AND session = "2026-11-09-am"'
|
|
234
|
+
qualia dataset summary <dataset> --facet operator --facet scene --facet session
|
|
235
|
+
qualia dataset edit <episode>... -d <dataset> --scene "station-1"
|
|
236
|
+
|
|
212
237
|
# Save a default merged-dataset destination for uploads in this local config.
|
|
213
238
|
# It is bound to this API host, account, and workspace; changing it affects
|
|
214
239
|
# future upload intents, not uploads already in flight.
|
|
@@ -343,8 +368,8 @@ qualia dataset history <episode> -d <dataset>
|
|
|
343
368
|
qualia dataset videos <episode> -d <dataset> --download ./videos
|
|
344
369
|
|
|
345
370
|
# Download a dataset version in a format (lerobot_v3 default, lerobot_v2_1,
|
|
346
|
-
# mcap_ros2), or
|
|
347
|
-
# version, trims and splits not applied
|
|
371
|
+
# mcap_ros2), or the files its newest upload sent, byte for byte (original:
|
|
372
|
+
# no version, trims and splits not applied).
|
|
348
373
|
# No version means the newest: stable, or v0 when nothing is tagged yet (it
|
|
349
374
|
# says so). A version is a tag, stable, v0, the DatasetVersion id an upload
|
|
350
375
|
# prints, or a digest or id prefix. Default folder: ./<slug>-<tag>, plus
|
|
@@ -353,6 +378,10 @@ qualia dataset videos <episode> -d <dataset> --download ./videos
|
|
|
353
378
|
# Saved shelf:1.0 as mcap_ros2 to /path (12 files, 1.2 GB)
|
|
354
379
|
qualia dataset download <dataset>[:<version>] [dest] --format lerobot_v2_1
|
|
355
380
|
qualia dataset download <dataset> --format original
|
|
381
|
+
# Until QUA-4341 and QUA-4342, four cases download the stored folder (meta/qds included) over
|
|
382
|
+
# the older route instead, for an organization key, with a notice on stderr (also
|
|
383
|
+
# under --json): a sent file over 4.995 GiB, an upload that derived no episodes,
|
|
384
|
+
# a sent file with no recorded SHA-256, or a failed original build.
|
|
356
385
|
# pi_mcap_v1 and dreamlabs_v2_1 are files to upload to Physical Intelligence or
|
|
357
386
|
# Dream Labs with your own account: the version's episodes that are not
|
|
358
387
|
# rejected (Dream Labs: successful ones only). A failed episode is listed in
|
|
@@ -360,7 +389,8 @@ qualia dataset download <dataset> --format original
|
|
|
360
389
|
qualia dataset download <dataset>:<tag> --format pi_mcap_v1
|
|
361
390
|
|
|
362
391
|
# Versions: list, read, compare, tag, annotate; a merged dataset's merges and
|
|
363
|
-
# what was done in a version's round (its curation record)
|
|
392
|
+
# what was done in a version's round (its curation record). get and record
|
|
393
|
+
# take a version as <dataset>:<tag> or as <dataset> <tag>.
|
|
364
394
|
qualia dataset version list <dataset>
|
|
365
395
|
qualia dataset version diff <dataset> --base 1.0
|
|
366
396
|
qualia dataset version create <dataset> 1.1 --note "dropped 3 jerky takes"
|
|
@@ -575,7 +605,7 @@ qualia check get vlm # can this deployment run the V
|
|
|
575
605
|
qualia check runs --check vlm -d <dataset> --state FAILED # one line per run: vlm/<run-id>, state, raised, created
|
|
576
606
|
qualia check status <run> # QUEUED, RUNNING, SUCCEEDED or FAILED, with counts
|
|
577
607
|
qualia check findings <dataset> # issues and notes, with verdict, confidence and moments
|
|
578
|
-
qualia check reach-status <dataset> # Run solver: its settings
|
|
608
|
+
qualia check reach-status <dataset> # Run solver: its settings, how far the last run got, and the calibrations its uploads are mixed from
|
|
579
609
|
qualia check reach-cancel <dataset> # stop the run under way
|
|
580
610
|
```
|
|
581
611
|
|
|
@@ -638,7 +668,7 @@ Thresholds and reach:
|
|
|
638
668
|
```sh
|
|
639
669
|
qualia check ranges --interface-hash b3:<hex> # the fences per metric
|
|
640
670
|
qualia check run <dataset> --check reach # start the reach solver
|
|
641
|
-
qualia check reach-status <dataset> # settings, key, last run, stale
|
|
671
|
+
qualia check reach-status <dataset> # settings, key, last run, stale; Mixed: the calibrations the uploads hold when more than one (or the solver is refused for a mix), and whether the solver runs on them
|
|
642
672
|
qualia check reach-cancel <dataset> # stop it; solved takes keep their results
|
|
643
673
|
qualia check results <dataset> --state SUCCEEDED # where the robot cannot follow each take
|
|
644
674
|
```
|
|
@@ -673,7 +703,7 @@ qualia dataset setup <dataset> --robot <robot> # the solver is
|
|
|
673
703
|
qualia dataset setup <dataset> --base 0 0 0 --heading 0 # placement: metres, degrees
|
|
674
704
|
qualia dataset setup <dataset> --robot <robot> --wait # stay for the resolve
|
|
675
705
|
qualia dataset setup <dataset> --run-solver # press Run solver (never started by itself)
|
|
676
|
-
qualia check reach-status <dataset> # settings, last run, takes solved, stale
|
|
706
|
+
qualia check reach-status <dataset> # settings, last run, takes solved, stale, mixed calibrations
|
|
677
707
|
qualia check reach-cancel <dataset> # stop it; solved takes keep their results
|
|
678
708
|
```
|
|
679
709
|
|
|
@@ -708,12 +738,20 @@ then explicitly move eligible uploads using the revision printed by the check:
|
|
|
708
738
|
qualia dataset poses-precheck <merged-dataset>
|
|
709
739
|
qualia dataset poses-move <merged-dataset> --revision <revision>
|
|
710
740
|
qualia dataset poses-move <merged-dataset> --revision <revision> --member <upload> # retry one
|
|
741
|
+
qualia dataset poses-move <merged-dataset> --revision <revision> --rig <upload>=<gripper> # name an upload's UMI rig
|
|
711
742
|
qualia dataset poses-remove <merged-dataset> <upload> --revision <revision>
|
|
712
743
|
```
|
|
713
744
|
|
|
714
745
|
The check reports each upload and its blockers. Each move uses that upload's
|
|
715
746
|
capture rig calibration; uploads without a saved pose file cannot use this
|
|
716
|
-
path.
|
|
747
|
+
path. A workspace with several UMI rigs of one kind does not record which one an
|
|
748
|
+
upload was recorded on. An upload is never placed on one of them by guesswork. It is blocked
|
|
749
|
+
with the rigs it could be. The check lists them, and marks the one whose calibration the
|
|
750
|
+
upload already carries as a hint that is never applied. Name the rig per upload with
|
|
751
|
+
`--rig <upload>=<gripper>` on `poses-precheck` or `poses-move`, and repeat it for more uploads.
|
|
752
|
+
A move carries the rig it used. When the move lands, that rig is stored as the upload's rig, so later
|
|
753
|
+
checks use it and you name it once. A move that fails stores nothing, and retrying it repeats its rig.
|
|
754
|
+
A pre-check stores nothing. If the stored rig is deleted, the check asks again. The precheck currently requires a write-scoped credential; read-scoped
|
|
717
755
|
prechecks remain a follow-up. Removal makes the upload standalone again and records the removal;
|
|
718
756
|
its data and review decisions, and the merged dataset's old versions, remain.
|
|
719
757
|
A move of an upload with split episodes is blocked
|
|
@@ -608,8 +608,9 @@ QUALIA_WORKSPACE=$WORKSPACE step activity "isinstance(j['activity'], list)" acti
|
|
|
608
608
|
QUALIA_WORKSPACE=$WORKSPACE step status-list "isinstance(j['statuses'], list)" status list --running --json
|
|
609
609
|
if attempt pipeline-templates pipeline templates --json; then
|
|
610
610
|
pass "pipeline-templates"
|
|
611
|
-
|
|
612
|
-
|
|
611
|
+
# the second is what a gateway from before the plan wording says
|
|
612
|
+
elif said pipeline-templates "isn't available on your account's plan" || said pipeline-templates 'pipelines feature is not enabled'; then
|
|
613
|
+
skip "pipeline templates: training is not on this account's plan"
|
|
613
614
|
else
|
|
614
615
|
fail "pipeline-templates: $(why pipeline-templates)"
|
|
615
616
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "qualia-cli"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.0rc15"
|
|
4
4
|
description = "CLI for Qualia robot data curation: upload, curate, version and export datasets"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -54,7 +54,9 @@ dependencies = [
|
|
|
54
54
|
# `dataset confirm-task-names` call.
|
|
55
55
|
# rc13 is the next candidate after rc12 was published.
|
|
56
56
|
# rc14 adds `client.preparation.wait()`, which `dataset preparation --wait` calls.
|
|
57
|
-
|
|
57
|
+
# rc15 downloads `original` over qualia.v1 and tells of the older route first,
|
|
58
|
+
# which `dataset download --format original` relies on.
|
|
59
|
+
"qualia-sdk>=0.8.0rc15",
|
|
58
60
|
"typer>=0.15.0",
|
|
59
61
|
"rich>=13.0.0",
|
|
60
62
|
# Task definitions are authored as YAML files (`qualia task create/edit`).
|
|
@@ -68,10 +68,11 @@ episode's edit history (`dataset history`) and sign or download its camera video
|
|
|
68
68
|
`DatasetVersion`, download a dataset version in one command (`dataset download <dataset>[:<version>]
|
|
69
69
|
[dest] --format lerobot_v3|lerobot_v2_1|mcap_ros2|pi_mcap_v1|dreamlabs_v2_1|original`: no version means the newest (`stable`);
|
|
70
70
|
`pi_mcap_v1` and `dreamlabs_v2_1` are the partner layouts (files to upload to Physical Intelligence or Dream Labs);
|
|
71
|
-
`original` is
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
and
|
|
71
|
+
`original` is the files the dataset's newest upload sent, byte for byte (nothing Qualia wrote beside them, so
|
|
72
|
+
the folder uploads again as it is), prepared on the server on the first download like any format, with trims and
|
|
73
|
+
splits not applied, takes no version, and is refused for a merged dataset, a mixture or a partial copy (four cases download its stored folder over the older route until QUA-4341
|
|
74
|
+
and QUA-4342 land, and stderr says so, also under `--json`, where `older_route` holds the reason: a sent file
|
|
75
|
+
over 4.995 GiB, an upload that derived no episodes, a sent file with no recorded SHA-256, or a failed original build); the default folder is `./<slug>-<tag>`, plus `-v21`,
|
|
75
76
|
`-mcap`, `-pi` or `-dreamlabs` (`./<slug>-original` for `original`); a spinner then a byte bar run on stderr unless `--json`; it ends with
|
|
76
77
|
`Saved <version> as <format> to <dir> (<n> files, <size>)`; all rules and error wording live in
|
|
77
78
|
`client.data.download`), read, compare,
|
|
@@ -641,6 +641,52 @@ def _print_reach_status(status: Any) -> None:
|
|
|
641
641
|
"Key: none - a run would start nothing (no robot, the robot has no "
|
|
642
642
|
"model or no solver, or the server cannot key it)"
|
|
643
643
|
)
|
|
644
|
+
# an older SDK has no calibration_mix: nothing to print
|
|
645
|
+
mix = getattr(status, "calibration_mix", None)
|
|
646
|
+
if mix is not None and mix.calibrations:
|
|
647
|
+
typer.echo(
|
|
648
|
+
"Mixed: "
|
|
649
|
+
+ (
|
|
650
|
+
"the uploads sit at different frames or calibrations - "
|
|
651
|
+
"the solver is refused for them"
|
|
652
|
+
if mix.refused
|
|
653
|
+
else "the uploads hold more than one calibration - "
|
|
654
|
+
"each take is solved on its own upload's calibration"
|
|
655
|
+
)
|
|
656
|
+
)
|
|
657
|
+
for entry in mix.calibrations:
|
|
658
|
+
count = (
|
|
659
|
+
f"{entry.upload_count} upload{'s' if entry.upload_count != 1 else ''}"
|
|
660
|
+
)
|
|
661
|
+
frame = _value(entry.frame).lower()
|
|
662
|
+
if "root" in frame:
|
|
663
|
+
typer.echo(f" {count} at the gripper root")
|
|
664
|
+
continue
|
|
665
|
+
if "unspecified" in frame:
|
|
666
|
+
typer.echo(f" {count} without poses")
|
|
667
|
+
continue
|
|
668
|
+
# which calibration it is, when no rig was recorded to name it
|
|
669
|
+
calibration = entry.calibration
|
|
670
|
+
which = ", ".join(
|
|
671
|
+
part
|
|
672
|
+
for part in (
|
|
673
|
+
calibration.filename if calibration else "",
|
|
674
|
+
calibration.derive_date if calibration else "",
|
|
675
|
+
)
|
|
676
|
+
if part
|
|
677
|
+
)
|
|
678
|
+
line = f" {entry.robot or 'no rig recorded'}"
|
|
679
|
+
if which:
|
|
680
|
+
line += f" ({which})"
|
|
681
|
+
line += f": {count}"
|
|
682
|
+
# unset: it could not be read, so nothing is said of it
|
|
683
|
+
if entry.current is not None:
|
|
684
|
+
line += (
|
|
685
|
+
", current"
|
|
686
|
+
if entry.current
|
|
687
|
+
else ", not the rig's current calibration"
|
|
688
|
+
)
|
|
689
|
+
typer.echo(line)
|
|
644
690
|
run = status.last_run
|
|
645
691
|
if run is None:
|
|
646
692
|
typer.echo("Last run: none yet; Run solver has not been pressed")
|
|
@@ -356,11 +356,15 @@ def merge_uploads(
|
|
|
356
356
|
) -> None:
|
|
357
357
|
"""Merge uploads into one dataset, or add them to a merged one.
|
|
358
358
|
|
|
359
|
-
|
|
360
|
-
dataset
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
359
|
+
The uploads become the merged dataset's storage and history and leave the
|
|
360
|
+
dataset list; the merged dataset is a dataset like any other. The merge as
|
|
361
|
+
a whole cannot be undone, but one upload can be taken out again with
|
|
362
|
+
`qualia dataset poses-remove MERGED UPLOAD --revision REV` (REV from
|
|
363
|
+
`qualia dataset poses-precheck MERGED`), which makes it a standalone
|
|
364
|
+
upload. Run
|
|
365
|
+
--dry-run first: blocking conflicts (what training freezes) settle only by
|
|
366
|
+
leaving uploads out; the others take one value each, answered with
|
|
367
|
+
--resolve or, for labels and the task, the uploads' commonest.
|
|
364
368
|
|
|
365
369
|
One dataset that grows with every batch: upload the first two batches each
|
|
366
370
|
on its own (`qualia dataset upload DIR NAME --standalone`), then merge them
|
|
@@ -424,7 +428,8 @@ def merge_uploads(
|
|
|
424
428
|
return
|
|
425
429
|
where = f"into {into}" if into is not None else f"as {name!r}"
|
|
426
430
|
_confirm(
|
|
427
|
-
f"Merge {len(names)} upload(s) {where}?
|
|
431
|
+
f"Merge {len(names)} upload(s) {where}? The merge as a whole cannot be "
|
|
432
|
+
"undone; one upload can be removed later.",
|
|
428
433
|
yes,
|
|
429
434
|
"merge",
|
|
430
435
|
)
|