This message was deleted.
# ask-for-help
s
This message was deleted.
💾 1
🍱 1
🏁 1
a
can you see the model under local store?
Copy code
tree $(b get ed_cc -o path)
j
@Aaron Pham I'm not sure if I understand you - I'm not familiar with
tree
, however it is located in my ~/bentoml/models/ed_cc directory. And like I said, when I run
bentoml serve
, I have no problem running the model on
localhost:3000
I'm also confused by the references that the container makes to the
/home/bentoml/bento
directory which does not seem to exist
a
You have to include the model into the runner
Copy code
runner = bentoml.Runner(..., name=..., models=[...])
This works locally because the model is available locally. When you packaged it into the Bento, since you didn’t specify the model for that runner, it didn’t include that given model.
j
Something like
models=['ed_cc:latest']
?
a
models=[bm]
models takes in a list of model ref, which you specified earlier
j
ah...it works perfectly now! Thank you!