Skip to content

Commit

Permalink
Setting version to 0.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jsleight committed Jun 23, 2023
1 parent e2b34c1 commit 551b069
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 46 deletions.
61 changes: 20 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,37 +38,22 @@ Our goals for this project are:

<img src="assets/images/single-runtime.jpg" alt="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

Expand All @@ -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
Expand All @@ -86,7 +71,7 @@ libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.22.0"
<dependency>
<groupId>ml.combust.mleap</groupId>
<artifactId>mleap-runtime_2.12</artifactId>
<version>0.22.0</version>
<version>0.23.0</version>
</dependency>
```

Expand All @@ -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
Expand All @@ -104,16 +89,10 @@ libraryDependencies += "ml.combust.mleap" %% "mleap-spark" % "0.22.0"
<dependency>
<groupId>ml.combust.mleap</groupId>
<artifactId>mleap-spark_2.12</artifactId>
<version>0.22.0</version>
<version>0.23.0</version>
</dependency>
```

### 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/)
Expand Down
6 changes: 3 additions & 3 deletions mleap-databricks-runtime-testkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion python/mleap/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.22.0"
version in ThisBuild := "0.23.0"

0 comments on commit 551b069

Please sign in to comment.