set default thread num to 2, not everyone has 8 gigs of ram
This commit is contained in:
@@ -46,8 +46,8 @@ class Settings(BaseSettings):
|
|||||||
ann_tuning_level: int = 2
|
ann_tuning_level: int = 2
|
||||||
rknn: bool = True
|
rknn: bool = True
|
||||||
rknn_textual_threads: int = 1
|
rknn_textual_threads: int = 1
|
||||||
rknn_visual_threads: int = 2
|
rknn_visual_threads: int = 1
|
||||||
rknn_facial_detection_threads: int = 2
|
rknn_facial_detection_threads: int = 1
|
||||||
preload: PreloadModelData | None = None
|
preload: PreloadModelData | None = None
|
||||||
max_batch_size: MaxBatchSize | None = None
|
max_batch_size: MaxBatchSize | None = None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user