翻篇收录说明
翻篇网页快照

About the Google AI Edge category - Google AI Edge - Google AI Developers Forum

https://discuss.ai.google.dev/t/about-the-google-ai-edge-category/1512

最近抓取:2026-12-04 15:36:25(北京时间)

最近内容变化:2026-12-02 01:53:25(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Discuss the full AI edge stack, including LiteRT, MediaPipe, and Model Explorer. From high level APIs and a performant runtime with CPU/GPU/NPU acceleration, to developer-friendly tooling to convert and optimize models …

正文摘录

About the Google AI Edge category Google AI Edge system May 9, 2024, 11:11pm 1 Discuss the full AI edge stack, including LiteRT, MediaPipe, and Model Explorer. From high level APIs and a performant runtime with CPU/GPU/NPU acceleration, to developer-friendly tooling to convert and optimize models for deployment on devices, Google AI Edge is a leading stack to deploy AI to devices. 30 Likes No_Thanks July 29, 2025, 4:22pm 3 Can anyone point me to the location on the android device which the ai edge gallery app saves the LiteRT model .task files to? It seems in ModelMangaerViewModel.kt at line 149, the ‘externalFilesDir’ variable is defined by executing the getExternalFilesDir method on the ApplicationContext object. I don’t understand how one can determine the true value of the ‘externalFilesDir’ variable… I’m trying to run this app on a disconnected android device, but the app immediately throws an error “Failed to load model list” so I’m trying to manually copy the model .task files to the android device to resolve this issue. I don’t know where on the device the model file should be loaded, though. I’ve already tried copying a LiteRT .task model file to the sdcard/Download directory, but the gallery app still throws this error. Any suggestions? Thanks! 5 Likes abhaypawar January 7, 2026, 7:43am 4 Hi @No_Thanks, Welcome to the Google AI for Developers Forum. Also, thanks @system for creating this space for Google AI Edge discussions. Sorry for my late reply/suggestion here. You have spotted the line code accurately. It is natural to get confuse, this confusion stems from how the android handing the getExternalFilesDir, it does not save to any public folders like Downloads but it will point to the package specified sandbox which is probably hidden from the UIs. The sdcard/Download path will not be read, and let me suggest you some steps to get the path that high chances to work. I see that you ran the app offline. Getting the package app name, you can get it from source it was built - check for build.gradle applicationId. The Gallery app pkg name may look like something like - com.google.ai.edge.gallery Then next push the model, you can use the adb commands. For example - # creatign folder if it is not present adb shell mkdir -p /storage/emulated/0/Android/data/com.google.ai.edge.gallery/files/ # then just push your model file adb push any_name_file.task /storage/emulated/0/Android/data/com.google.ai.edge.gallery/files/ # then pls see if the file is pushed and found at that path now... adb shell ls -l /storage/emulated/0/Android/data/com.google.ai.edge.gallery/files/ Now that you have tried the other workarounds, I suggest you to put models.json file locally in the same path as your tasks file. Reason why I say this is sometimes the app might download the json from internet even before you look for the task file local paths. Looks like this will work, waiting for your reply. 3 Likes Mr_Gullable November 7, 2026, 6:08pm 5 Google studio leak into backend functions bleeding data by telemetry. Related topics Topic Replies Views Activity Help converting tflite models with mediapipe Google AI Edge tflite-support , mediapipe 2 754 January 22, 2025 Research: Offline AI assistant architecture, Gemma 4 E2B-it, memory, GPS and performance Google AI Edge ai 0 290 August 28, 2026 Challenges Building Efficient AI Applications for Edge Devices Google AI Edge models 0 180 September 19, 2026 TensorFlow Lite is now LiteRT Google AI Edge tflite 0 844 September 4, 2024 TFLIte android load model by network General Discussion models , android , tflite , help_request 6 2445 October 30, 2021