Skip to content

DJL v0.20.0 release

Compare
Choose a tag to compare
@xyang16 xyang16 released this 01 Dec 02:22
· 783 commits to master since this release

Key Features

  • Upgrades and enhancements for Engines
    • Upgrades PyTorch to 1.13.0 (#2157)
    • Add support for Apple's Metal Performance Shaders (MPS) in PyTorch (#2037)
    • Add system property to config GraphExecutorOptimize (#2156)
    • Upgrades ONNXRuntime to 1.13.1 (#2115)
    • Upgrades Paddle to 2.3.2 (#2116)
    • Upgrades TensorFlow to 2.7.4 (#2121)
    • Upgrades HuggingFace tokenizer version to 0.13.1 (#2127)
    • Upgrades XGBoost to 1.7.1 (#2143)
  • DJLServing
    • Adds large model inference support with MPI mode (#291)
    • Adds built-in DeepSpeed handler (#292)
    • Publishes PaddlePaddle docker image (#342)
  • Adds TabNet Training (#2057)
  • Publishes DJL Zero (#2091)
  • Adds Spark extension (#2162)
  • Introduces several improvements for timeseries extension
  • Adds ImageFeatureExtractor example and resnet base model to model zoo

Enhancement

  • Introduces several enhancements for timeseries extension:
    • Adds probability distribution support for timeseries (#2025)
    • Add time series dataset support for timeseries package (#2026)
    • Update M5Forecast dataset and its unittest (#2105)
    • Add some basic block and deepAR model (#2027)
    • Enable pytorch deepar model inference in time series package (#2149)
  • Introduces several enhancement for HuggingFace tokenizer:
    • Enhance huggingface text embedding translator to support max length padding (#2049)
    • Add cli options to only validate jit model on CPU (#2052)
    • Add batch decoding methods for tokenizers (#2154)
  • Adds new models to DJL model zoo:
    • Adds TabNet model for tabular dataset in modelzoo (#2036)
    • Adds yolo5s to OnnxRuntime model zoo (#2046)
    • Object Detection (#1930)
    • Adds image classification resnet18 base model to model zoo (#2079)
  • DJL API improvements:
    • Adds Sparsemax block (#2028)
    • Updates the SemanticSegmentationTranslator (#2032)
    • Creates Ensembleable (#2043)
    • Handle error when forget to initialize a child block (#2045)
    • Adds draw mask for BitMapWrapper (#2071)
    • Allows show NDArray content in debugger (#2078)
    • Rename transparency to opacity in CategoryMask (#2081)
    • Allows to show NDArray content in Debugger 2 (#2080)
    • Transfer learning with pytorch engine on fresh fruit dataset (#2070)
    • Ensure GradientCollector can clear gradients (#2101)
    • Handles conflict JNA package issue (#2118)
    • Adds Multiplication block (#2110)
    • Allows non-ServingTranslatorFactory for DJLServing (#2148)
    • Adds cumprod operator (#2152)
    • Adds Randperm on PyTorch and MxNet (#2084)
    • Creates translator options (#2145)
  • CI improvements:
    • Add Mac M1 build (#2039)
    • Publishes serving tar and zip (#2014)
    • Uploads djl-bench release artifacts to S3 (#2020)
    • Upgrade deprecated github actions (#2119)
    • Upgrade github actions to latest version (#2122)
    • Compile JNI only when file changes (#2161)
    • Speed up continuous build by not uploading jacoco report (#2166)
    • Respect -SNAPSHOT version in jar manifest (#2177)
    • Allows JNI to be compiled on headless jdk (#2098)
    • Move model zoo download test to canary (#2169)
    • Upgrades PyTorch for Android to 1.13.0 (#2171)
    • Add some unit tests (#2063)
    • Test accumulating gradient collector (#2111)
    • Refactor unit test TestRequirements, add missing TestRequirements (#2120)
  • Upgrade protobuf version to 3.20.2 (#2035)
  • Update deeplabv3 model zoo metadata (#2051)
  • Remove String tensor limitation for model output (#2056)
  • Disables mapLocation when using MPS device (#2061)
  • Adds disablePerSessionThreads option to model loading for ONNXRuntime (#2104)
  • LightGBM inference result matches input type (#2129)
  • Apply no_optimizer_guard only for Android (#2153)
  • Update dependency version (#2176)
  • Reduce nested exception level (#2181)

Documentation and Examples

  • Updates Semantic Segmentation app (#263)
  • Adds the object detection app demo, use onnxruntime engine (#266)
  • Adds stable diffusion demo (#269)
  • Adds Spark extension example (#272)
  • Adds DJLServing Postman examples (#276)
  • Adds DJLServing Java client demo (#277)
  • Adds DJLServing Python client demo (#278)
  • Update README.md (#2010)
  • Update dependency docs for timeseries package (#2004)
  • Update javadoc links (#2017)
  • Use latest javadoc links (#2021)
  • Info added (#2022)
  • Add Mac M1 info in docs (#2040)
  • Some doc fixes (#2042)
  • Improve memory management and batchify docs (#2076)
  • Move serving docs to top level and reorganize (#2100)
  • Update docs top level memu (#2102)
  • Change timeseries dataset source example and add test (#2109)
  • Fix a document issue (#2114)
  • Update dependency document (#2134)
  • Upgrade pytorch 1.13.0 documents (#2158)
  • Add readme for TransferFreshFruit (#2160)
  • Made the sites copyright year dyanamic (#2188)

Breaking change

  • NDArray.toDebugString() signature has been changed (#2078)

Bug Fixes

  • Fixes flooded warning message in PyTorch (#2136)
  • Fixes youtube link in quick start (#2012)
  • Fixes dlr-native build script (#2015)
  • Adds missing condition for benchmark release (#2023)
  • Fixes folder not exist bug when use external pytorch native library (#2033)
  • Fixes bug in OD TF saved model example (#2050)
  • Fixes MXNet engine cu112 document (#2066)
  • Fixes CategoryMask (#2073)
  • Fixes ames and various tabular improvements (#2054)
  • Fixes randomColor (#2075)
  • Fixes remove warning spam during training (#2097)
  • Adds missing test requirements to opencv test (#2108)
  • Fixes android crash issue (#2113)
  • Avoid static setup/tearDown in testng (#2126)
  • Add missing dependency to timeseries (#2128)
  • Fixes mac os build failure (#2131)
  • Fixes char offset (#2137)
  • Adds repo_url in order to fix broken edit links (#2140) (#2141)
  • Fixes format bug and change the name of retrain (#2147)
  • Fixes ndarry operator warnings show up in Jupyter notebook (#2150)
  • Fixes HfModelZoo NPE bug with shadowjar (#2163)
  • Fixes Temporary File Information Disclosure Vulnerability (#2164)
  • Fixes movielens download issue (#2167)
  • Fixes Yolov3 javadoc warning (#2168)
  • CVE-2007-4559 Patch (#2189)

Contributors

New Contributors

Full Changelog: v0.19.0...v0.20.0