Commit graph

25570 commits

Author SHA1 Message Date
Neeraj Gupta 107b79eae6 [mob] Reduce invalid pixel noise 2024-04-12 16:19:51 +05:30
Neeraj Gupta 2302b930d3 [mob] Remove unsued section 2024-04-12 16:08:18 +05:30
Neeraj Gupta fbec7db865 Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-12 15:53:34 +05:30
Neeraj Gupta 96b9019fff Flutter gradle plugin changes 2024-04-12 15:53:22 +05:30
laurenspriem 21451efa6b Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-12 15:11:15 +05:30
Neeraj Gupta 259787ff41 [mob] Upgrade to flutter 3.19.5 2024-04-12 14:55:07 +05:30
laurenspriem 481410f183 [mob] Increase inactivity counter for clustering isolate 2024-04-12 14:38:36 +05:30
laurenspriem eb8294ce95 [mob] Limit amount of sqlite read isolates for FaceMl DB 2024-04-12 14:33:48 +05:30
laurenspriem 9c09af54b3 [mob] Use sqlite async for getting all indexed fileIDs 2024-04-12 13:22:25 +05:30
laurenspriem 642e36b050 [mob] Use sqlite async for getting total face count 2024-04-12 13:21:38 +05:30
laurenspriem 38c0c44331 [mob] Remove GC from debug options 2024-04-12 13:13:20 +05:30
laurenspriem 3860d0a230 [mob] Read face embeddings using sqlite async 2024-04-12 12:57:03 +05:30
laurenspriem ba107c2d25 [mob] Fix in clustering without buckets 2024-04-12 12:01:17 +05:30
Neeraj Gupta f3647df1e9 [mob]Improve handling of multiple assignment of same faceID to different clusters 2024-04-12 11:49:40 +05:30
laurenspriem 01914ed3ce [mob] Option for indexing without fetching 2024-04-12 11:49:38 +05:30
Neeraj Gupta 5710cb2d35 Merge branch 'main' into mobile_face 2024-04-12 10:38:14 +05:30
Neeraj Gupta 997debf924
[mob] Minor fixes for semantic search (#1412)
## Description
Fixes two issues
- [x] If remote embedding fetch fails, don't queue backfill for files.
- [x] Fix infinite search loader when user quickly typing search term on
the search screen.

## Tests
2024-04-11 18:07:29 +05:30
laurenspriem 6df5559d75 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-04-11 16:44:40 +05:30
laurenspriem b90aed0b4b [mob] Switch from FlutterIsolate to DartUiIsolate 2024-04-11 16:43:52 +05:30
Manav Rathi df41133924
[desktop] Enable ONNX Face ML (#1413)
Indexing + PUT embeddings works now, but most other things are still
WIP.
2024-04-11 16:40:36 +05:30
Manav Rathi 61143c9c62
Cleanup 2024-04-11 16:36:56 +05:30
Manav Rathi 33c84f7a08
Prevent undefined errors 2024-04-11 16:27:27 +05:30
Manav Rathi 320db9f8b7
Fix the putEmbeddings API calls for now 2024-04-11 16:22:38 +05:30
Manav Rathi e58e96091f
Ignore (expected) errors when trying to cache face crops 2024-04-11 16:15:08 +05:30
laurenspriem 0eb876c985 [mob] Update dependency lock 2024-04-11 15:41:56 +05:30
laurenspriem 5996981c13 [mob] Remove empty asset directories 2024-04-11 15:41:23 +05:30
Neeraj Gupta de96f108c2 [mob] Clean up + rethrow remote fetch error 2024-04-11 15:40:31 +05:30
Manav Rathi ef4462553c
Fix incorrect typecheck that fails on undefined 2024-04-11 15:35:25 +05:30
Neeraj Gupta ff4e64819b [mob] Clean up code 2024-04-11 15:31:11 +05:30
Neeraj Gupta 1cc188dd9c [mob][clip] Simplify semantic search + fix infinite search loader 2024-04-11 15:27:22 +05:30
Manav Rathi ff66a2f44c
The ML code runs in workers 2024-04-11 15:27:02 +05:30
Manav Rathi 33e3265db6
Migration for existing configs 2024-04-11 15:21:21 +05:30
Manav Rathi f5bf776848
lint 2024-04-11 15:06:03 +05:30
Manav Rathi 52727f2255
Also move the embedding 2024-04-11 15:04:18 +05:30
Manav Rathi 9ff4989d81
Cleanup 2024-04-11 14:44:00 +05:30
Manav Rathi a1d6ef43b4
Roundtrip 2024-04-11 14:37:44 +05:30
Manav Rathi 41f7b30ca0
Wire together 2024-04-11 14:22:52 +05:30
Neeraj Gupta b8417d1fcc [mob] Skip backfill if remote fetch fails 2024-04-11 14:09:31 +05:30
Manav Rathi a88f551b6a
WIP IPC API 2024-04-11 13:58:52 +05:30
Manav Rathi 2bb9e77e34
Remove unused code 2024-04-11 13:46:34 +05:30
Neeraj Gupta 0fa29b3d7c [mob] iOS build changes 2024-04-11 13:46:26 +05:30
Manav Rathi 7bf8912dbc
Duplicate for now 2024-04-11 13:45:02 +05:30
Manav Rathi 2b6047a979
Split 2024-04-11 13:40:35 +05:30
Manav Rathi d3eb85be8d
Split 2024-04-11 13:17:56 +05:30
Neeraj Gupta f459b1c2dd Merge branch 'mobile_face' of https://github.com/ente-io/auth into mobile_face 2024-04-11 13:17:15 +05:30
Neeraj Gupta 3ba6aea827 [mob] Enable impeller and wide Gamut color for iOS 2024-04-11 13:16:18 +05:30
Manav Rathi bbdbad5891
[web] Remove tensorflow, and then some (#1411)
Remove all ML code that is not in the immediate release path. We will
resurrect if/when we reintroduce object and text detection, for now we
prune in an attempt to get the face detection release out to completion.
2024-04-11 12:48:47 +05:30
Manav Rathi 6d769773cc
tsc 2024-04-11 12:42:18 +05:30
Manav Rathi d0ffb83d90
Restore 2024-04-11 12:40:49 +05:30
laurenspriem 90db558498 Merge branch 'update_deps_and_flutter' into mobile_face 2024-04-11 12:39:54 +05:30