SeldonIO / tempo

MLOps Python Library
https://tempo.readthedocs.io/en/latest/
Apache License 2.0
114 stars 21 forks source link

Various fixes to enable tempo to pack environment for single models #189

Closed sakoush closed 3 years ago

sakoush commented 3 years ago

This PR adds various fixes that we needed to get an mlflow model(e.g based on pytorch) saved and deployed using Tempo.

The main change is to pack the conda environment if save_env is True even if there is no custom predict function (i.e. BaseModel._user_func is False) defined, which is the case with individual models.

Other changes that are required as well:

There is an example to showcase the pytorch model serving as a notebook.

TODO in this PR still:

ukclivecox commented 3 years ago

Should we add an associated example with MLFlow?

review-notebook-app[bot] commented 3 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB