You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the latest mlserver version (1.3.0) I got a Internal Server Error /v2/docs/dataplane.json if I try to access the "/v2/docs" endpoint.
# create a new project to reproduce
eval {mkdir,cd}\ testproject\;
python -mvenv .venv
. .venv/bin/activate
pip install mlserver==1.3.0
mlserver start .
Apparently its trying to read the dataplane.json under .venv/lib/python3.9/site-packages/mlserver/../openapi/dataplane.json which is - i guess - neither the right place to look at nor is it there.
The openapi folder is not included in the whl package.
The 1.3.0 release hasn't been fully published yet, but you're 100% right that there seems to be an issue with how the dataplane.json file is getting packaged. We'll yank the release for now until we sort that one out.
Hi,
in the latest mlserver version (1.3.0) I got a
Internal Server Error /v2/docs/dataplane.json
if I try to access the "/v2/docs" endpoint.Apparently its trying to read the dataplane.json under
.venv/lib/python3.9/site-packages/mlserver/../openapi/dataplane.json
which is - i guess - neither the right place to look at nor is it there.The openapi folder is not included in the whl package.
Maybe its possible to move the openapi folder with the static files into the mlserver folder and change the MANIFEST.in (https://github.com/SeldonIO/MLServer/blob/1.3.0/MANIFEST.in) to
include mlserver/openapi/*.json
and change line 7 in mlserver/rest/openapi.py (https://github.com/SeldonIO/MLServer/blob/1.3.0/mlserver/rest/openapi.py#L7) to
OPENAPI_SCHEMA_RELATIVE_PATH = "openapi/dataplane.json"
I don't know if these changes would have other implications but it works.
The text was updated successfully, but these errors were encountered: