Skip to content

Commit

Permalink
Merge pull request #32 from combust/new_docs
Browse files Browse the repository at this point in the history
update to latest version
  • Loading branch information
ancasarb authored Nov 14, 2022
2 parents ff88db1 + 91fc735 commit 95b3bc0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion core-concepts/mleap-bundles.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ looks like:
"name": "pipeline_43ec54dff5b2",
"timestamp": "2017-09-03T17:41:25.206",
"format": "json",
"version": "0.20.0"
"version": "0.21.0"
}
```

Expand Down
4 changes: 2 additions & 2 deletions getting-started/mleap.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Scala compatibility with Spark.
### Using SBT

```sbt
libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.20.0"
libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.21.0"
```

### Using Maven
Expand All @@ -23,7 +23,7 @@ libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.20.0"
<dependency>
<groupId>ml.combust.mleap</groupId>
<artifactId>mleap-runtime_2.12</artifactId>
<version>0.20.0</version>
<version>0.21.0</version>
</dependency>
```

Expand Down
8 changes: 4 additions & 4 deletions getting-started/spark.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Scala compatibility with Spark.
### Using SBT

```sbt
libraryDependencies += "ml.combust.mleap" %% "mleap-spark" % "0.20.0"
libraryDependencies += "ml.combust.mleap" %% "mleap-spark" % "0.21.0"
```

To use MLeap extensions to Spark:

```sbt
libraryDependencies += "ml.combust.mleap" %% "mleap-spark-extension" % "0.20.0"
libraryDependencies += "ml.combust.mleap" %% "mleap-spark-extension" % "0.21.0"
```

### Using Maven
Expand All @@ -29,7 +29,7 @@ libraryDependencies += "ml.combust.mleap" %% "mleap-spark-extension" % "0.20.0"
<dependency>
<groupId>ml.combust.mleap</groupId>
<artifactId>mleap-spark_2.12</artifactId>
<version>0.20.0</version>
<version>0.21.0</version>
</dependency>
```

Expand All @@ -39,7 +39,7 @@ To use MLeap extensions to Spark:
<dependency>
<groupId>ml.combust.mleap</groupId>
<artifactId>mleap-spark-extension_2.12</artifactId>
<version>0.20.0</version>
<version>0.21.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion getting-started/tensorflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ your MLeap pipelines.
First, include the module as a project dependency:

```sbt
libraryDependencies += "ml.combust.mleap" %% "mleap-tensorflow" % "0.20.0"
libraryDependencies += "ml.combust.mleap" %% "mleap-tensorflow" % "0.21.0"
```

Then we can start using Tensorflow graphs, let's build a simple one that
Expand Down
4 changes: 2 additions & 2 deletions notebooks/jupyter.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ Kernel config files are typically located in `/usr/local/share/jupyter/kernels/a
Go ahead and add or modify `__TOREE_SPARK_OPTS__` like so:

```bash
"__TOREE_SPARK_OPTS__": "--packages com.databricks:spark-avro_2.11:3.0.1,ml.combust.mleap:mleap-spark_2.12:0.20.0,"
"__TOREE_SPARK_OPTS__": "--packages com.databricks:spark-avro_2.11:3.0.1,ml.combust.mleap:mleap-spark_2.12:0.21.0,"
```

An alternative way is to use AddDeps Magics, but we've run into dependency collisions, so do so at your own risk:

`%AddDeps ml.combust.mleap mleap-spark_2.12 0.20.0 --transitive`
`%AddDeps ml.combust.mleap mleap-spark_2.12 0.21.0 --transitive`

### Launch Notebook with MLeap for PySpark

Expand Down
4 changes: 2 additions & 2 deletions notebooks/zeppelin.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Zeppelin runs Spark by default, and we won't be covering how to set-up a zeppelin notebook here. However, once you do have it set-up, adding MLeap as a dependency is very easy.

MLeap is already located on Maven Central, so all you have to do is add:
* `ml.combust.mleap:mleap-spark_2.12:0.20.0` for Spark serialization support
* `ml.combust.mleap:mleap-runtime_2.12:0.20.0` and `ml.combust.mleap:mleap-core_2.12:0.20.0` for MLeap Runtime support
* `ml.combust.mleap:mleap-spark_2.12:0.21.0` for Spark serialization support
* `ml.combust.mleap:mleap-runtime_2.12:0.21.0` and `ml.combust.mleap:mleap-core_2.12:0.21.0` for MLeap Runtime support

Once that's done, just include mleap import statements:

Expand Down

0 comments on commit 95b3bc0

Please sign in to comment.