laurenspriem
3a8ec51674
[mob][photos] Revert onnx preprocessing
2024-10-23 17:05:13 +05:30
Laurens Priem
b9dd0bc3b7
ONNX changes ( #3654 )
...
## Description
- Quantized the CLIP text encoder
- Moved preprocessing and postprocessing of face detection inside the
model
- Optimised the ONNX models more wherever possible
- Created a place in infra for ML version control of sorts
## Tests
Have tested the changes on mobile, but not on desktop. Please carefully
review the changes on desktop, especially regarding the face detection
post-processing, more specifically the image (re-)size correction.
2024-10-11 10:02:11 +05:30
laurenspriem
7dd9d8aef3
[mob][photos] new clip works
2024-09-25 22:58:23 +05:30
laurenspriem
53c19bc64e
[mob][photos] Temp disable custom plugin
2024-09-25 14:40:40 +05:30
laurenspriem
bd232c151a
[mob][photos] Test for iOS
2024-09-25 14:34:25 +05:30
laurenspriem
9b743d7afe
[mob][photos] Stop using ByteData directly
2024-09-06 13:51:01 +02:00
laurenspriem
4abd131b8a
[mob][photos] Remove redundant logging
2024-09-03 13:21:50 +02:00
laurenspriem
9dadb92d8d
[mob][photos] Last logging todos
2024-09-03 12:49:45 +02:00
laurenspriem
ab636232ff
[mob][photos] Cleaner logging
2024-09-03 12:04:35 +02:00
laurenspriem
a9bc6502cb
[mob][photos] proper logging in ML indexing isolate
2024-08-30 13:58:46 +02:00
laurenspriem
91646a809b
[mob][photos] Actual logging in ML Computer
2024-08-30 12:07:06 +02:00
laurenspriem
e98e8833e6
[mob][photos] Clip logs
2024-08-26 16:15:49 +02:00
Neeraj Gupta
0d63a3073b
[mob]Release tensors to avoid OOM error
2024-08-22 17:15:19 +05:30
Neeraj Gupta
78fc2aec88
[mob] Fix model path for progress
2024-08-16 15:05:02 +05:30
Neeraj Gupta
bd53c4a2f3
Switch to mobileclip
2024-08-12 20:43:16 +05:30
laurenspriem
3abf215f8c
[mob][photos] Simplify ClipImage
2024-07-26 13:47:48 +02:00
laurenspriem
cf8b9e4365
[mob][photos] Simplify
2024-07-26 13:41:45 +02:00
laurenspriem
627ec5f2a6
[mob][photos] Rename
2024-07-26 13:34:53 +02:00
laurenspriem
533d5dfa88
[mob][photos] Use quantized text model
2024-07-25 23:31:34 +02:00
laurenspriem
a5b47f16a9
[mob][photos] Separate out tokenizer init
2024-07-25 23:28:17 +02:00
laurenspriem
18a5f4d212
[mob][photos] Clip text inference
2024-07-25 22:49:59 +02:00
laurenspriem
37285a087a
[mob][photos] Simplify tokenizer path
2024-07-24 12:21:36 +02:00
laurenspriem
56b4d3cd46
[mob][photos] Rename for consistency
2024-07-23 11:48:14 +02:00
laurenspriem
8106b17442
[mob][photos] Fix text tokenizer
2024-07-23 11:31:57 +02:00
Neeraj Gupta
10b939e728
[mob] Text embedding changes
2024-07-18 16:50:24 +05:30
Neeraj Gupta
08f846c315
[mob] Use custom plugin for clip image encoding
2024-07-10 18:22:04 +05:30
laurenspriem
877b833a6d
[mob][photos] Simplify
2024-07-08 17:57:12 +07:00
laurenspriem
240099df83
[mob][photos] Run clip tokenizer in isolate
2024-07-08 17:48:18 +07:00
laurenspriem
e65b4643cd
[mob][photos] Add clip indexing to MLService
2024-07-04 07:24:42 +05:30
laurenspriem
2d0cadc8c9
[mob][photos] Rename and delete lot of clip stuff
2024-07-03 11:19:59 +05:30