Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 672 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 672 Bytes

Basic needed setup

  • Python 3.10 (if you have Pyenv installed, this project comes bundled with a .python-version file)
  • Poetry (tested with version 1.4.0)
  • Conda (tested with version 23.1.0)

To reproduce the blog post workflow

  1. Install dependencies:
poetry install
  1. Register the model:
poetry run python workflow_examples/register_model.py
  1. Test inference with running environment and see the error:
poetry run python blog_post_mlflow_spark_udf/batch_predict.py "local" 
  1. Test inference with isolated conda environment and see the result:
poetry run python blog_post_mlflow_spark_udf/batch_predict.py "conda"