CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 06:02:26 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"58c60507ad28d3ff02a7efeab50f3da3"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=L7xA%2BE0Vr5bO1tx0Pjh1xXYr2F%2FWSVZX4Fk0PWuknMBJ6NoSdQKO9xi3WMlOvFTECqBMFZSNO%2Fo34Cdf98e3DSn50XBltxBbHGuhR4ix9UX4iMnAylu7pTPFxRJtJw62rpRaQ2yUzr6xrXAUPvhZlrfei7uTviMpPC7m%2BAUzvpaq%2BXvKmp%2BpR%2BUA%2FG9bs%2FfjYn%2Bw16%2FyzkpgFEK58CHlurHijePl0TbIGUhg3RVCoBjoclVk86D2LD7jzWK%2BpTUYAyYa5RE5x4XUbFTsolki3g%3D%3D--f3wO4VXhxSlWxfSF--6Fev3JoTgeWks9YyyewCQg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.71444913.1753682545; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 06:02:25 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 06:02:25 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E738:0A77:8898A7:B1DA5A:68871271
Release DJL v0.21.0 release · deepjavalibrary/djl · GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 714
DJL v0.21.0 release
Compare
Key Features
- Upgrades and enhancements for Engines
- Introduces several improvements for extensions:
- Implements NDScope to automatically close NDArray in the scope (#2321)
- Allows MXNet runs on Ampere GPU (#2313)
- DJLServing release
- Adds faster transformer support (#424)
- Adds Deepspeed ahead of time partition script in DLC (#466)
- Adds SageMaker MME support (#479)
- Adds support for stable-diffusion-2-1-base model (#484)
- Adds support for stable diffusion depth model (#488)
- Adds out of memory protection for modle loading (#496)
- Makes load_on_devices per model setting (#493)
- Adds several per model settings
- Improves management console model loading and inference UI (#431, #432)
- Updates deepspeed to 0.8.0 (#465)
Enhancement
- Introduces several enhancements for timeseries extension:
- Introduces several enhancement for HuggingFace tokenizer:
- Adds batch encoding support(#2342, #2343, #2337, #2338)
- Adds batchEncode for text pair (#2339)
- Adds mean_sqrt_len and weightedmean pooling for TextEmbedding (#2272)
- Adds more pooling mode form TextEmbedding (#2261)
- Allows Huggingface model zoo list models in offline mode (#2322)
- Update TextEmbedding pooling model name (#2314)
- Introduces a few new examples:
- Introduces several enhancement for Spark extension:
- DJL API improvements:
- Adds limit and callback for Metrics API (#2362)
- Adds newBaseManager(String engineName) api (#2275)
- Falls back to PassthroughNDManager if there is no engine (#2354)
- Improves Criteria.build() error message (#2397)
- Improves hybrid engine operators (#2279)
- Improve NDArray encode/decode performance (#2361)
- Refactors Engine class (#2303)
- Implements gatherNd, partial flatten and enable BertOnCode training (#2216)
- Makes TestDataset constructor protected (#2271)
- Creates SimplePaddingStackBatchifier (#2384)
- Creates standard for PreTrained behavior (#2360)
- Creates the TabularTranslator (#2344)
- Enables tuning distill_bert embedding layer (#2203)
- Handle RuntimeException on ImageFactory::newInstance (#2241)
- Implement AdamW on Pytorch and MXNet (#2206)
- Improves TranslatorExpansions with pre-processing and post-processing (#2213)
- Opens LayerNorm.Builder for inheritance (#2309)
- Adds feature to identify NDArray if double closed (#2352)
- Adds back support for getting managed Arrays (#2386)
- Opens Conv2d block constructor for inheritance (#2231)
- PyTorch engine improvements:
- Adds scatter function to PtNDArray (#2332)
- Search for model.pt or model.onnx when loading the model (#2364)
- Better handle String tensor operations (#2380)
- Fixes typo in error message (#2355)
- Makes JNI comptible with PyTorch 1.11.0 (#2263)
- No longer search java.library.path (#2235)
- Uses runMethod to replace forward function (#2234)
- Workaround hann_window issue for PyTorch 1.12.1 (#2262)
- Adds support for torch::cuda::empty_cache(). (#2305)
- Fixes memory leak in PyTorch indexing fuction (#2300)
- LightGBM engine improvements:
- Updates library dependencies:
- Adds aarch64 and macOS M1 support for SentencePiece (#2325, #2324)
- Adds centos 7 support for SentencePiece (#2402)
- Adds aarch64 support for audio extension (#2250)
Breaking change
- Removes Neo-DLR engine from DJL #2373
- Moves RawDataset from basicdata to api module (#2375)
- Changes Spark extension API (#2388)
Bug fixes
- Fixes nested model directory issue (#2214)
- Fixes NPE if block is cleard before training (#2365)
- Fixes toDebugString() IllegalStateException if NDArray is closed (#2347)
- Fixes typo in javadoc (#2286)
- Fixes unittest failure on GPU (#2255)
- Fixes inconsistencies using RANK in engine providers (#2244)
- Fixes the content format (#2229)
- Fixes the name passing bug (#2222)
- Fixes TrainAmazonReviewRanking example for PyTorch (#2173)
- Fixes performance issues from freezing MXNet (#2394)
Documentation and Examples
- Fixes ONNXRuntime Android doc (#2194)
- Updates readme of tranferFreshFruilt (#2236)
- Updates cache menagement adds ONNX and Huggingface cache directory (#2334)
- Updates FAQ (#2328)
- Fix typo in javadoc of Block and AbstractBlock (#2288)
- Adds extensions to docs web page (#2284)
- Adds missing DJLServing docs menu items (#2363)
- Improves documents (#2396)
- Updates PyTorch graph exector optimization document (#2374)
- Updates README for engines (#2282)
- Fixes whisper model translator (#2341)
- Documents workaround AudioGrabber bug for whisper model (#2330)
- Adds tensorflow dependency to pom.xml (#2268)
- Fixes PyTorch nightly test (#2264)
- Fixes Onnx version in README (#2253)
- Update onnx version in README file (#2223)
- Fix djl-zero doc (#2201)
CI improvements:
- Adds lost package for Codespaces Dockerfile (#2260)
- Uses ubuntu-latest as runner (#2199)
- Updates configure-aws-credentials to v1-node16 (#2196)
- Adds formatCpp exclusion to gradle plugin (#2215)
- Allows publish djl-serving from a branch (#2225)
- Build cu102 JNI for PyTorch 1.11.0 and 1.12.1 (#2254)
- Fixes jdk18 compile error (#2306)
- Replace jacoc root report with aggregation report plugin (#2280)
- Updates github action setup-python to v4 (#2202)
- Upgrade gradle to 7.6 (#2302)
- Upgrade testng to 7.7.0 (#2230)
- Fixes PMD 6.21.0 reported issues (#2296)
- Removes DLR github actions (#2398)
- Sets seed in TransferFreshFruitTest for consistent results (#2238)
- fastText should not depends on any engine #2353
- Avoid unittest polluting cache directory. (#2228)
- Minor refactor encoding class (#2336)
- Split TranslatorTest into smaller test classes. (#2335)
Contributors
- @dayo05
- @demq
- @enpasos
- @frankfliu
- @KexinFeng
- @lanking520
- @Noricks
- @siddvenk
- @SuperMaskv
- @xyang16
- @zachgk
New Contributors
- @dayo05 made their first contribution in #2241
- @Noricks made their first contribution in #2260
- @SuperMaskv made their first contribution in #2288
Full Changelog: v0.20.0...v0.21.0
Assets 2
You can’t perform that action at this time.