marqo-ai/marqo

[ENHANCEMENT] A better error message when model loading failed

wanliAlex opened this issue · 1 comments

We need a better error message to show why the model can not be loaded. Existing error message does not show the reason why the model can not be loaded.

image

Piggybacking off of this issue, resilience when model loading failed in pre-warming.

When a model in MARQO_MODELS_TO_PRELOAD fails to load, we could still boot up marqo anyway and throw a warning.
Current behavior: marqo fails to boot entirely.