From 3b0701f9a4a51a9f97bf94a77c797fd43384a4ba Mon Sep 17 00:00:00 2001 From: Wei Chu Date: Fri, 15 Apr 2022 15:28:33 -0700 Subject: [PATCH 1/3] update version to 1.9.1 --- R-package/DESCRIPTION | 2 +- contrib/clojure-package/examples/bert/project.clj | 2 +- contrib/clojure-package/examples/captcha/project.clj | 2 +- .../examples/cnn-text-classification/project.clj | 2 +- contrib/clojure-package/examples/gan/project.clj | 2 +- .../clojure-package/examples/imclassification/project.clj | 2 +- .../examples/infer/imageclassifier/project.clj | 2 +- .../examples/infer/objectdetector/project.clj | 2 +- .../clojure-package/examples/infer/predictor/project.clj | 2 +- contrib/clojure-package/examples/module/project.clj | 2 +- contrib/clojure-package/examples/multi-label/project.clj | 2 +- contrib/clojure-package/examples/neural-style/project.clj | 2 +- .../examples/pre-trained-models/project.clj | 2 +- contrib/clojure-package/examples/profiler/project.clj | 2 +- contrib/clojure-package/examples/rnn/project.clj | 2 +- contrib/clojure-package/examples/tutorial/project.clj | 2 +- .../clojure-package/examples/visualization/project.clj | 2 +- contrib/clojure-package/project.clj | 2 +- .../api/scala/docs/tutorials/mxnet_scala_on_intellij.md | 4 ++-- example/extensions/lib_api/init_lib.cc | 2 +- example/extensions/lib_custom_op/gemm_lib.cc | 2 +- example/extensions/lib_custom_op/relu_lib.cu | 2 +- example/extensions/lib_custom_op/transposecsr_lib.cc | 2 +- example/extensions/lib_custom_op/transposerowsp_lib.cc | 2 +- example/extensions/lib_pass/pass_lib.cc | 2 +- example/extensions/lib_subgraph/subgraph_lib.cc | 2 +- include/mxnet/base.h | 2 +- python/mxnet/libinfo.py | 2 +- scala-package/README.md | 8 ++++---- scala-package/mxnet-demo/java-demo/README.md | 2 +- scala-package/mxnet-demo/java-demo/pom.xml | 4 ++-- scala-package/mxnet-demo/scala-demo/pom.xml | 4 ++-- scala-package/pom.xml | 2 +- snapcraft.yaml | 2 +- 34 files changed, 40 insertions(+), 40 deletions(-) diff --git a/R-package/DESCRIPTION b/R-package/DESCRIPTION index a7a1560aca2c..40723c880d60 100644 --- a/R-package/DESCRIPTION +++ b/R-package/DESCRIPTION @@ -1,7 +1,7 @@ Package: mxnet Type: Package Title: MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systems -Version: 1.9.0 +Version: 1.9.1 Date: 2017-06-27 Author: Tianqi Chen, Qiang Kou, Tong He, Anirudh Acharya Maintainer: Qiang Kou diff --git a/contrib/clojure-package/examples/bert/project.clj b/contrib/clojure-package/examples/bert/project.clj index 658114d3b7f8..528d5beb9ed9 100644 --- a/contrib/clojure-package/examples/bert/project.clj +++ b/contrib/clojure-package/examples/bert/project.clj @@ -23,7 +23,7 @@ ;;; so if you run into trouble please delete the `lein-juptyter` plugin [lein-jupyter "0.1.16" :exclusions [org.clojure/tools.nrepl org.clojure/clojure org.codehaus.plexus/plexus-utils org.clojure/tools.reader]]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"] [cheshire "5.8.1"] [clojure-csv/clojure-csv "2.0.1"]] :pedantic? :skip diff --git a/contrib/clojure-package/examples/captcha/project.clj b/contrib/clojure-package/examples/captcha/project.clj index 24e292b1017c..af8a601b0301 100644 --- a/contrib/clojure-package/examples/captcha/project.clj +++ b/contrib/clojure-package/examples/captcha/project.clj @@ -19,7 +19,7 @@ :description "Captcha recognition via multi-label classification" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :main ^:skip-aot captcha.train-ocr :profiles {:train {:main captcha.train-ocr} :infer {:main captcha.infer-ocr} diff --git a/contrib/clojure-package/examples/cnn-text-classification/project.clj b/contrib/clojure-package/examples/cnn-text-classification/project.clj index bf288e855244..2bd4c125bdcb 100644 --- a/contrib/clojure-package/examples/cnn-text-classification/project.clj +++ b/contrib/clojure-package/examples/cnn-text-classification/project.clj @@ -19,6 +19,6 @@ :description "CNN text classification with MXNet" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :pedantic? :skip :main cnn-text-classification.classifier) diff --git a/contrib/clojure-package/examples/gan/project.clj b/contrib/clojure-package/examples/gan/project.clj index 60f364bcccfc..9a9a73c97a44 100644 --- a/contrib/clojure-package/examples/gan/project.clj +++ b/contrib/clojure-package/examples/gan/project.clj @@ -20,7 +20,7 @@ :plugins [[lein-cljfmt "0.5.7"]] :repositories [["vendredi" {:url "https://repository.hellonico.info/repository/hellonico/"}]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"] [origami "4.0.0-3"] ] :main gan.gan-mnist) diff --git a/contrib/clojure-package/examples/imclassification/project.clj b/contrib/clojure-package/examples/imclassification/project.clj index 17d0eec7bc95..9648ed68e59f 100644 --- a/contrib/clojure-package/examples/imclassification/project.clj +++ b/contrib/clojure-package/examples/imclassification/project.clj @@ -19,6 +19,6 @@ :description "Clojure examples for image classification" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :pedantic? :skip :main imclassification.train-mnist) diff --git a/contrib/clojure-package/examples/infer/imageclassifier/project.clj b/contrib/clojure-package/examples/infer/imageclassifier/project.clj index 37f92fb09e35..22914c34bcd1 100644 --- a/contrib/clojure-package/examples/infer/imageclassifier/project.clj +++ b/contrib/clojure-package/examples/infer/imageclassifier/project.clj @@ -20,6 +20,6 @@ :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] [org.clojure/tools.cli "0.4.1"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :main ^:skip-aot infer.imageclassifier-example :profiles {:uberjar {:aot :all}}) diff --git a/contrib/clojure-package/examples/infer/objectdetector/project.clj b/contrib/clojure-package/examples/infer/objectdetector/project.clj index b03e68916226..0865560a5679 100644 --- a/contrib/clojure-package/examples/infer/objectdetector/project.clj +++ b/contrib/clojure-package/examples/infer/objectdetector/project.clj @@ -22,6 +22,6 @@ :aliases {"run-detector" ["run" "--" "-m" "models/resnet50_ssd/resnet50_ssd_model" "-i" "images/dog.jpg" "-d" "images/"]} :dependencies [[org.clojure/clojure "1.9.0"] [org.clojure/tools.cli "0.4.1"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :main ^:skip-aot infer.objectdetector-example :profiles {:uberjar {:aot :all}}) diff --git a/contrib/clojure-package/examples/infer/predictor/project.clj b/contrib/clojure-package/examples/infer/predictor/project.clj index d0b9e77527f9..134756694e8a 100644 --- a/contrib/clojure-package/examples/infer/predictor/project.clj +++ b/contrib/clojure-package/examples/infer/predictor/project.clj @@ -20,6 +20,6 @@ :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] [org.clojure/tools.cli "0.4.1"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :main ^:skip-aot infer.predictor-example :profiles {:uberjar {:aot :all}}) diff --git a/contrib/clojure-package/examples/module/project.clj b/contrib/clojure-package/examples/module/project.clj index 9f33b4c9e70a..79e7e19e7032 100644 --- a/contrib/clojure-package/examples/module/project.clj +++ b/contrib/clojure-package/examples/module/project.clj @@ -19,7 +19,7 @@ :description "Clojure examples for module" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :pedantic? :skip :main mnist-mlp) diff --git a/contrib/clojure-package/examples/multi-label/project.clj b/contrib/clojure-package/examples/multi-label/project.clj index 2959c318aa25..0d85d2828f92 100644 --- a/contrib/clojure-package/examples/multi-label/project.clj +++ b/contrib/clojure-package/examples/multi-label/project.clj @@ -19,5 +19,5 @@ :description "Example of multi-label classification" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :main multi-label.core) diff --git a/contrib/clojure-package/examples/neural-style/project.clj b/contrib/clojure-package/examples/neural-style/project.clj index 40921ba657eb..458455078ada 100644 --- a/contrib/clojure-package/examples/neural-style/project.clj +++ b/contrib/clojure-package/examples/neural-style/project.clj @@ -20,6 +20,6 @@ :plugins [[lein-cljfmt "0.5.7"]] :repositories [["vendredi" {:url "https://repository.hellonico.info/repository/hellonico/"}]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"] [origami "4.0.0-3"]] :main neural-style.core) diff --git a/contrib/clojure-package/examples/pre-trained-models/project.clj b/contrib/clojure-package/examples/pre-trained-models/project.clj index b5868038179e..bd9c00cbe7e0 100644 --- a/contrib/clojure-package/examples/pre-trained-models/project.clj +++ b/contrib/clojure-package/examples/pre-trained-models/project.clj @@ -21,6 +21,6 @@ :repositories [["vendredi" {:url "https://repository.hellonico.info/repository/hellonico/"}]] :aliases {"predict-image" ["run" "-m" "pre-trained-models.predict-image" ]} :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"] [origami "4.0.0-3"]] :main pre-trained-models.fine-tune) diff --git a/contrib/clojure-package/examples/profiler/project.clj b/contrib/clojure-package/examples/profiler/project.clj index 7609dfe0b5d8..941b3cd4b5b1 100644 --- a/contrib/clojure-package/examples/profiler/project.clj +++ b/contrib/clojure-package/examples/profiler/project.clj @@ -18,5 +18,5 @@ (defproject profiler "0.1.0-SNAPSHOT" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :main profiler.core) diff --git a/contrib/clojure-package/examples/rnn/project.clj b/contrib/clojure-package/examples/rnn/project.clj index 58411a96e9f7..35e49872a8f8 100644 --- a/contrib/clojure-package/examples/rnn/project.clj +++ b/contrib/clojure-package/examples/rnn/project.clj @@ -19,5 +19,5 @@ :description "RNN example" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :main rnn.train-char-rnn) diff --git a/contrib/clojure-package/examples/tutorial/project.clj b/contrib/clojure-package/examples/tutorial/project.clj index 734da94b0d18..9a35250441c5 100644 --- a/contrib/clojure-package/examples/tutorial/project.clj +++ b/contrib/clojure-package/examples/tutorial/project.clj @@ -19,7 +19,7 @@ :description "MXNET tutorials" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"] ;; Uncomment the one appropriate for your machine & configuration: #_[org.apache.mxnet.contrib.clojure/clojure-mxnet-linux-cpu "1.4.0"] diff --git a/contrib/clojure-package/examples/visualization/project.clj b/contrib/clojure-package/examples/visualization/project.clj index f72044240eb4..a6cccae394d7 100644 --- a/contrib/clojure-package/examples/visualization/project.clj +++ b/contrib/clojure-package/examples/visualization/project.clj @@ -19,5 +19,5 @@ :description "Visualization example" :plugins [[lein-cljfmt "0.5.7"]] :dependencies [[org.clojure/clojure "1.9.0"] - [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT"]] + [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT"]] :main visualization.core) diff --git a/contrib/clojure-package/project.clj b/contrib/clojure-package/project.clj index b3fc8e2dc218..ba9f3bba23f2 100644 --- a/contrib/clojure-package/project.clj +++ b/contrib/clojure-package/project.clj @@ -15,7 +15,7 @@ ;; limitations under the License. ;; -(defproject org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.0-SNAPSHOT" +(defproject org.apache.mxnet.contrib.clojure/clojure-mxnet "1.9.1-SNAPSHOT" :description "Clojure package for MXNet" :url "https://github.com/apache/incubator-mxnet" :license {:name "Apache License" diff --git a/docs/static_site/src/pages/api/scala/docs/tutorials/mxnet_scala_on_intellij.md b/docs/static_site/src/pages/api/scala/docs/tutorials/mxnet_scala_on_intellij.md index 2f7c5a64f352..f67ceaf33c51 100644 --- a/docs/static_site/src/pages/api/scala/docs/tutorials/mxnet_scala_on_intellij.md +++ b/docs/static_site/src/pages/api/scala/docs/tutorials/mxnet_scala_on_intellij.md @@ -410,14 +410,14 @@ If you chose to "Build from Source" when following the [install instructions]({{ org.apache.mxnet mxnet-core_${scala.version}-${platform}-sources system - /PathToMXNetSource/incubator-mxnet/scala-package/assembly/osx-x86_64-cpu/target/mxnet-full_${scala.version}-osx-x86_64-cpu-1.9.0-SNAPSHOT-sources.jar + /PathToMXNetSource/incubator-mxnet/scala-package/assembly/osx-x86_64-cpu/target/mxnet-full_${scala.version}-osx-x86_64-cpu-1.9.1-SNAPSHOT-sources.jar org.apache.mxnet mxnet-full_${scala.version}-${platform} system - /PathToMXNetSource/incubator-mxnet/scala-package/assembly/osx-x86_64-cpu/target/mxnet-full_${scala.version}-osx-x86_64-cpu-1.9.0-SNAPSHOT.jar + /PathToMXNetSource/incubator-mxnet/scala-package/assembly/osx-x86_64-cpu/target/mxnet-full_${scala.version}-osx-x86_64-cpu-1.9.1-SNAPSHOT.jar ``` diff --git a/example/extensions/lib_api/init_lib.cc b/example/extensions/lib_api/init_lib.cc index cf4a3e3af1af..ab24832ab0cc 100644 --- a/example/extensions/lib_api/init_lib.cc +++ b/example/extensions/lib_api/init_lib.cc @@ -28,7 +28,7 @@ using namespace mxnet::ext; MXReturnValue initialize(int version) { - if (version >= 10900) { + if (version >= 10901) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_custom_op/gemm_lib.cc b/example/extensions/lib_custom_op/gemm_lib.cc index a33c6e368c2a..fe6f21546c8c 100644 --- a/example/extensions/lib_custom_op/gemm_lib.cc +++ b/example/extensions/lib_custom_op/gemm_lib.cc @@ -232,7 +232,7 @@ REGISTER_OP(state_gemm) .setCreateOpState(createOpState, "cpu"); MXReturnValue initialize(int version) { - if (version >= 10900) { + if (version >= 10901) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_custom_op/relu_lib.cu b/example/extensions/lib_custom_op/relu_lib.cu index 3525cf4787b4..b82efa81a0c2 100644 --- a/example/extensions/lib_custom_op/relu_lib.cu +++ b/example/extensions/lib_custom_op/relu_lib.cu @@ -266,7 +266,7 @@ REGISTER_OP(my_noisy_relu) .setBackward(backwardGPU, "gpu"); MXReturnValue initialize(int version) { - if (version >= 10900) { + if (version >= 10901) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_custom_op/transposecsr_lib.cc b/example/extensions/lib_custom_op/transposecsr_lib.cc index 2b8c0783664a..3d329802d2a4 100644 --- a/example/extensions/lib_custom_op/transposecsr_lib.cc +++ b/example/extensions/lib_custom_op/transposecsr_lib.cc @@ -194,7 +194,7 @@ REGISTER_OP(my_state_transposecsr) .setCreateOpState(createOpState, "cpu"); MXReturnValue initialize(int version) { - if (version >= 10900) { + if (version >= 10901) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_custom_op/transposerowsp_lib.cc b/example/extensions/lib_custom_op/transposerowsp_lib.cc index 5264523db82e..b0353a4e6b41 100644 --- a/example/extensions/lib_custom_op/transposerowsp_lib.cc +++ b/example/extensions/lib_custom_op/transposerowsp_lib.cc @@ -197,7 +197,7 @@ REGISTER_OP(my_state_transposerowsp) .setCreateOpState(createOpState, "cpu"); MXReturnValue initialize(int version) { - if (version >= 10900) { + if (version >= 10901) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_pass/pass_lib.cc b/example/extensions/lib_pass/pass_lib.cc index 5c113cda0faa..8fa4dc874c31 100644 --- a/example/extensions/lib_pass/pass_lib.cc +++ b/example/extensions/lib_pass/pass_lib.cc @@ -43,7 +43,7 @@ REGISTER_PASS(myPass) .setBody(myPass); MXReturnValue initialize(int version) { - if (version >= 10900) { + if (version >= 10901) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_subgraph/subgraph_lib.cc b/example/extensions/lib_subgraph/subgraph_lib.cc index a9a234499b61..ef5363afe78b 100644 --- a/example/extensions/lib_subgraph/subgraph_lib.cc +++ b/example/extensions/lib_subgraph/subgraph_lib.cc @@ -330,7 +330,7 @@ REGISTER_PASS(addInputPass) .setBody(addInputPass); MXReturnValue initialize(int version) { - if (version >= 10900) { + if (version >= 10901) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/include/mxnet/base.h b/include/mxnet/base.h index d7653a39736a..0d9be107c53a 100644 --- a/include/mxnet/base.h +++ b/include/mxnet/base.h @@ -74,7 +74,7 @@ /*! \brief minor version */ #define MXNET_MINOR 9 /*! \brief patch version */ -#define MXNET_PATCH 0 +#define MXNET_PATCH 1 /*! \brief mxnet version */ #define MXNET_VERSION (MXNET_MAJOR*10000 + MXNET_MINOR*100 + MXNET_PATCH) /*! \brief helper for making version number */ diff --git a/python/mxnet/libinfo.py b/python/mxnet/libinfo.py index 79f57bd6d4a1..aa631827e185 100644 --- a/python/mxnet/libinfo.py +++ b/python/mxnet/libinfo.py @@ -141,4 +141,4 @@ def find_conf_path(prefix='tvmop'): # current version -__version__ = "1.9.0" +__version__ = "1.9.1" diff --git a/scala-package/README.md b/scala-package/README.md index 83656004d4a5..d6dbf44b48b4 100644 --- a/scala-package/README.md +++ b/scala-package/README.md @@ -101,7 +101,7 @@ Also, add the dependency which corresponds to your platform to the ```dependenci org.apache.mxnet mxnet-full_2.11-linux-x86_64-gpu - [1.9.0-SNAPSHOT,) + [1.9.1-SNAPSHOT,) ``` @@ -113,7 +113,7 @@ Also, add the dependency which corresponds to your platform to the ```dependenci org.apache.mxnet mxnet-full_2.11-linux-x86_64-cpu - [1.9.0-SNAPSHOT,) + [1.9.1-SNAPSHOT,) ``` @@ -124,11 +124,11 @@ Also, add the dependency which corresponds to your platform to the ```dependenci org.apache.mxnet mxnet-full_2.11-osx-x86_64-cpu - [1.9.0-SNAPSHOT,) + [1.9.1-SNAPSHOT,) ``` -**Note:** ```[1.9.0-SNAPSHOT,)``` indicates that we will fetch packages with version 1.9.0 or higher. This will always ensure that the pom.xml is able to fetch the latest and greatest jar files from Maven Snapshot repository. +**Note:** ```[1.9.1-SNAPSHOT,)``` indicates that we will fetch packages with version 1.9.0 or higher. This will always ensure that the pom.xml is able to fetch the latest and greatest jar files from Maven Snapshot repository. Build From Source ----------------- diff --git a/scala-package/mxnet-demo/java-demo/README.md b/scala-package/mxnet-demo/java-demo/README.md index 1690e8de1d6c..354bb2f8abeb 100644 --- a/scala-package/mxnet-demo/java-demo/README.md +++ b/scala-package/mxnet-demo/java-demo/README.md @@ -120,5 +120,5 @@ sudo apt install libopencv-imgcodecs3.4 Is there any other version available? -You can find nightly release version from [here](https://repository.apache.org/#nexus-search;gav~org.apache.mxnet~~1.9.0-SNAPSHOT~~). +You can find nightly release version from [here](https://repository.apache.org/#nexus-search;gav~org.apache.mxnet~~1.9.1-SNAPSHOT~~). Please keep the same version in the pom file or [other versions in here](https://repository.apache.org/#nexus-search;gav~org.apache.mxnet~~~~) to run this demo. diff --git a/scala-package/mxnet-demo/java-demo/pom.xml b/scala-package/mxnet-demo/java-demo/pom.xml index 385a9b7083d3..451d2e306398 100644 --- a/scala-package/mxnet-demo/java-demo/pom.xml +++ b/scala-package/mxnet-demo/java-demo/pom.xml @@ -27,7 +27,7 @@ 1.8 1.8 - [1.9.0-SNAPSHOT, ) + [1.9.1-SNAPSHOT, ) 2.11 @@ -41,7 +41,7 @@ - [1.9.0-SNAPSHOT, ) + [1.9.1-SNAPSHOT, ) diff --git a/scala-package/mxnet-demo/scala-demo/pom.xml b/scala-package/mxnet-demo/scala-demo/pom.xml index 94d1b86087e0..752d9f0193c4 100644 --- a/scala-package/mxnet-demo/scala-demo/pom.xml +++ b/scala-package/mxnet-demo/scala-demo/pom.xml @@ -35,7 +35,7 @@ - [1.9.0-SNAPSHOT, ) + [1.9.1-SNAPSHOT, ) @@ -65,7 +65,7 @@ 2.11 - [1.9.0, ) + [1.9.1, ) 2.11.8 diff --git a/scala-package/pom.xml b/scala-package/pom.xml index b17f25dfcf78..040e46bbf4a2 100644 --- a/scala-package/pom.xml +++ b/scala-package/pom.xml @@ -57,7 +57,7 @@ 2.11.8 2.11 - 1.9.0 + 1.9.1 g++ $ diff --git a/snapcraft.yaml b/snapcraft.yaml index e431aa5e0016..f72b77a365ee 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -16,7 +16,7 @@ # under the License. name: mxnet -version: '1.9.0' +version: '1.9.1' summary: MXNet is a deep learning framework designed for efficiency and flexibility. description: | MXNet is a deep learning framework designed for both efficiency and From ab30c8dea523b09b2038f7d523d711ff952cc3ed Mon Sep 17 00:00:00 2001 From: Wei Chu Date: Mon, 18 Apr 2022 11:39:15 -0700 Subject: [PATCH 2/3] revert changes in example/extensions --- example/extensions/lib_api/init_lib.cc | 2 +- example/extensions/lib_custom_op/gemm_lib.cc | 2 +- example/extensions/lib_custom_op/relu_lib.cu | 2 +- example/extensions/lib_custom_op/transposecsr_lib.cc | 2 +- example/extensions/lib_custom_op/transposerowsp_lib.cc | 2 +- example/extensions/lib_pass/pass_lib.cc | 2 +- example/extensions/lib_subgraph/subgraph_lib.cc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/example/extensions/lib_api/init_lib.cc b/example/extensions/lib_api/init_lib.cc index ab24832ab0cc..cf4a3e3af1af 100644 --- a/example/extensions/lib_api/init_lib.cc +++ b/example/extensions/lib_api/init_lib.cc @@ -28,7 +28,7 @@ using namespace mxnet::ext; MXReturnValue initialize(int version) { - if (version >= 10901) { + if (version >= 10900) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_custom_op/gemm_lib.cc b/example/extensions/lib_custom_op/gemm_lib.cc index fe6f21546c8c..a33c6e368c2a 100644 --- a/example/extensions/lib_custom_op/gemm_lib.cc +++ b/example/extensions/lib_custom_op/gemm_lib.cc @@ -232,7 +232,7 @@ REGISTER_OP(state_gemm) .setCreateOpState(createOpState, "cpu"); MXReturnValue initialize(int version) { - if (version >= 10901) { + if (version >= 10900) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_custom_op/relu_lib.cu b/example/extensions/lib_custom_op/relu_lib.cu index b82efa81a0c2..3525cf4787b4 100644 --- a/example/extensions/lib_custom_op/relu_lib.cu +++ b/example/extensions/lib_custom_op/relu_lib.cu @@ -266,7 +266,7 @@ REGISTER_OP(my_noisy_relu) .setBackward(backwardGPU, "gpu"); MXReturnValue initialize(int version) { - if (version >= 10901) { + if (version >= 10900) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_custom_op/transposecsr_lib.cc b/example/extensions/lib_custom_op/transposecsr_lib.cc index 3d329802d2a4..2b8c0783664a 100644 --- a/example/extensions/lib_custom_op/transposecsr_lib.cc +++ b/example/extensions/lib_custom_op/transposecsr_lib.cc @@ -194,7 +194,7 @@ REGISTER_OP(my_state_transposecsr) .setCreateOpState(createOpState, "cpu"); MXReturnValue initialize(int version) { - if (version >= 10901) { + if (version >= 10900) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_custom_op/transposerowsp_lib.cc b/example/extensions/lib_custom_op/transposerowsp_lib.cc index b0353a4e6b41..5264523db82e 100644 --- a/example/extensions/lib_custom_op/transposerowsp_lib.cc +++ b/example/extensions/lib_custom_op/transposerowsp_lib.cc @@ -197,7 +197,7 @@ REGISTER_OP(my_state_transposerowsp) .setCreateOpState(createOpState, "cpu"); MXReturnValue initialize(int version) { - if (version >= 10901) { + if (version >= 10900) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_pass/pass_lib.cc b/example/extensions/lib_pass/pass_lib.cc index 8fa4dc874c31..5c113cda0faa 100644 --- a/example/extensions/lib_pass/pass_lib.cc +++ b/example/extensions/lib_pass/pass_lib.cc @@ -43,7 +43,7 @@ REGISTER_PASS(myPass) .setBody(myPass); MXReturnValue initialize(int version) { - if (version >= 10901) { + if (version >= 10900) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { diff --git a/example/extensions/lib_subgraph/subgraph_lib.cc b/example/extensions/lib_subgraph/subgraph_lib.cc index ef5363afe78b..a9a234499b61 100644 --- a/example/extensions/lib_subgraph/subgraph_lib.cc +++ b/example/extensions/lib_subgraph/subgraph_lib.cc @@ -330,7 +330,7 @@ REGISTER_PASS(addInputPass) .setBody(addInputPass); MXReturnValue initialize(int version) { - if (version >= 10901) { + if (version >= 10900) { std::cout << "MXNet version " << version << " supported" << std::endl; return MX_SUCCESS; } else { From 82427a25003125cf4a971c76e6e85c9340b85d06 Mon Sep 17 00:00:00 2001 From: Wei Chu Date: Thu, 21 Apr 2022 13:01:08 -0700 Subject: [PATCH 3/3] scala readme version update --- scala-package/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scala-package/README.md b/scala-package/README.md index d6dbf44b48b4..2ba170df7632 100644 --- a/scala-package/README.md +++ b/scala-package/README.md @@ -128,7 +128,7 @@ Also, add the dependency which corresponds to your platform to the ```dependenci ``` -**Note:** ```[1.9.1-SNAPSHOT,)``` indicates that we will fetch packages with version 1.9.0 or higher. This will always ensure that the pom.xml is able to fetch the latest and greatest jar files from Maven Snapshot repository. +**Note:** ```[1.9.1-SNAPSHOT,)``` indicates that we will fetch packages with version 1.9.1 or higher. This will always ensure that the pom.xml is able to fetch the latest and greatest jar files from Maven Snapshot repository. Build From Source ----------------- @@ -186,7 +186,7 @@ Adding the following configuration in `pom.xml` org.apache.mxnet mxnet-full_2.11-INTERNAL - 1.9.0 + 1.9.1 system path_to_jar/mxnet-full_2.11-INTERNAL.jar