Skip to content

DALI v1.43.0

Latest
Compare
Choose a tag to compare
@stiepan stiepan released this 30 Oct 17:22
· 24 commits to main since this release

Key Features and Enhancements

This DALI release includes the following key features and enhancements:

  • Added DataNode methods for runtime access to batch's shape, layout, and source_info (#5650, #5648).
  • Added support for CUDA 12.6U2 (#5657)
  • Add experimental CV-CUDA resize operator (#5637)
  • Improved performance of TensorList resizing and TypeTable (#5638, #5634).
  • Improved DLPack support (to enable sharing ownership and pinned memory) (#5661).

Fixed Issues

  • Fixed cleanup of pipelines containing PythonFunction. (#5668)
  • Fixed CPU resize operator running with multiple resampling modes in a batch. (#5647)

Improvements

  • Add support for bool type for the numba operator (#5666)
  • Bump numpy version in Xavier tests. (#5663)
  • DLPack support rework (#5661)
  • Update links in DALI readme (#5660)
  • Bump required NumPy version to 1.23. (#5658)
  • Move to CUDA 12.6 update 2 (#5657)
  • Increase number of the decoder bench iterations (#5655)
  • GetProperty refactor + DataNode.property accessor (#5650)
  • Remove and forbid direct inclusion of half.hpp. (#5654)
  • Add DataNode.shape() (#5648)
  • Fix conda build for Python 3.9 (#5649)
  • Increase batch size in RN50 test for TF as on H100 it works well again (#5645)
  • Add experimental CV-CUDA resize (#5637)
  • Pin libprotobuf and protobuf to 5.24 which works with python 3.8-3.12 in conda (#5643)
  • Optimize TensorList::Resize (#5638)
  • TypeTable/TypeInfo optimization (#5634)

Bug Fixes

  • Fix Pipeline reference leak in PythonFunction. (#5668)
  • Fix constness in (Const)SampleView. Improve diagnostics. (#5664)
  • Fix issues detected by Coverity (2024.09.30) (#5652)
  • Fix CPU resize with mixed NN/other resampling filters. (#5647)
  • Fix block size in TransposeTiled kernel test. (#5641)
  • Fix the lack of the previous release in the docs switcher list (#5640)

Breaking API changes

There are no breaking changes in this DALI release.

Deprecated features

No features were deprecated in this release.

Known issues:

  • The following operators: experimental.readers.fits, experimental.decoders.video, and experimental.inputs.video do not currently support checkpointing.
  • The video loader operator requires that the key frames occur, at a minimum, every 10 to 15 frames of the video stream.
    If the key frames occur at a frequency that is less than 10-15 frames, the returned frames might be out of sync.
  • Experimental VideoReaderDecoder does not support open GOP.
    It will not report an error and might produce invalid frames. VideoReader uses a heuristic approach to detect open GOP and should work in most common cases.
  • The DALI TensorFlow plugin might not be compatible with TensorFlow versions 1.15.0 and later.
    To use DALI with the TensorFlow version that does not have a prebuilt plugin binary shipped with DALI, make sure that the compiler that is used to build TensorFlow exists on the system during the plugin installation. (Depending on the particular version, you can use GCC 4.8.4, GCC 4.8.5, or GCC 5.4.)
  • In experimental debug and eager modes, the GPU external source is not properly synchronized with DALI internal streams.
    As a workaround, you can manually synchronize the device before returning the data from the callback.
  • Due to some known issues with meltdown/spectra mitigations and DALI, DALI shows best performance when running in Docker with escalated privileges, for example:
    • privileged=yes in Extra Settings for AWS data points
    • --privileged or --security-opt seccomp=unconfined for bare Docker.

Binary builds

NOTE: DALI builds for CUDA 12 dynamically link the CUDA toolkit. To use DALI, install the latest CUDA toolkit.

CUDA 11.0 and CUDA 12.0 builds use CUDA toolkit enhanced compatibility. 
They are built with the latest CUDA 11.x/12.x toolkit respectively but they can run on the latest, 
stable CUDA 11.0/CUDA 12.0 capable drivers (450.80 or later and 525.60 or later respectively).
However, using the most recent driver may enable additional functionality. 
More details can be found in enhanced CUDA compatibility guide.

Install via pip for CUDA 12.0:
pip install --extra-index-url https://developer.download.nvidia.com/compute/redist/ nvidia-dali-cuda120==1.43.0
pip install --extra-index-url https://developer.download.nvidia.com/compute/redist/ nvidia-dali-tf-plugin-cuda120==1.43.0

or just:

pip install nvidia-dali-cuda120==1.43.0
pip install nvidia-dali-tf-plugin-cuda120==1.43.0

For CUDA 11:
pip install --extra-index-url https://developer.download.nvidia.com/compute/redist/ nvidia-dali-cuda110==1.43.0
pip install --extra-index-url https://developer.download.nvidia.com/compute/redist/ nvidia-dali-tf-plugin-cuda110==1.43.0

or just:

pip install nvidia-dali-cuda110==1.43.0
pip install nvidia-dali-tf-plugin-cuda110==1.43.0

Or use direct download links (CUDA 12.0):

Or use direct download links (CUDA 11.0):

FFmpeg source code:

  • This software uses code of FFmpeg licensed under the LGPLv2.1 and its source can be downloaded here

Libsndfile source code: