Reader small image

You're reading from  Machine Learning Engineering with MLflow

Product typeBook
Published inAug 2021
PublisherPackt
ISBN-139781800560796
Edition1st Edition
Tools
Right arrow
Author (1)
Natu Lauchande
Natu Lauchande
author image
Natu Lauchande

Natu Lauchande is a principal data engineer in the fintech space currently tackling problems at the intersection of machine learning, data engineering, and distributed systems. He has worked in diverse industries, including biomedical/pharma research, cloud, fintech, and e-commerce/mobile. Along the way, he had the opportunity to be granted a patent (as co-inventor) in distributed systems, publish in a top academic journal, and contribute to open source software. He has also been very active as a speaker at machine learning/tech conferences and meetups.
Read more about Natu Lauchande

Right arrow

Integrating MLflow with NVIDIA RAPIDS (GPU)

Training and tuning ML models is a long and computationally expensive operation and is one of the operations that can benefit the most from parallel processing. We will explore in this section the integration of your MLflow training jobs, including hyperparameter optimization, with the NVIDIA RAPIDS framework.

To integrate the NVIDIA RAPIDS library, follow the next steps:

  1. Install RAPIDS in the most convenient way for your environment, outlined as follows:

    a. https://rapids.ai/start.html contains detailed information on deployment options.

    b. https://developer.nvidia.com/blog/run-rapids-on-google-colab/ details how to run RAPIDS on Google Colaboratory (Google Colab).

  2. Install MLflow in your environment.
  3. Import the needed libraries, as follows:
    import argparse
    from functools import partial
    import mlflow
    import mlflow.sklearn
    from cuml.metrics.accuracy import accuracy_score
    from cuml.preprocessing.model_selection import train_test_split...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Machine Learning Engineering with MLflow
Published in: Aug 2021Publisher: PacktISBN-13: 9781800560796

Author (1)

author image
Natu Lauchande

Natu Lauchande is a principal data engineer in the fintech space currently tackling problems at the intersection of machine learning, data engineering, and distributed systems. He has worked in diverse industries, including biomedical/pharma research, cloud, fintech, and e-commerce/mobile. Along the way, he had the opportunity to be granted a patent (as co-inventor) in distributed systems, publish in a top academic journal, and contribute to open source software. He has also been very active as a speaker at machine learning/tech conferences and meetups.
Read more about Natu Lauchande