Skip to content

Commit

Permalink
Update to DJL 0.23.0 (#201)
Browse files Browse the repository at this point in the history
sindhuvahinis authored Jul 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 986dc9b commit c2962bb
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions chapter_installation/index.ipynb
Original file line number Diff line number Diff line change
@@ -127,12 +127,12 @@
"\n",
"```java\n",
"// Add the maven dependencies\n",
"%maven ai.djl:api:0.20.0\n",
"%maven ai.djl:api:0.23.0\n",
"%maven org.slf4j:slf4j-simple:2.0.1\n",
" \n",
"// See https://github.com/deepjavalibrary/djl/blob/master/mxnet/mxnet-engine/README.md\n",
"// for more MXNet library selection options\n",
"%maven ai.djl.mxnet:mxnet-engine:0.20.0\n",
"%maven ai.djl.mxnet:mxnet-engine:0.23.0\n",
"```\n",
"\n",
"To avoid repeatedly adding maven dependencies and import required packages, we just load a predefined jupyter notebook: \n",
2 changes: 1 addition & 1 deletion chapter_preliminaries/lookup-api.ipynb
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@
"\n",
"For more specific instructions on how to use a given function or class, we can click the desired function or go to it directly by scrolling down and searching for it. As an example, let us explore the usage instructions for `NDManager`'s `ones` function which takes a `Shape` as a parameter. \n",
"\n",
"https://javadoc.io/static/ai.djl/api/0.20.0/ai/djl/ndarray/NDManager.html#ones(ai.djl.ndarray.types.Shape)\n"
"https://javadoc.io/static/ai.djl/api/0.23.0/ai/djl/ndarray/NDManager.html#ones(ai.djl.ndarray.types.Shape)\n"
]
},
{
2 changes: 1 addition & 1 deletion debug/build.gradle
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ configure(this) {
apply from: file("tools/gradle/java-formatter.gradle")
}

def djl_version = "0.20.0"
def djl_version = "0.23.0"

dependencies {
implementation platform("ai.djl:bom:${djl_version}")
4 changes: 2 additions & 2 deletions utils/djl-imports.ipynb
Original file line number Diff line number Diff line change
@@ -6,8 +6,8 @@
"metadata": {},
"outputs": [],
"source": [
"%maven ai.djl:basicdataset:0.20.0\n",
"%maven ai.djl.mxnet:mxnet-engine:0.20.0\n",
"%maven ai.djl:basicdataset:0.23.0\n",
"%maven ai.djl.mxnet:mxnet-engine:0.23.0\n",
"%maven org.slf4j:slf4j-simple:1.7.36"
]
},

0 comments on commit c2962bb

Please sign in to comment.