rszper commented on code in PR #24437:
URL: https://github.com/apache/beam/pull/24437#discussion_r1036511603
##########
examples/notebooks/beam-ml/run_inference_pytorch.ipynb:
##########
@@ -84,6 +84,13 @@
"metadata": {
"id": "loxD-rOVchRn"
},
+ "outputs": [],
+ "source": [
+ "!pip install apache_beam[gcp,dataframe] --quiet"
+ ],
+ "metadata": {
+ "id": "loxD-rOVchRn"
+ },
Review Comment:
I think I successfully got rid of this.
##########
examples/notebooks/beam-ml/run_inference_pytorch_tensorflow_sklearn.ipynb:
##########
@@ -41,25 +36,23 @@
"# KIND, either express or implied. See the License for the\n",
"# specific language governing permissions and limitations\n",
"# under the License"
- ]
- },
- {
- "cell_type": "markdown",
+ ],
"metadata": {
+ "cellView": "form",
"id": "faayYQYrQzY3"
- },
- "source": [
- "## Use RunInference in Apache Beam"
- ]
+ },
+ "execution_count": null,
+ "outputs": []
},
{
"cell_type": "markdown",
"metadata": {
"id": "JjAt1GesQ9sg"
},
"source": [
- "Starting with Apache Beam 2.40.0, you can use Apache Beam with the
RunInference API to use machine learning (ML) models for local and remote
inference with batch and streaming pipelines.\n",
- "The RunInference API leverages Apache Beam concepts, such as the
BatchElements transform and the Shared class, to support models in your
pipelines that create transforms optimized for machine learning inferences.\n",
+ "# Use RunInference in Apache Beam\n",
+ "You can use Apache Beam versions 2.40.0 and later with the
[RunInference
API](https://beam.apache.org/releases/pydoc/current/apache_beam.ml.inference.base.html#apache_beam.ml.inference.base.RunInference)
to use machine learning (ML) models for local and remote inference with batch
and streaming pipelines.\n",
Review Comment:
Updated, thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]