Session details

Android + Gemma: Building offline AI-powered apps

Intermediate
Android
Mobile
AI
Front-end
generative AI

Aula 26 - WS III

Oct 26, 10:00 AM - 1:00 PM

English

Yes, you can run generative AI models locally on your Android phone! There are many benefits to this: - It improves privacy, since nothing leaves the device - It works fully offline - It saves money on cloud-based services. In this talk I will show how to build a fully-offline Android app with generative AI capabilities. We'll see: - What MediaPipe is and how we can integrate it into an app - How to obtain and use the latest Gemma 2B model - What kinds of tasks can be accomplished on device vs in the cloud - Hardware requirements and performance expectations If possible please do the following in advance of the workshop: - Install the latest Android Studio (https://developer.android.com/studio) - Download Gemini2-2B from https://huggingface.co/google/gemma-2-2b If that's not possible there will be time on the day to do so, but not lots. The app we build will only run on a real Android device (not an emulator) so if you have one, bring it. If not, I will bring some but there will be many opportunities to pair up or work in groups.