Skip to content

Redesign DetectorLogic to allow parallel detections and model updates#78

Draft
ftilde wants to merge 12 commits intomainfrom
parallel_model_upgrade
Draft

Redesign DetectorLogic to allow parallel detections and model updates#78
ftilde wants to merge 12 commits intomainfrom
parallel_model_upgrade

Conversation

@ftilde
Copy link
Collaborator

@ftilde ftilde commented Mar 2, 2026

DetectorLogic instances are now short(er) lived and only represent a single model version. If a new version is published, a new version is built in the background and replaces the active detector when it's ready. If desired EXCLUSIVE_MODEL_BUILD=1 can be set to discard the old model before building the new one, thus reducing peak memory usage.

Other changes:

  • Add local claude files to .gitignore
  • Update uv.lock

@ftilde ftilde force-pushed the parallel_model_upgrade branch from fe0b081 to a1ec07b Compare March 10, 2026 13:28
@ftilde ftilde force-pushed the parallel_model_upgrade branch from a1ec07b to 6a0a6c3 Compare March 11, 2026 14:48
@ftilde ftilde requested a review from denniswittich March 11, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant