Commit graph

28002 commits

Author SHA1 Message Date
Neeraj Gupta 58851f2d6e Remove unused submodule 2024-05-20 17:08:01 +05:30
laurenspriem 5172ce3126 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-05-20 16:56:53 +05:30
laurenspriem 3e1e26feb0 [mob][photos] Bigger and separate resources pool for face generation 2024-05-20 16:54:22 +05:30
Neeraj Gupta aa8e128c44 Merge branch 'main' into mobile_face 2024-05-20 16:42:11 +05:30
Neeraj Gupta cacb50b040 Fix git submodule 2024-05-20 16:40:21 +05:30
laurenspriem 58dcceca9f [mob][photos] Revert regression 2024-05-20 15:12:12 +05:30
laurenspriem 84f7d20966 [mob][photos] Put faces behind feature flag 2024-05-20 14:51:35 +05:30
Manav Rathi 41b22abc66
[desktop] ML touchups (#1777) 2024-05-20 14:49:50 +05:30
Manav Rathi 7049a901f8
Fix the app version in debug mode 2024-05-20 14:46:18 +05:30
Manav Rathi cb86ab84f3
Send user agent 2024-05-20 14:28:27 +05:30
laurenspriem 76848c826e [mob][photos] Change embeddings server structure 2024-05-20 14:18:34 +05:30
Manav Rathi 69b4fde936
Update TODOs based on discussion 2024-05-20 13:57:52 +05:30
Manav Rathi c2edac6192
Fix error I observed in logs
> TypeError: Cannot read properties of undefined (reading 'method')
2024-05-20 11:43:10 +05:30
Manav Rathi d7bd0f0200
[desktop] Fix ML put error 2024-05-20 11:33:43 +05:30
Manav Rathi 07ba9ef1d6
[desktop] ML: Clarify that existing indexed people will not show in this update (#1775) 2024-05-20 10:48:22 +05:30
Manav Rathi 10934b08a8
Handle first search on app start 2024-05-20 10:39:11 +05:30
laurenspriem 09b2732d76 [mob][photos] Use hidden cached files for count 2024-05-20 10:23:07 +05:30
Manav Rathi 34a8bdcf47
Remove unnecessary rounding 2024-05-20 10:15:41 +05:30
Manav Rathi 78420f65ab
Case 2024-05-20 10:09:41 +05:30
Manav Rathi 20dcf3e473
Annotate 2024-05-20 10:04:33 +05:30
Manav Rathi e97225fa10
Remove 2024-05-20 09:57:42 +05:30
Manav Rathi 476edd8cf5
Remove unused code paths
Only internal users come into such scenarios currently
2024-05-20 09:52:32 +05:30
Manav Rathi a3aa3755c6
[desktop] Clarify that existing indexed people will not show
These auto complete suggestions and the list of people in the photo details are
not shown when ML search is disabled, and it is disabled for non-internal users,
so updated the description.
2024-05-20 09:45:55 +05:30
laurenspriem a48c8b481e [mob][photos] Small changes 2024-05-20 09:41:11 +05:30
Manav Rathi 531547cd48
[web] Fix race condition in initialization of search worker (#1772)
During app init, two worker instances would get created in some cases
and two getInstances raced because of the await. This was causing the
search results to be empty until the page is reloaded (since the files
array was empty in the worker that got assigned, but the files would get
set to the other worker instance that lost the race).
2024-05-19 20:26:34 +05:30
Manav Rathi 97b964fd6c
[web] Fix race condition in initialization of search worker
During app init, two worker instances would get created in some cases and two
getInstances raced because of the await. This was causing the search results to
be empty until the page is reloaded (since the files array was empty in the
worker that got assigned, but the files would get set to the other worker
instance that lost the race).
2024-05-19 20:21:37 +05:30
Manav Rathi 69f06f753c
[web] ML cleanup - Part 7/x (#1771) 2024-05-19 20:19:59 +05:30
Manav Rathi e5a96222b9
Use 2024-05-19 19:14:48 +05:30
Manav Rathi 5c92bc5b89
Reduce scope 2024-05-19 19:08:07 +05:30
Manav Rathi f692638ede
Try to find a split point 2024-05-19 19:03:25 +05:30
Manav Rathi c2e42266a6
Remove unused 2024-05-19 18:57:35 +05:30
Manav Rathi 2db8c779b4
Convert to function (in preparation of declassing) 2024-05-19 18:56:42 +05:30
Manav Rathi 2d9831bc59
Move 2024-05-19 18:15:56 +05:30
Manav Rathi b026d861ff
Relative 2024-05-19 18:10:13 +05:30
Manav Rathi d9ba96b928
lf 2024-05-19 17:58:37 +05:30
Manav Rathi ffcf015e1c
lf 2024-05-19 16:58:24 +05:30
Manav Rathi b71b6142c5
Tweak 2024-05-19 16:57:19 +05:30
Manav Rathi 568e470752
Inline 2024-05-19 16:51:07 +05:30
Manav Rathi faf415277e
Trim 2024-05-19 16:46:01 +05:30
Manav Rathi bfc81b1ab6
Inline 2024-05-19 16:44:19 +05:30
Manav Rathi d99c10c15e
Inline 2024-05-19 16:41:42 +05:30
Manav Rathi d39cf15f26
Prune 2024-05-19 16:31:43 +05:30
Manav Rathi 37abeac87b
Comment out 2024-05-19 15:36:37 +05:30
Manav Rathi 7f5c951910
Split 2024-05-19 15:34:43 +05:30
Manav Rathi 87c7999370
Reduce API surface for migration 2024-05-19 15:21:45 +05:30
Manav Rathi ee894a668c
Reduce distance to server type 2024-05-19 13:23:08 +05:30
Manav Rathi 6b5788539b
Move out 2024-05-19 13:17:58 +05:30
Manav Rathi 9346ce3255
Prune 2024-05-19 13:12:27 +05:30
Manav Rathi 40dfeb5bca
Tweak 2024-05-19 12:57:47 +05:30
Manav Rathi 2e46f993f0
Remove duplicate alignment calculation 2024-05-19 12:50:31 +05:30