Repository navigation
Immutable
release. Only release title and notes can be modified.
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
- (data_converter) default zarr format 2 (0d9137a) - @janickm
- BREAKING (data) sync loader opening, default motion compensators and V4 component API consistency (68391b9) - @janickm
- BREAKING (sensors) factory-only model construction, uniform validity returns and camera model conventions (fbf9400) - @janickm
- BREAKING (data) uniform write checks, release_index_tail without consolidated, and Group / Array API consistency (1347a09) - @janickm
- BREAKING keyword-only optional parameters and public types of the storage, loader and sensor APIs (9a5a639) - @janickm
- (data) export BloscCompression and EncodedArray from ncore.data.stores (bb30302) - @janickm
- (data) open hierarchies from consolidated metadata if stored (f224965) - @janickm
- (data) create arrays from chunks encoded on other threads (8fc4f14) - @janickm
- (data) create fill-valued arrays and write selections of them (d4114e8) - @janickm
- (data) read arrays into preallocated output buffers (9dc561a) - @janickm
- BREAKING (sensors) derive the OpenCV pinhole projection validity from its radial distortion (ffad25e) - @janickm
- (sensors) add FTheta tangential distortion coefficients (b7a158d) - @janickm
- public storage and geometry packages, ray validity helpers (bcd3e49) - @janickm
- BREAKING (sensors) return validity flags from structured lidar ray generation (05e6e86) - @janickm
- BREAKING (sensors) return validity flags from camera ray generation (e1b44a8) - @janickm
- (data) open sequences asynchronously (dfe3729) - @janickm
- (data) asynchronous reads of SequenceLoaderV4 (d49ca46) - @janickm
- (data) asynchronous compat protocols (d97b7ce) - @janickm
- (data) range reads of remote archives for synchronous reads (1880cb6) - @janickm
- (data) asynchronous component reader API (f67caa3) - @janickm
- BREAKING (data) zarr format v3 stores (c5fce26) - @janickm
- BREAKING (data) support zarr-python 3 (2cee604) - @janickm
- BREAKING (data) typed node API for component groups (ff2eeb0) - @janickm
🪲 Fixed
- (data) read remote archives asynchronously via range requests with zarr-python 2 (8dd2ca2) - @janickm
- (data) read remote archive records as bytes for any buffer type of the filesystem (de0d61e) - @janickm
- (data) reject multi-storage-client < 1.4.0 for remote archives (7f5f200) - @janickm
- (geometry) exclude samples outside the interval from HalfClosedInterval.cover_range (0d1d0d9) - @0z5a
- BREAKING (sensors,geometry) raise ValueError instead of AssertionError in user-facing validation (0a1c2a7) - @janickm
- BREAKING (data) raise ValueError instead of AssertionError in V4 writer validation (bc1b114) - @janickm
- (sensors) keep projection valid indices 1-D for single valid points (b47c5a0) - @nlucas-nvidia
- (sensors) apply the converged Newton step in the bracketed fisheye inverse (16d2f65) - @janickm
- (sensors) bracket the OpenCV fisheye inverse to the monotonic branch (71a0602) - @janickm
- (data) read single poses with their stored dtype (1de0192) - @janickm
- type narrowing in ncore_export_ply and the argoverse2 converter test (348262a) - @janickm
- (kitti) keep lidar point timestamps integer (5bf8f9f) - @janickm
⚡ Performance
- (data) size the zarr-python 3 thread pools from the usable CPUs (8c3c1a6) - @janickm
- (data) look up generic frame data without listing all members (9a62feb) - @janickm
- (geometry) add an interpolated motion compensation method (84d965b) - @janickm
- (sensors) skip zero tangential and thin-prism terms in OpenCV pinhole (2419967) - @janickm
- (sensors) skip identity linear term in FTheta camera model (1c0c1bf) - @janickm
- (data) release index tail reads of opened archives (10c2609) - @janickm
- (data) open remote indexed tar archives with a single request (f57784c) - @janickm
- (data) direct chunk reads with zarr-python 3 (979882a) - @janickm
- (data) node cache for component readers (0d6c43d) - @janickm
- (data) cache decoded label types and schemas in CameraLabelDescriptor.from_dict (1813046) - @janickm
- (data) load label and point-cloud reader data on first use (fe6eaf2) - @janickm
🔄 Changed
- (tools) import the public packages instead of ncore.impl (7007cc4) - @janickm
- BREAKING (geometry) typed pose interpolator and a result type for motion decompensation (4efd97b) - @janickm
- BREAKING (data) move is_consolidated_metadata_key to Store (5175459) - @janickm
- (sensors) construct sensor return types through their defining class (e7c26c3) - @janickm
- (data) restructure IndexedTarArchive (fd9a4f0) - @janickm
- BREAKING (data) implement IndexedTarArchive independently of zarr-python (cd3078f) - @janickm
📚 Documentation
- show the documented version and commit in the footer (bf884ac) - @janickm
- upgrading guide for NCore 20, ray validity, motion compensation and storage API (ec6937b) - @janickm
- remove retired skill provenance (e0e7609) - @sanchitgarg
⚙️ CI
- release notes tool in Python, commit check in build-and-test (069aee8) - @janickm
- separate the changes since the previous pre-release in release notes (3c48a54) - @janickm
- publish the documentation built by build-and-test (ed2d016) - @janickm
- refresh the Bazel disk cache on every push (09a3665) - @janickm
- remove merge queue triggers (3f52089) - @janickm
- write release notes into the release commit body (ccc650a) - @janickm
- release from main and release branches when the version changes (e8aba41) - @janickm
🏗️ Build
- (wheel) declare numcodecs and fsspec, pin zarr per Python version (b596c6e) - @janickm
- pinned cocogitto via rules_multitool (e5ca2c9) - @janickm
- don't compress the repacked patched torch wheel (dc91c12) - @janickm
- add python 3.12 / 3.13 test environments (5b5fc02) - @janickm
🎨 Style
🔧 Chore
- map Dezhen Lu (0z5a) to his GitHub username in release notes (0f40da0) - @janickm
- map Nick Lucas to his GitHub username in release notes (0a4d576) - @janickm
🧪 Tests
- (sensors) check camera ray valid flags in the unprojection tests (22db77d) - @janickm
- (sensors) share the lidar model between tests of a parameterization (c490c63) - @janickm
- run tests with a single OpenMP thread (2d4263f) - @janickm
- make tests independent of scipy / numpy versions (f2d59b0) - @janickm
Full diff: v19.8.0...v20.0.0