You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade multimodal-split to config schema_version: 2, episode record_schema_version: 6,
and media_contract_version: 10, switching from resampled clip grids to source-preserving
half-open [start_ns, exclusive_end_ns) windows backed by cosmos_curator.sensors.
Require input.mcap_index_uri (from mcap-index) whenever MCAP sensors are configured,
alongside a schema-version-10 input.mp4_index_uri. Require an explicit time_axis (field
and clock) on every sensor, with all sensors declaring one shared clock.
Remove clip.sampling_fps, video.max_delta_s, and per-sensor camera_alignment_fields, sampling, max_delta_ms, and max_gap_ms. Replace execution.split_session with execution.create_episode (num_cpus, memory_gb).
Replace per-camera .mp4.moov and .mp4.index.lance outputs with standalone Arrow IPC index
artifacts (.mp4.index.arrow and .mcap.index.arrow). Media descriptors rename mp4_index_uri to index_uri and add source_index_uri and timestamp_field (plus source_channel_id, channel_id, index_uri, and index_sha256 on sensor_media), while
episodes replace sampling_fps and row_count with timestamp_clock. Channels from one
source MCAP share one output file, media retain source-relative paths under sessions/<source_session_id>/<clip_id>/, and the output root adds canonical session_results.lance and errors.lance alongside episodes.lance (replacing per-episode create_episode.*.json failure files).
Use a fresh output directory; existing episode datasets have no in-place migration. multimodal-caption and multimodal-embedding still consume aligned episodes
(record_schema_version: 3, media_contract_version: 6) and reject both v2.10.0
(media_contract_version: 4) and new source-window episode tables until those recipes adopt
indexed-time selection.
Upgrade mp4-index manifests to record schema version 10, moving per-video metadata, frames, moov, and moof payloads out of manifest.lance and raw moov//moof/ sidecars
into one Arrow IPC index artifact (<name>.mp4.index.arrow) per video referenced by index_location. Remove execution.skip_existing_sidecars, Mp4IndexOutputConfig's moov_sidecar_root/moof_table_root, cosmos_curator.core.sensors.mp4.moof_schema, and the
deprecated sidecar helpers (write_arrow_sidecar, read_arrow_sidecar, write_bytes_sidecar, read_bytes_sidecar, read_video_record) from cosmos_curator.next.recipes.mp4_index.contracts.
Rebuild older manifests into a fresh output dataset; matching artifacts are reused automatically,
while existing artifacts for another source or contract fail the run with IndexArtifactConflictError.
Advance shared append recovery workspaces to format version 6 to store selected work items in an
immutable Arrow IPC selection.arrow snapshot instead of JSON inside workspace.json, enabling
typed nested work-item schemas (robot-action-split replaces spans_json with typed spans).
Published Lance tables remain compatible, but unfinished v2.10.0 append recovery workspaces
(such as video-cut and robot-action-split) are isolated and not resumed; clear unfinished
staging and rerun pending work.
Derive Curator Next pipeline kinds from recipe config models. PipelineKind is now a protocol
rather than a dataclass of callbacks, and each recipe exports its kind as PIPELINE_KIND instead
of a name such as VIDEO_CUT_KIND. PipelinePreset, make_mp4_pipeline_kind, and each recipe's
config helpers, such as resolve_config, resolved_config_to_json, config_schema_json, and config_template_yaml, are removed. Existing config files still work. To migrate a recipe that
lives outside this repository, follow Configuration and CLI; video-cut's pipeline_kind.py is the short example.
Subclass RecipeConfig for the top-level config and ConfigSection for nested sections. schema_version and kind are single-value Literal fields with no default.
Replace resolve_config(path, overrides=...) with Model.resolve(path, overrides=...), and resolve_config_data(mapping) with Model.resolve_data(mapping).
Build PIPELINE_KIND with ConfigPipelineKind from the model, a ConfigTemplate whose
example is the smallest runnable config, and a run function that imports the pipeline lazily.
Register the kind in BUILTIN_PIPELINE_KINDS as a "module:PIPELINE_KIND" string. PipelineKindRegistry now takes these references and imports a module only when its kind is
selected.
For an MP4 indexing variant, subclass Mp4IndexRunConfig with its own kind literal.
Remove cosmos-curator pipeline presets list and presets show. No Curator Next recipe defined
presets. Legacy video_split configs still accept preset references, and render shows the
expanded values.
Remove ACTOR_RESTART_BOUNDS from cosmos_curator.next.core.ray_runtime. Curator Next actor pools
now keep Ray Data's unlimited restarts and task retries. To migrate, delete the import and the **ACTOR_RESTART_BOUNDS argument, and leave max_restarts and max_task_retries unset.
Added
Add the composable cosmos_curator.sensors library alongside cosmos_curator.core.sensors,
separating container access (Mp4Container, McapContainer), stream-bound packet producers,
decoders (CpuVideoDecoder, ProtobufDecoder for GPS, IMU, and egotrajectory), explicit TimeAxis(field, clock) interval reads (Sensor.read), shared-grid multi-sensor sampling
(SensorGroup, AlignedFrame), and container/index writers (write_mp4, write_mcap_window, slice_mcap_index) over caller-owned binary streams (BinaryIO). Canonical MP4 parsing,
protobuf mapping, and data-integrity kernel implementations now live under cosmos_curator.sensors while legacy readers remain available during migration.
Add the mcap-index Curator Next recipe (kind: mcap-index, schema_version: 2) to build
per-file Arrow IPC measurement-time indexes (.mcap.index.arrow) and canonical manifest.lance
catalogs for local and S3 MCAP recordings using shared append recovery and output.index_placement (separate_root or beside_source).
Add RecordingIndex (cosmos_curator.sensors.containers.mcap.recording_index) to collect
channel timelines while writing chunked MCAP files and assemble McapIndexArtifact without
decompressing media chunks; write_index_artifact also accepts write/tell-only sinks and handles
partial writes.
Add static sensor extrinsics support from NCore V4 ITAR archives in cosmos_curator.sensors.calibration (read_itar_extrinsics, rebase_trajectory, rotate_imu),
attachable through Sensor(extrinsics=...) and preserved across camera, GPS, IMU, and ego
trajectory reads and sampling. Add nvidia-ncore==19.9.0 to the sensors Pixi feature and the
optional sensors package extra.
Add output.index_placement (mode: separate_root or beside_source, optional root, and optional_path) to mp4-index to place per-video index artifacts under a custom root or beside
each source session.
Add independent episode splitting and cross-run session/episode checkpoint recovery to multimodal-split. Groups of up to four adjacent episodes share coalesced range reads and a
decode pass with separate decode/encode threads and per-episode failure isolation; run_append
commits session_results.lance and derives episodes.lance and errors.lance so interrupted
runs resume without repeating completed sessions (controlled by execution.max_items, execution.rows_per_checkpoint, and execution.commit_attempts). Also add channel_id
selection for MCAP sensors.
Add the video-dedup Curator Next recipe (kind: video-dedup) to mark near-duplicate clips
with SemDeDup over video-embed vectors (224p, 336p, 448p) partitioned by spherical
e-means (faiss-cpu==1.16.0 in default and dev), running on GPU (execution.device: cuda)
or CPU and atomically enriching the clip Lance table with dedup_cosmos_embed1_<variant>_v1.
Add the video-decide Curator Next recipe (kind: video-decide) and shared vLLM decision
transform (cosmos_curator.next.inference.decisions) to answer System One typed questions
(noul, choice, score) with probabilities over video-caption text and atomically enrich
clip rows with decision_<name> and decision_<name>_metadata. Register d3 (vllm-sr/d3) in all_models.json for model-download.
Add local video input support to video-cut: input.uris accepts local file paths and file:// URIs alongside S3 URIs, and input.root_uri recursively discovers local directories.
Fixed-stride probes local files in place; TransNetV2 reads them through download actors.
Add optional GPS stream checking (gps.globs, gps.topic, gps.expected_hz) to data-integrity and the standalone di CLI, measuring foxglove.LocationFix payload timestamps
(timestamp_source: sensor) with the four timing metrics (ordering, rate, gap, jitter),
rejecting resampled clips tagged with cosmos_curator.sampling, and adding mcap and protobuf
to the di Pixi environment.
Add GpsData.log_times_ns to carry each GPS message's MCAP log_time through GpsSensor reads
and nearest alignment, and extend the YAML protobuf mapper with string equality and repeated
key/value selectors (metadata["key"]), plus a LocationFix metadata validity example mapping.
Add phase_seconds, processed_rows/processed_items, enrichment errors counts, and
per-operator Ray Data processing_stats (execution_stats) to Curator Next run summaries across
shared append, shared enrichment, and video-dedup runs.
Add --strip-ray-java/--no-strip-ray-java to cosmos-curator image build to remove Ray's
bundled Java runtime JARs during full image builds.
Fixed
Validate MP4 stts/stsz box bounds and constant-size stsz or default-size trun sample
claims against actual source file_size before expanding sample arrays, raising InvalidFrameByteRangeError or MalformedBoxHeaderError instead of over-allocating on
truncated or corrupt inputs.
Preserve duplicate and non-monotonic timestamps in cosmos_curator.sensorsImuData and EgoTrajectory reads (matching GpsData) so data-integrity checks can report duplicates and
resets, while consumers requiring ordered timelines (multimodal-caption ego context, nearest
selection, and interpolation) enforce monotonicity explicitly.
Preserve source MCAP channel metadata and propagate MCAP cut failure causes in multimodal-split.
Preserve URI authorities (s3://bucket, file:///) and root paths (/) when joining or
normalizing Curator Next locations through shared join_location in cosmos_curator.next.utils.uris.
Allow --set dotted overrides to populate null config sections (such as optional sections
written by pipeline render) and include failed_session_metrics in the data-integrity CLI
summary message.
Validate staged paddle_ocr_det and paddle_ocr_rec weights in PaddleOCRModel.setup() and
disable paddleocr 2.x's automatic weight downloader so it cannot overwrite pinned Hugging Face inference.json weights with a legacy tarball; remove the unused angle-classifier warning.
Keep OTEL_EXPORTER_OTLP_CERTIFICATE active in OTLP/HTTP trace and metric exporters when REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE is also set (via OtlpHttpSession), restoring private
collector CA verification under OpenTelemetry 1.45+. Stop remote OTLP span export for the rest
of a process after the first failed export (whether returning FAILURE or raising a connection
error), avoiding per-span retry stalls while keeping local .jsonl span files intact.
Changed
pipeline template prints a small editable example for each Curator Next recipe. Use pipeline schema to discover settings and pipeline render to save a config with all
resolved values pinned. The YAML and template --json use the same public field names.
template --json derives required inputs from the model and includes recipe-specific hints for
alternatives and runtime inputs. For video-caption, the required model section accepts {} to use the default variant.
The mp4-index example uses a session and camera layout the default indexer can identify.
The data-integrity example allows container presentation timestamps for cameras without
an MP4 index. Omitting the clock setting from a config still selects recorded EOF timestamps.
Curator Next actor pools wait out worker loss. The vLLM stages, robot-action-caption's media
actors, multimodal-embedding, the embeddings fill workers, and video-cut's TransNetV2 inference
used to fail a run after a few restarts or task retries. The cost: an item that kills its actor
every time, such as a request that crashes the vLLM engine or a clip that runs a decoder out of
memory, now retries until nothing else moves and Ray Data's no-progress guard fails the run,
30 minutes later by default.
inference_concurrency: auto allows at most one model actor or vLLM replica per inference batch
of the selected rows in video-embed, video-caption, multimodal-caption, and multimodal-embedding,
as robot-action-caption already did. A small fresh run no longer loads models that get no work;
on a resume the count still includes rows an earlier attempt finished.
The vLLM recipes keep loaded replicas while their pool has work in flight, as video-embed already
did, instead of dropping replicas above the starting count whenever utilization dips. The setting
covers every actor pool in those plans, including vLLM's CPU stages and robot-action-caption's media
actors, and video-embed now scales up at a utilization of 1.0 rather than Ray's 1.75. Video-embed
gains execution.inference_gpus to place several inference actors on one GPU.
Speed up video-cut TransNetV2 scene cutting: default execution.transnetv2.cpus to 1
(scaling up to 8 decoder threads with a helper resize thread for long sources) and window_batch_size to 16, start largest listed sources first, cap concurrent read tasks at
64, allow two overlapping sources per inference actor, set op_resource_reservation_ratio to 0 on the plan context, and speed up local directory scanning. Under TF32, batching 16 windows
can slightly shift scores near split.threshold and alter a small fraction of boundary cuts.
Consolidate Curator Next media reads, error classification, and temporary file staging into MediaObjectReader (cosmos_curator.next.utils.media_reader), replacing cosmos_curator.next.utils.source_objects and recipe-local downloaders. Add execution.media_attempts and execution.source_max_bytes (default 8 GiB) to video-cut, and
require positive recorded source sizes in video-transcode.
Share bounded curator_io whole-object source downloads through MediaFetch
(cosmos_curator.next.media.fetch) in video-transcode and video-cut (TransNetV2), adding execution.media_concurrency (default auto) to both recipes.
Share Ray Data vLLM inference setup through VllmProcessorConfig, VllmStageMemory, and build_vllm_transform in cosmos_curator.next.inference.vllm, adopted by video-caption and robot-action-caption (replacing robot_action_caption.engine).
Restrict cosmos_curator.core.sensorsGpsData construction checks to structural invariants
(dtypes, shapes, row counts, validity pairing, and bracket consistency) so defective batches pass
through to data-integrity checks while alignment validates its own preconditions; add GpsSensor.iter_recorded() for written-order reads.
Upgrade runtime Docker base images from CUDA 13.0.3 on Ubuntu 24.04 to CUDA 13.5.0 on Ubuntu
26.04 (with nsight-systems-2026.5.2 when Nsight is enabled and a single-line OCI description
label for enroot < 4.1.2 compatibility).
Upgrade Ray to 2.60.1, Lance (pylance) to 15.0.0 (including container field IDs in enrichment
and caption fragment publication tracking), and Pixi in runtime images to 0.85.0 (updating pixi.toml platform entries to subdir).
Upgrade both regular vLLM inference and style-transfer vLLM-Omni to vLLM 0.34.0 and vLLM-Omni
0.34.0 on PyTorch 2.14.0, torchvision 0.29.0, huggingface_hub >= 2.0.0, and transformers < 5.23.0 (under vLLM 0.34's extensible KV cache default, an unset gpu_memory_utilization resolves to 1.0).
Update security baselines: raise Pillow to >=13.0.0 across remaining environments (core, cuml, media), soupsieve to >=4.0.0, filelock to >=4.2.1, and dnspython to >=2.9.2.
Documentation
Add the Composable Sensors guide (docs/curator/guides/composable-sensors.md), the MCAP
Measurement Index Artifact reference
(docs/curator/reference/sensor-library-mcap-index-artifact.md), recipe READMEs for mcap-index, multimodal-split, and video-decide, and runnable sensor examples under examples/sensors/.
Document video-dedup, shared vLLM and decision transforms, MediaFetch, Ray Data execution
statistics and tuning workflows, mp4-index Arrow artifacts, GPS data-integrity checks, LocationFix metadata validity mappings, and NCore ITAR static extrinsics.
Add the Alpamayo CoC API integration contract
(docs/curator/design/alpamayo-coc-integration-api.md) and Alpamayo CoC labeling recipe design
(docs/curator/design/multimodal-av-alpamayo-coc-labeling.md).