Koredeza Strata

Technical note

Scheduling passes on GPUs: from STAC event to reviewed detection

Satellite imagery arrives in bursts. When a new pass is published, dozens of customer sites under it need processing at once, and then nothing happens for days. This note describes how Strata turns a catalogue event into reviewed detections: event intake, batching sites across GPUs, the PyTorch to TensorRT path, Triton serving and GPU post-processing. Time figures are design targets.

In development 644 words

Problem

Users care about one number: how long after a pass is published do they see what changed. Most of that time is not model inference. It is waiting for imagery, reading it, preparing it and writing results. A pipeline tuned only for model speed can still be slow end to end, and a pipeline that processes each site as a separate job wastes the GPU on tiny batches.

Method

Intake. Strata subscribes to STAC catalogues for the sensors each site uses. When a new item intersects any watched site, an event is queued with the item footprint and the list of affected sites. Items whose metadata already shows near-total cloud cover over a site are skipped for that site and recorded as unseen.

Grouping. Sites under the same item are grouped so that the scene is opened once. Only the windows covering the sites are fetched from the Cloud-Optimised GeoTIFF with range requests and decoded into pinned memory, then copied to the GPU.

Preparation. Reprojection, resampling, tiling and registration run on the GPU with cuCIM and CUDA kernels. Tiles carry a margin so predictions can be blended without seams.

Model path. Models are trained in PyTorch, exported to ONNX with dynamic batch size and compiled to TensorRT engines per GPU type. FP16 is the default. INT8 is being evaluated for the encoder using calibration sets drawn deliberately from hard surfaces (bright bare earth, water, snow, cloud edges); an INT8 engine is accepted only if its change F1 on a validation set stays within a fixed tolerance of FP16.

Serving. Veil, the encoder, the change head and Taxon run as a Triton ensemble so tensors stay on the GPU between models. Triton's dynamic batcher fills batches with tiles from different sites that arrived together, which is where grouping pays off.

Post-processing. Probability rasters are thresholded and vectorised; area, overlap with customer boundary layers and statistics are computed with RAPIDS cuSpatial and cuDF; results go to PostGIS and out as GeoJSON and webhooks.

Time budget (targets)

For one 25 km² block from a Sentinel-2 pass on one L4-class data-centre GPU, our design targets are: window read and decode under 8 seconds; preparation and registration under 4 seconds; masking, encoder, change head and typing under 6 seconds; vectorisation and statistics under 3 seconds; storage and webhook under 2 seconds. Roughly 20 seconds per block end to end, excluding the wait for the provider to publish the scene. These are planning targets; measured figures will be published after evaluation.

Evaluation design

Each stage is profiled separately with NVIDIA Nsight Systems on a fixed set of reference passes from Sentinel-2 and Landsat. We will report median and 95th-percentile times, GPU utilisation and GPU-seconds per km², and always pair speed results with change-detection accuracy on the OSCD test split for the same precision mode. A CPU baseline using the same code paths gives the comparison point.

Risks and limits

Network reads can dominate on cold caches, so GPU gains may be invisible to users unless compute runs close to the imagery archive. INT8 may fail the tolerance check for some sensors and will not ship there. Sub-metre imagery multiplies tile counts many times over, so the targets above do not transfer to drone or very high-resolution work.

Next steps

Finish profiling, publish measured stage times, and run the same scheduler on a customer-owned GPU server for private deployments. We also want to test whether sharing one GPU between the scheduler for open imagery and occasional drone jobs harms the time budget, or whether drone work needs its own queue and GPU.

References

  • SpatioTemporal Asset Catalog (STAC) specification
  • Cloud Optimized GeoTIFF standard (OGC)
  • Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation
  • Urban Change Detection for Multispectral Earth Observation Using Convolutional Neural Networks

Listed by title only; Koredeza is not affiliated with the authors.

Pilot Strata on your own sites

We are looking for a few infrastructure, mining and energy teams to run Strata on real sites for 60 days and tell us plainly what works and what does not.

Become a design partner