github NVIDIA/DALI v0.26.0
DALI v0.26.0

latest releases: v1.39.0-dev, v1.37.1, v1.37.0...
3 years ago

Key Features and Enhancements

This DALI release includes the following key features and enhancements.

  • New operators:
    • Add PeekShape operator to learn the decoded image shape (#2205)
  • Add an ability to run DALI without GPU (#2165)
  • Optimize single-channel audio resampling with SSE2 (#2240)
  • Add ability to pass DALI TensorList or a list of DALI Tensors to exernal source (#2244)
  • Enhance error messages in case of not supported data types in operators (#2211)
  • Add a more verbose message about unsupported videos (#2203)
  • Use copy kernel when making a contiguous batch during ShareUserData, if user requested it (#2200)

Bug fixes

  • Fix typo in VERSION
  • Fix lack of input type checking in GPU variant of Spectrogram operator (#2192)
  • Fix TensorListView::to_static (#2216)
  • Temporarily freeze protobuf packages versions in Conda (#2222)
  • Fix VideoReader error checking when opening files (#2223)
  • Fix NVTX annotations (#2215)
  • Fix docker/build.sh to use Python 3 for TF plugin (#2214)
  • Fix hw_decoder_load=0.0 for ImageDecoder related tests that require deterministic results (#2232)
  • Fix a memory leak in the audio decoder (#2235)
  • Fix for TF nightly container (#2236)
  • Fix wrong jupyter execution syntax (#2241)
  • Fix TL1_ssd_training test (#2243)

Improvements

  • Use copy kernel when making a contiguous batch during ShareUserData, if user requested it (#2200)
  • Update ExternalSource documentation (#2201)
  • Use NVCC to detect cuda release version (#2194)
  • DALI TF stop requiring DALI to be installed before build_ext step (#2204)
  • Add PeekShape operator to learn the decoded image shape (#2205)
  • Remove dummy package (#2207)
  • Add a more verbose message about unsupported videos (#2203)
  • Enhance error messages in case of not supported data types in operators (#2211)
  • Add more supported types to SliceBase (#2210)
  • Add an ability to run DALI without GPU (#2165)
  • Add CUTLASS to third party with an initial code layout (#2237)
  • Make the CUTLASS template files pass lint check (#2238)
  • Use SSE2 for single-channel audio resampling (#2240)
  • Add nvidia-tensorflow to DALI tests (#2075)
  • Update APEX version to the latest stable and tested version (#2246)
  • Fuzzing targets (#2219)
  • Add ability to pass DALI TensorList or a list of DALI Tensors to exernal source (#2244)
  • 3D resampling (#1489)
  • Skip VP9 tests instead of failing if codec is not supported. (#2251)

Breaking API changes

Deprecated feature

Known issues:

  • 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 lesser frequency, then the returned frames may be out of sync.
  • 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, use GCC 4.8.4, GCC 4.8.5, or GCC 5.4.)
  • Due to some known issues with meltdown/spectra mitigations and DALI, DALI shows best performance when run 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

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

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

Or use direct download links (CUDA 10.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:

Don't miss a new DALI release

NewReleases is sending notifications on new releases.