Problem
Earth-observation workloads are large and bursty. Nothing happens for days, then a new Sentinel-2 pass lands and every area of interest under it needs processing at once. A naive pipeline reads a full scene into memory, tiles it on the CPU, runs a PyTorch model in eager mode and vectorises on the CPU. Each stage is a bottleneck, and the GPU sits idle while the CPU shuffles data.
Our goal is the opposite: keep data on the GPU from the moment a window is decoded until the polygons are measured, and make every stage observable so we know where time goes. The sections below follow one area of interest through that path.
Method
Reading. Scenes are stored as Cloud-Optimised GeoTIFFs, so only the windows that intersect an area of interest are fetched, using HTTP range requests. Windows are decoded straight into pinned memory and copied to the GPU.
Preparation. Reprojection, resampling and tiling run on the GPU with cuCIM and custom CUDA kernels. Co-registration uses phase correlation computed with GPU FFTs on overlapping tiles, followed by a robust fit that discards tiles with clouds or little texture. Tiles overlap by a margin so predictions can be blended without seams.
Export. Models are trained in PyTorch, exported to ONNX with fixed channel counts and dynamic batch and spatial dimensions, and compiled to TensorRT engines. FP16 is the default because segmentation quality is typically unaffected. INT8 is under evaluation: calibration uses a few hundred representative tiles per sensor, deliberately including bright bare ground, water, cloud edges and dense vegetation, because calibration sets drawn from easy tiles produce poor scales on exactly the surfaces we care about. An INT8 engine is accepted only if its change-class F1 on a validation set stays within a fixed tolerance of the FP16 engine.
Serving. Clear, Delta and Label run as a Triton ensemble, so intermediate tensors stay on the GPU between models. Dynamic batching groups tiles from different areas that arrive together. Model versions are pinned per customer, and every output records the engine version that produced it.
Post-processing. The change raster is thresholded, cleaned with morphological operations and vectorised. Area calculation, overlap with customer boundary layers and zonal statistics use RAPIDS cuSpatial and cuDF, then results are written to PostGIS and exported as GeoJSON.
Latency budget (targets)
For one 100 km² area from Sentinel-2 at 10 m on a single data-centre GPU of the NVIDIA L4 class, our design targets are: window fetch and decode under 20 seconds; GPU preparation and alignment under 10 seconds; masking, change and classification inference under 15 seconds; vectorisation and statistics under 10 seconds; database write and webhook under 5 seconds. That gives an end-to-end target of about one minute per area, excluding queueing while a provider publishes the scene. These are targets for planning; measured numbers will be published after evaluation.
Evaluation design
We will profile each stage separately with NVIDIA Nsight Systems on fixed reference scenes from Sentinel-2 and Landsat, report median and 95th-percentile times, and compare against a CPU baseline using the same code paths where possible. Accuracy is checked on the OSCD and LEVIR-CD test splits for every precision mode, so speed gains are never reported without the corresponding accuracy. Cost is reported as GPU-seconds per square kilometre, which maps directly to pricing.
Risks and limits
Network fetch time often dominates, so GPU speed-ups can be invisible to users; caching and running close to the imagery matter as much as kernels. INT8 may not hold quality on every sensor and will only ship where it passes the tolerance check. Very high-resolution imagery increases tile counts by orders of magnitude, so the same budget does not carry over to 0.5 m data.
Next steps
Complete the Nsight profiling, publish the measured stage times, and test the same pipeline on a customer's own GPU server for private deployments.
References
- Cloud Optimized GeoTIFF specification (OGC)
- SpatioTemporal Asset Catalog (STAC) specification
- Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation
- Urban Change Detection for Multispectral Earth Observation Using Convolutional Neural Networks
References are listed by title only. Koredeza is not affiliated with their authors.