Is it expected behavior that `bentoml.models.Huggi...
# ask-for-help
k
Is it expected behavior that
bentoml.models.HuggingFaceModel
currently does not support setting
repo_type
? In our scenario, we need to use the
lukbl/LaTeX-OCR
model (
repo_type="space"
), but currently, there is no way to modify it. My current approach is to manually upload it using
bentoml models push
so that the service can access it.
j
Hello! @xian might be the right person to answer this!
❇️ 1
x
Yeah. currently we did not expose "repo_type", that means only "Model" is supported. @Frost Ming What do you think ?
f
yes, we have some hardcoded parts for the repo-type, which means it’s not supported now even if we expose this option
👀 1
k
Thank you for your reply. I would like to understand if there are any plans for support at the moment? In our scenario, we won’t be calling the pipeline for processing, we just need to get the model’s path. We will load and use it ourselves. Currently, my temporary solution is to download the model and manually upload it to the BentoML models storage.
j
@Kevin Cui (Black-Hole) as of now you can use
bentoml.models
. is it possible to support space
repo_type
@Frost Ming?