Commit graph

44 commits

Author SHA1 Message Date
Vishnu Mohandas 15905a99f1
Merge branch 'main' into search_improvements 2024-01-11 21:42:52 +05:30
vishnukvmd 9d28270768 Address review comment 2024-01-11 21:42:38 +05:30
vishnukvmd e0d50ba55e Surface framework initialization state on UI 2024-01-11 19:19:58 +05:30
vishnukvmd d79ad9f02d Download models on mobile data only if enabled 2024-01-11 19:06:24 +05:30
vishnukvmd 860b5d74d8 Parallelize model initialization 2024-01-11 13:59:17 +05:30
vishnukvmd 0b1bb7acc5 Add states for ML Framework 2024-01-11 13:55:42 +05:30
0nullpointer 8186b38bb6 Avoid multiple sqrt computation for text encoder 2024-01-09 16:22:28 +05:30
0nullpointer ff0eaefd9b Revert "avoid sqrt computation for text encoder"
This reverts commit d40d28cfa2.
2024-01-09 16:19:30 +05:30
0nullpointer d40d28cfa2 avoid sqrt computation for text encoder 2024-01-09 16:18:00 +05:30
Neeraj Gupta e21b862f53 MinorPerf: Avoid repeated sqrt computation 2024-01-09 15:32:43 +05:30
vishnukvmd 39affa0852 Add retrials for model downloads 2024-01-05 15:59:58 +05:30
vishnukvmd 22fd204e11 Replace ObjectBox with Isar 2024-01-04 20:25:16 +05:30
vishnukvmd 83200fbb24 Initialize ORT only once 2024-01-04 11:39:06 +05:30
0nullpointer b1b2fb311d Add mobile image encoder 2024-01-04 00:28:14 +05:30
NullPointer 883363fcc0
Fix reshape order for image tensor 2023-12-27 20:02:04 +05:30
NullPointer b9116d172f
Fix typo in image encoder 2023-12-22 23:11:30 +05:30
vishnukvmd c03cf7cf47 Initialize ORT in a separate isolate 2023-12-21 15:31:49 +05:30
vishnukvmd 6c242aa1d2 Implement the API to release resources held by ORT 2023-12-19 00:35:45 +05:30
vishnukvmd 836fb97598 Use the file directly to create an OrtSession 2023-12-19 00:35:16 +05:30
vishnukvmd b4019f3c50 Refactor commented code 2023-12-18 22:21:01 +05:30
vishnukvmd 073e2a06e6 Update model path 2023-12-18 12:14:17 +05:30
vishnukvmd 8c0b569702 Remove all release calls 2023-12-17 17:46:06 +05:30
vishnukvmd fb11e730ce Skip image model loading 2023-12-16 17:10:39 +05:30
vishnukvmd 621599496e Use ONNX for text embeddings 2023-12-16 16:50:07 +05:30
vishnukvmd d0a85aa146 Fix warnings 2023-12-16 16:22:01 +05:30
0nullpointer 04b4a1fbba Add ggml image preprocessing 2023-12-15 02:45:00 +05:30
vishnukvmd 61a6481de4 Extract variable 2023-12-14 15:38:42 +05:30
0nullpointer cfc0d05a14 image normalization with tensors 2023-12-14 12:02:14 +05:30
vishnukvmd 03f471623b Temporarily parse model from assets 2023-12-14 11:31:01 +05:30
vishnukvmd 3ea8fca2f2 Retrieve OrtSession from cached address 2023-12-13 14:55:51 +05:30
vishnukvmd 01c82eaf82 Store framework name along with the model name 2023-12-13 14:42:02 +05:30
vishnukvmd 1c0ff2f10c Use the cached address to retrieve the encoder 2023-12-13 14:39:18 +05:30
vishnukvmd b2f9dd2c8b Initialize tokenizer outside the isolate 2023-12-13 14:38:24 +05:30
vishnukvmd f0f4f7f429 Fix logger name 2023-12-13 14:37:36 +05:30
vishnukvmd de3db565f5 Fix asset path 2023-12-13 14:37:26 +05:30
vishnukvmd b59e928a1a Pass final file path to model loader 2023-12-13 12:54:03 +05:30
vishnukvmd dd846d7920 Split ONNX framework into multiple files 2023-12-13 12:46:07 +05:30
vishnukvmd 4ed3720906 Fix compilation 2023-12-13 12:39:08 +05:30
vishnukvmd 4c44fc521c Fix warnings 2023-12-13 12:36:14 +05:30
0nullpointer d7cacce1d8 Add bpePath to CLIPTokenizer 2023-12-13 12:33:28 +05:30
0nullpointer 02114efc2b [WIP] onnx local test 2023-12-13 12:28:04 +05:30
0nullpointer e2c7cdf9f8 Add initial onnx framework 2023-12-12 21:39:35 +05:30
vishnukvmd 75704f0687 Update logger name 2023-12-05 22:37:56 +05:30
vishnukvmd 708b1c8d23 Refactor ML framework 2023-12-05 22:36:02 +05:30