Skip to content

DJL v0.18.0 release

Compare
Choose a tag to compare
@siddvenk siddvenk released this 11 Jul 21:13
· 943 commits to master since this release

Key Features

  • Adds macOS M1 chip support for PyTorch #1656, #1696
  • JDK 17 support #1672
  • Full support of PyTorch Get Indexing for NDArrays #1719
  • Full support of PyTorch Set Indexing for NDArrays #1755
  • Updates Dataset documentation #1686
  • Moves djl-bench to DJL Serving #1743
  • Engines and Extensions
    • TensorFlow 2.7.0 #1674
    • New djl-audio extension #1681
    • Adds GPU support for XGBoost #1680
    • tokenizers 0.12.0 #1739
    • sentencepiece 0.1.96 #1745
    • TensorRT 8.4.1 #1758
  • Newly Added Datasets
    • Goemotions dataset #1598
    • Daily Delhi Climate Dataset #1667
    • Tablesaw Dataset #1679
    • Universal Dependencies Corpus for English #1595
    • Movielens 100k dataset #1718

Enhancement

  • Increases build version to 0.18.0 #1645
  • Support of take from pytorch #1627
  • Upgrades JNA to 5.11.0 #1655
  • Improves ServingTranslator output handling #1654
  • Adds width/height conversion to ObjectDetection #1651
  • Add openCV find rectangle method to improve PaddleORC performance #1662
  • Removes unnecessary logics in Paddle #1676
  • Adds Cyclical Tracker #1671
  • Adds support of take on MXNet engine #1649
  • Implements GhostBatchNorm #1666
  • Allows indexer to attach specific manager #1688
  • Upgrades android module to use DJL 0.18.0 #1693
  • Uses pytorch to test API and aws-ai module #1695
  • Avoid download cudf dependency for XGBoost at build time #1694
  • Bumps up versions #1691
  • Refactors ServingTranslatorFactory #1702
  • Adds "capped" state to NDManager #1683
  • Upgrades NDK version to 21.1.6352462 #1707
  • Adds LinearCollection block #1658
  • Adds android test code #1714
  • Changes DJL repo names from aws-samples #1716
  • Adds serving deb file publish for CI #1721
  • Upgrades codeql github action to v2 #1730
  • Fixes publish serving deb #1725
  • Adds ai.djl.audio and ai.djl.tablesaw to BOM #1728
  • Upgrades java formatter to 1.15.0 #1727
  • Adds name to LambdaBlock #1726
  • Adds disable static option in MXNet to allow some model running #1735
  • Improves Criteria.toBuilder() api #1741
  • Fixes serving publish github actions #1742
  • Enables better textual description of neural net #1720
  • Ignores hidden files for nested model directory #1754
  • Creates action to auto-close issues without response #1751
  • Builds jni for aarch64 #1756
  • Removes unnecessary packages from tensorrt dockerfile #1760
  • Adds log for custom Translator loading #1761
  • Stores indices with batch #1750
  • Adds put feature with linear indexing on PyTorch engine #1749
  • Adds NDList to IValue unit test #1762
  • Makes tensorflow NDArray always dense #1763
  • JDK version updated #1767
  • Adds IValue Dict(str, IValue) support #1765
  • Creates tabular dataset #1699
  • Creates PreparedFeaturizer #1700
  • Normalizes Numeric Featurizer #1701
  • Adds support for registerCustomOpLibrary for ONNXRuntime. #1771
  • Implements inverse operation #1768
  • Supports Image output for ImageServingTranslator #1772
  • Allows user specify model name in serving.properties file #1780
  • Adds model zoo implementation #1781
  • Change the sagemaker model to s3 #1769
  • Improvements to image coloring #1784
  • Updates bert classification notebook to reflect changes in CSVDataset #1786
  • Paddle model zoo should not have compile time dependency on opencv #1785

Documentation and Examples

  • Updates README for 0.17.0 Release #1646
  • Increases DJL Version for main branchhttps://github.com//pull/1644
  • Fixes broken and redirected links #1647
  • Clarifies typo in example documentation #1685
  • Fixes javadoc error in JDK 1.8 #1698
  • Update description for latest javadoc location #1708
  • Creates README for DJL Android PyTorch 1.11 builds #1704
  • Adds serving to docs site #1715
  • Fixes broken javadoc links in jupyter notebooks #1722
  • Readme updates for PyTorch 1.11 #1709
  • Updates CVSDataset example README file #1729
  • Updates document to use MXNet 1.9.0 #1737
  • Adds documentation on loading TF extension libraries for running certa… #1776
  • Adds semantic segmentation example #1764

Breaking Changes

The following changes to api.djl.basicdataset.tabular may cause backwards incompatibility:

  • Features and Featurizers have been refactored out of the CSVDataset class. The are now present in ai.djl.basicdataset.tabular.utils
  • CSVDataset now extends a new abstract class, TabularDataset
  • api.djl.basicdataset.utils.DynamicBuffer implementation has moved to api.djl.basicdataset.tabular.utils.DynamicBuffer

Bug Fixes

  • [TensorFlow] fix GPU memory leak #1648
  • [tensorrt] Fixes native library path #1650
  • Fixes bug in NDArray.oneHot() API #1661
  • Fix errors in "getIoU" function #1687
  • Follow symlinks when loading models. #1692
  • [pytorch] Fixes model loading bug for 1.11.0 #1705
  • Ensure PreparedOneHotStringFeaturizer encodes categorical mappings co… #1723
  • [tensorflow] Avoid NPE in TfEngine #1734
  • [m1] Fix test failure on macOS M1 machine by @frankfliu in #1777

Contributors

@dandansamax
@DiaaAj
@frankfliu
@WHALEEYE
@patins1
@JohnDoll2023
@KexinFeng
@Konata-CG
@pdradx
@lanking520
@siddvenk
@LanAtGitHub
@warthecatalyst
@zachgk
@freemanliu
@liumingxiy

New Contributors

Full Changelog: v0.17.0...v0.18.0