DALI v0.2.0
Pre-release
Pre-release
Bug fixes
- Avoid full construction of the pipeline during construction and fix seed support in serialized pipelines (#16)
- Fix as_tensor not keeping the parent alive in Python (#60)
- Fix for "invalid resource handle" in multi-gpu training
- Fixes to PyTorch example. Need to reset DALI iterators between epochs. Putting model/loss computation back to default stream due to encountered memory access errors otherwise (#15)
- Move example file_list to proper dir (#38)
- Added fallback to host decoder when image is not JPEG but PNG instead (like n02105855_2933.JPEG from ImageNet) (#118)
Breaking API changes
- The API for the
Resize
operator changed to match other similar operators likeResizeCropMirror
. - The API for the TensorFlow plugin changed to allow specifying the whole shape of the tensor instead of
N
,H
, andW
separately; which enables handling bothNCHW
andNHWC
outputs. - The type of labels produced by the TensorFlow plugin have changed. In DALI version 0.1.2, it was always
tf.float32
. In this release, a new optional parameter calledlabel_type
is introduced to the TensorFlow plugin to control the type of label. The default value forlabel_type
istf.int64
to better align with the label type in TFRecord.
Improvements
- Add NVTX ranges for Operators run (#73)
- Add a note about NGC containers in README (#78)
- Unfused Crop operator and CropCastPermute operator (#50)
- Make build more restrictive Werror (#71)
- Add links to docs in README (#72)
- Expanded TF compatibility tests
- Add example with multiple readers pluged into TF (#58)
- Make pkg-config optional for CMake (#59)
- Resize refactor (#63)
- Add type casting in Python (#54)
- Add check that third_party git submodules are synced
- Add fallback in cmake when .pc file is not available for libjpeg-turbo (#49)
- Sphinx documentation (#36)
- Fix nvJpeg include dir (#47)
- Add private attribute naming convention to Pipeline::current_seed_ (#46)
- Add a shape argument for the output of the TF plugin (#45)
- Bump up libturbo-jpeg version to 1.5.3 (#44)
- Clean up dependencies list and dependency checks (#42)
- Switch over completely to FindProtobuf.cmake from CMake 3.9.6 (#41)
- Update README for prerequisites (#40)
- Add error checking for file_list format in file_loader. (#37)
- Add test support for various versions of pyTorch (#35)
- Add polymorphism for TF plugin outputs (#33)
- Add tensor layout checking (#32)
- Avoid rebuilding *.cu files during 'make install' after 'make' (#25)
- Add CUDA 8, OpenCV 2 support and options to disable libjpeg-turbo and nvJPEG (#22)
- Add CONTRIBUTING.md file and updated contribution section in the README.md (#20)
- Avoid full construction of the pipeline during construction and fix seed support in serialized pipelines (#16)
- Add int64 as label type and set it as default (#125)
Binary builds
Install via pip:
pip install --extra-index-url https://developer.download.nvidia.com/compute/redist nvidia-dali==0.2.0
Or use direct download links:
- https://developer.download.nvidia.com/compute/redist/nvidia-dali/nvidia_dali-0.2.0-34068-cp27-cp27mu-manylinux1_x86_64.whl
- https://developer.download.nvidia.com/compute/redist/nvidia-dali/nvidia_dali-0.2.0-34068-cp34-cp34m-manylinux1_x86_64.whl
- https://developer.download.nvidia.com/compute/redist/nvidia-dali/nvidia_dali-0.2.0-34068-cp35-cp35m-manylinux1_x86_64.whl
- https://developer.download.nvidia.com/compute/redist/nvidia-dali/nvidia_dali-0.2.0-34068-cp36-cp36m-manylinux1_x86_64.whl