mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-07 11:21:11 +03:00
Add config option to select fp16 or quantized jina vision model (#14270)
* Add config option to select fp16 or quantized jina vision model * requires_fp16 for text and large models only * fix model type check * fix cpu * pass model size
This commit is contained in:
@@ -13,3 +13,6 @@ class SemanticSearchConfig(FrigateBaseModel):
|
||||
default=False, title="Reindex all detections on startup."
|
||||
)
|
||||
device: str = Field(default="AUTO", title="Device Type")
|
||||
model_size: str = Field(
|
||||
default="small", title="The size of the embeddings model used."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user