mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 09:39:48 +00:00
address feedback
This commit is contained in:
parent
e167e9eb93
commit
5821ec9ef3
12 changed files with 61 additions and 76 deletions
|
|
@ -84,7 +84,7 @@ class MetaReferenceInferenceImpl(
|
|||
async def register_model(self, model: Model) -> Model:
|
||||
model = await self.model_registry_helper.register_model(model)
|
||||
if model.model_type == ModelType.embedding_model:
|
||||
self._get_embedding_model(model.provider_resource_id)
|
||||
self._load_sentence_transformer_model(model.provider_resource_id)
|
||||
return model
|
||||
|
||||
async def completion(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue