SeldonIO / MLServer

An inference server for your machine learning models, including support for multiple frameworks, multi-model serving and more
https://mlserver.readthedocs.io/en/latest/
Apache License 2.0
685 stars 177 forks source link

fix(runtimes): Remove unused Pydantic dependencies #1725

Closed jesse-c closed 4 months ago

jesse-c commented 4 months ago

These runtimes don't explicitly use Pydantic. Remove the dependency then to make that clear, and to increase flexibility. A step towards Pydantic v2.

jesse-c commented 4 months ago

I also see no pyproject.toml changes for some runtimes e.g. alibi-explain so I am not sure if they were missed?

This is for unused Pydantic dependency declarations. Alibi Explain uses Pydantic [1].

[1] https://github.com/jesse-c/MLServer/blob/02268574ff8cb5d330edfeb8cc10b64896472e22/runtimes/alibi-explain/mlserver_alibi_explain/common.py#L7