Skip to content

Commit

Permalink
set default thread num to 2, not everyone has 8 gigs of ram
Browse files Browse the repository at this point in the history
  • Loading branch information
yoni13 committed Jan 12, 2025
1 parent c665fd2 commit e6ff21b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions machine-learning/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class Settings(BaseSettings):
ann_tuning_level: int = 2
rknn: bool = True
rknn_textual_threads: int = 1
rknn_visual_threads: int = 2
rknn_facial_detection_threads: int = 2
rknn_visual_threads: int = 1
rknn_facial_detection_threads: int = 1
preload: PreloadModelData | None = None
max_batch_size: MaxBatchSize | None = None

Expand Down

0 comments on commit e6ff21b

Please sign in to comment.