MLServer
MLServer copied to clipboard
Error failed to load model from model_dir
The xgboost models from model_dir are not loading, throws an error Invalid model uri provided. It's working if we provide model_uri. The sklearn model are loading properly without model_uri.
xgboost model: gs://seldon-models/sklearn/mms/lr_model
sklearn model: gs://kfserving-samples/models/xgboost/iris

Hey @Suresh-Nakkeran ,
As discussed in Slack, my guess is that since there isn't a model-settings.json file in the XGBoost folder, MLServer can't find that model.
Do you know whether the new KServe operator injects a model-settings.json config on the fly?
Hey @Suresh-Nakkeran, if I recall correctly, this was already sorted out, right? I'll be closing it down, but feel free to reopen if this is still an issue.