MLServer icon indicating copy to clipboard operation
MLServer copied to clipboard

Allow local packages in `mlserver build` dependencies

Open adriangonz opened this issue 2 years ago • 0 comments

In some cases, people may structure their custom inference runtimes as "isolated" Python packages (i.e. with a setup.py / pyproject.toml, etc.).

In these cases, to make sure your local packages get installed in the final image, you would have a requirements.txt that refers to these local packages. However, this would fail at the moment with the mlserver build command - because it will try to install packages before copying everything over.

To account for this, we should support referring to local paths in custom requirements.txt files.

adriangonz avatar May 23 '23 09:05 adriangonz