56 Commits

Author SHA1 Message Date
laurenspriem
523d3fa201 [mob][photos] Remove any model differentiation between onnx and ggml 2024-07-03 11:20:53 +05:30
laurenspriem
2d0cadc8c9 [mob][photos] Rename and delete lot of clip stuff 2024-07-03 11:19:59 +05:30
laurenspriem
4cdbb0c128 [mob][photos] Automatically init ONNX environment 2024-07-03 11:11:09 +05:30
laurenspriem
e76d26914d [mob][photos] Delete clip ggml 2024-07-02 17:47:40 +05:30
laurenspriem
e84c9e604a [mob][photos] misplaced comment 2024-07-02 17:37:28 +05:30
laurenspriem
16e6812319 [mob][photos] Embedding normalization function 2024-07-02 17:34:22 +05:30
laurenspriem
351d5f85ac [mob][photos] Minor change 2024-07-02 14:27:37 +05:30
laurenspriem
f77a33a2c0 [mob][photos] Remove old todo 2024-07-02 13:31:00 +05:30
laurenspriem
9e76c31655 [mob][photos] Move cosine function 2024-07-02 13:30:23 +05:30
laurenspriem
b0c92f8fe0 [mob][photos] Some debug prints 2024-06-29 19:25:13 +05:30
laurenspriem
0fe85390d3 [mob][photos] Temp lower minimum similarity threshold 2024-06-29 19:22:55 +05:30
laurenspriem
6d1c73d90e [mob][photos] Enable only clip embedding push again 2024-06-29 19:20:48 +05:30
laurenspriem
5eb02c242c [mob][photos] Small fix 2024-06-29 19:17:47 +05:30
laurenspriem
dcb90f9e59 [mob][photos] Only do tokenizer init in computer 2024-06-29 15:29:24 +05:30
laurenspriem
4764fddd61 [mob][photos] Get tokenizer from remote instead of assets 2024-06-29 14:49:11 +05:30
laurenspriem
9f1ed16364 [mob][photos] Rename score to similarity for clarity 2024-06-29 13:54:58 +05:30
laurenspriem
f75b8b9950 [mob][photos] Logging 2024-06-29 12:14:58 +05:30
laurenspriem
9b41180b2d [mob][photos] Run clip in separate isolate 2024-06-29 12:13:41 +05:30
laurenspriem
9610abadbe [mob][photos] Use unquantized text encoder for clip 2024-06-28 18:51:32 +05:30
laurenspriem
63b55f2759 [mob][photos] Make clip use full file 2024-06-28 18:49:28 +05:30
laurenspriem
21483eacb4 [mob][photos] Remove computer for clip for now 2024-06-28 18:22:33 +05:30
laurenspriem
d7e1b737d8 [mob][photos] Use existing image utils for clip preprocessing 2024-06-28 18:20:35 +05:30
laurenspriem
f03cea7252 [mob][photos] Inline 2024-06-28 15:56:27 +05:30
laurenspriem
06774aeb61 [mob][photos] Fix stupid error 2024-06-28 15:53:48 +05:30
laurenspriem
a16bf196b3 [mob][photos] Temporarily turn off clip embedding sync 2024-06-28 15:43:41 +05:30
laurenspriem
cfca11a628 [mob][photos] Improve readability 2024-06-27 21:49:53 +05:30
ashilkn
69bd1c8670 Merge branch 'main' into cache_magic_section 2024-06-24 17:31:58 +05:30
laurenspriem
47128ab52d [mob][photos] Store local empty clip result on errors 2024-06-24 15:04:01 +05:30
laurenspriem
ef0396983b [mob][photos] Remove unused method 2024-06-24 10:59:57 +05:30
ashilkn
f5873d2ade [mob][photos] MagicCache model and MagicCacheService 2024-06-24 10:19:36 +05:30
Neeraj Gupta
f8d1851311 [mob] Fix range error in getUploadedFiles 2024-06-23 12:24:44 +05:30
ashilkn
6b3c9ee19c [mob][photos] Surface magic section results in UI, using moments section's widget 2024-06-06 17:34:48 +05:30
ashilkn
a3ebd4c062 [mob][photos] Make score threshold configurable 2024-06-06 11:32:33 +05:30
ashilkn
33656c8206 [mob][photos] perf improvement when computing score on magic search 2024-06-01 13:12:29 +05:30
laurenspriem
4fa59ce258 [mob][photos] Common ml util for getting indexable files across faces and clip 2024-05-24 09:56:10 +05:30
laurenspriem
6d5436c885 [mob][photos] Hook iOS into MLController for temperature check only 2024-05-22 15:50:14 +05:30
Neeraj Gupta
285b1f9527 Merge branch 'main' into mobile_face 2024-05-17 17:34:18 +05:30
laurenspriem
372fdd8a05 [mob][photos] Partly revert previous commit 2024-05-17 15:01:48 +05:30
laurenspriem
63618f00b2 [mob][photos] Clip don't index hidden files 2024-05-17 14:10:05 +05:30
Neeraj Gupta
e4dcdeb030 [mob] Minor fix to reflect correct status for indexing 2024-05-14 16:42:13 +05:30
Neeraj Gupta
d6599f178b [mob] Fix: use DB to identify indexed fileIDs 2024-05-14 16:25:44 +05:30
Neeraj Gupta
883e246f30 [mob] Keep fetching embeddings till no embedding is returned 2024-05-13 15:50:27 +05:30
vishnukvmd
bc32c89d77 Rename DB 2024-05-01 15:14:44 +05:30
vishnukvmd
348b784674 Remove Isar DB for Embeddings 2024-04-30 19:52:30 +05:30
vishnukvmd
0f5007b8d2 Update key 2024-04-29 17:32:42 +05:30
vishnukvmd
64f2be09e6 Replace Isar with SQLite 2024-04-29 17:30:56 +05:30
Neeraj Gupta
5bac629c2b [mob][photos] Fix connectivityResult check 2024-04-15 15:21:43 +05:30
Neeraj Gupta
223a4ffcfd [mob][photos] Upgrade connectivity_plus pkg 2024-04-15 15:00:59 +05:30
Neeraj Gupta
de96f108c2 [mob] Clean up + rethrow remote fetch error 2024-04-11 15:40:31 +05:30
Neeraj Gupta
ff4e64819b [mob] Clean up code 2024-04-11 15:31:11 +05:30