MLServer
MLServer copied to clipboard
Allow local packages in `mlserver build` dependencies
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.