Hey guys, does anyone know how I can import a my c...
# ask-for-help
p
Hey guys, does anyone know how I can import a my custom runner which is inside
model/catboost_runner.py
to my service which is
model/regression/gt-12min-context/api.py
? I tried to do
from model.bentoml_helper.catboost_runner import CatboostRunner
but when I run
serve
it throws the following error: Error: [bentoml-cli]
serve
failed: Failed to load bento or import service ‘api.py:svc’. If you are attempting to import bento in local store: ’Failed to import module “api”: No module named ‘model’’. If you are importing by python module path: ’Bento ‘api.py:svc’ is not found in BentoML store