From 551b069953a837f6e702ee8bb2ed47383f2aa4a3 Mon Sep 17 00:00:00 2001 From: Jason Sleight Date: Fri, 23 Jun 2023 17:37:25 -0400 Subject: [PATCH] Setting version to 0.23.0 --- README.md | 61 +++++++--------------- mleap-databricks-runtime-testkit/README.md | 6 +-- python/mleap/version.py | 2 +- version.sbt | 2 +- 4 files changed, 25 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 831b68bb6..3d830c718 100644 --- a/README.md +++ b/README.md @@ -38,37 +38,22 @@ Our goals for this project are: Unified Runtime -## Requirements - -MLeap is built against Scala 2.12 and Java 11. - -### MLeap/Spark Version - -Choose the right version of the `mleap-spark` module to export your pipeline. The serialization format is backwards compatible between different versions of MLeap. So if you export a pipeline using MLeap 0.11.0 and Spark 2.1, you can still load that pipeline using MLeap runtime version 0.12.0. - -| MLeap Version | Spark Version | -|---------------|---------------| -| 0.22.0 | 3.3.0 | -| 0.21.1 | 3.2.0 | -| 0.21.0 | 3.2.0 | -| 0.20.0 | 3.2.0 | -| 0.19.0 | 3.0.2 | -| 0.18.1 | 3.0.2 | -| 0.18.0 | 3.0.2 | -| 0.17.0 | 2.4.5 | -| 0.16.0 | 2.4.5 | -| 0.15.0 | 2.4 | -| 0.14.0 | 2.4 | -| 0.13.0 | 2.3 | -| 0.12.0 | 2.3 | -| 0.11.0 | 2.2 | -| 0.11.0 | 2.1 | -| 0.11.0 | 2.0 | -| 0.10.3 | 2.2 | -| 0.10.3 | 2.1 | -| 0.10.3 | 2.0 | - -Please see the [release notes](RELEASE_NOTES.md) for changes (especially breaking changes) included with each release. +## Dependency Compatibility Matrix + +Other versions besides those listed below may also work (especially more recent Java versions for the JRE), +but these are the configurations which are tested by mleap. + +| MLeap Version | Spark Version | Scala Version | Java Version | Python Version | XGBoost Version | Tensorflow Version | +|---------------|---------------|------------------|--------------|----------------|-----------------|--------------------| +| 0.23.0 | 3.4.0 | 2.12.13 | 11 | 3.7, 3.8 | 1.7.3 | 2.10.1 | +| 0.22.0 | 3.3.0 | 2.12.13 | 11 | 3.7, 3.8 | 1.6.1 | 2.7.0 | +| 0.21.1 | 3.2.0 | 2.12.13 | 11 | 3.7 | 1.6.1 | 2.7.0 | +| 0.21.0 | 3.2.0 | 2.12.13 | 11 | 3.6, 3.7 | 1.6.1 | 2.7.0 | +| 0.20.0 | 3.2.0 | 2.12.13 | 8 | 3.6, 3.7 | 1.5.2 | 2.7.0 | +| 0.19.0 | 3.0.2 | 2.12.13 | 8 | 3.6, 3.7 | 1.3.1 | 2.4.1 | +| 0.18.1 | 3.0.2 | 2.12.13 | 8 | 3.6, 3.7 | 1.0.0 | 2.4.1 | +| 0.18.0 | 3.0.2 | 2.12.13 | 8 | 3.6, 3.7 | 1.0.0 | 2.4.1 | +| 0.17.0 | 2.4.5 | 2.11.12, 2.12.10 | 8 | 3.6, 3.7 | 1.0.0 | 1.11.0 | ## Setup @@ -77,7 +62,7 @@ Please see the [release notes](RELEASE_NOTES.md) for changes (especially breakin #### SBT ```sbt -libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.22.0" +libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.23.0" ``` #### Maven @@ -86,7 +71,7 @@ libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.22.0" ml.combust.mleap mleap-runtime_2.12 - 0.22.0 + 0.23.0 ``` @@ -95,7 +80,7 @@ libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.22.0" #### SBT ```sbt -libraryDependencies += "ml.combust.mleap" %% "mleap-spark" % "0.22.0" +libraryDependencies += "ml.combust.mleap" %% "mleap-spark" % "0.23.0" ``` #### Maven @@ -104,16 +89,10 @@ libraryDependencies += "ml.combust.mleap" %% "mleap-spark" % "0.22.0" ml.combust.mleap mleap-spark_2.12 - 0.22.0 + 0.23.0 ``` -### Spark Packages - -```bash -$ bin/spark-shell --packages ml.combust.mleap:mleap-spark_2.12:0.22.0 -``` - ### PySpark Integration Install MLeap from [PyPI](https://pypi.org/project/mleap/) diff --git a/mleap-databricks-runtime-testkit/README.md b/mleap-databricks-runtime-testkit/README.md index 7886c187e..f30853a5b 100644 --- a/mleap-databricks-runtime-testkit/README.md +++ b/mleap-databricks-runtime-testkit/README.md @@ -3,7 +3,7 @@ ``` sbt mleap-databricks-runtime-fat/assembly mleap-databricks-runtime-testkit/assembly -spark-submit --jars $PWD/mleap-databricks-runtime-fat/target/scala-2.12/mleap-databricks-runtime-fat-assembly-0.22.0.jar \ - --packages org.tensorflow:tensorflow:1.11.0,org.tensorflow:libtensorflow_jni:1.11.0,ml.dmlc:xgboost4j-spark:1.6.1 \ - mleap-databricks-runtime-testkit/target/scala-2.12/mleap-databricks-runtime-testkit-assembly-0.22.0.jar +spark-submit --jars $PWD/mleap-databricks-runtime-fat/target/scala-2.12/mleap-databricks-runtime-fat-assembly-0.23.0.jar \ + --packages org.tensorflow:tensorflow-core-api:0.5.0,ml.dmlc:xgboost4j-spark:1.7.3 \ + mleap-databricks-runtime-testkit/target/scala-2.12/mleap-databricks-runtime-testkit-assembly-0.23.0.jar ``` diff --git a/python/mleap/version.py b/python/mleap/version.py index b0014ff56..f48ececc4 100644 --- a/python/mleap/version.py +++ b/python/mleap/version.py @@ -16,4 +16,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -version = "0.22.0" +version = "0.23.0" diff --git a/version.sbt b/version.sbt index 11e47ca1d..8b25fb7d4 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.22.0" +version in ThisBuild := "0.23.0"