Highlights
NCore 20 adds zarr-python 3 support with zarr format v3 stores, and asynchronous reading and opening APIs, with faster reads of local and remote archives. Install with pip install nvidia-ncore==20.0.0; for upgrading from NCore 19.x, see the Upgrading from NCore 19.x guide.
- zarr-python 3 and zarr format v3: NCore now works with zarr-python 3 (and 2, selected automatically), and writes component stores in zarr format v3 on request (
zarr_format=3, zarr-python 3 only). zarr format v2 stays the default, readable by all NCore and zarr-python versions: data written by NCore 19.x reads in NCore 20, and vice versa. - New storage abstraction layer (
ncore.data.stores): typed groups and arrays over zarr-python 2 and 3, the same for both, with indexed tar archives implemented independently of zarr-python. Components and custom components use it instead of zarr-python APIs (zarr-python objects remain accessible via.zarr). New storage APIs: reads into preallocated buffers, arrays written by selection or from chunks encoded on worker threads, and hierarchies opened from consolidated metadata when stored. - Asynchronous APIs:
*_asyncreads of all component readers and of the compat API, and asynchronous opening of sequences (SequenceLoaderV4.open_async, next to the new synchronousSequenceLoaderV4.open). Concurrent asynchronous reads overlap their I/O and decompression, and fetch exact byte ranges of remote archives (e.g. S3) concurrently. - Faster reads:
- 1.7x to 5.5x faster frame reads of local
.itararchives than NCore 19.x (all frames of a test sequence): readers cache opened groups and arrays, local archives are read via positional reads, and complete single-chunk arrays (e.g., encoded images) are returned without copies. Multi-chunk arrays read up to 3.7x faster with zarr-python 3 (direct chunk reads). - Remote
.itararchives open with a single request, and synchronous reads of multiple threads can fetch exact byte ranges concurrently (itar_remote_range_reads=True).
- 1.7x to 5.5x faster frame reads of local
- Public packages:
ncore.data,ncore.data.v4,ncore.data.stores,ncore.geometryandncore.sensorsexport every type their APIs take and return;ncore.implis fully internal. - Camera models: ray generation and projections return valid flags, and the OpenCV pinhole projection validity is derived from the radial distortion.
- Faster motion compensation than NCore 19.x: the exact method (default) is ~1.5x faster (59 ms instead of 86 ms per spinning lidar frame), and a new interpolated method ~5x faster (
MotionCompensator.Parameters.Method.INTERPOLATED, 16 ms).
Breaking changes are marked BREAKING below and covered by the upgrading guide.
Thanks to Dezhen Lu (@0z5a), Nick Lucas (@nlucas-nvidia) and Sanchit Garg (@sanchitgarg) for their contributions to this release!
All changes since v19.8.0
➕ Added
🪲 Fixed
⚡ Performance
🔄 Changed
📚 Documentation
⚙️ CI
🏗️ Build
🎨 Style
🔧 Chore
🧪 Tests
Full diff: v19.8.0...v20.0.0