Skip navigation
Gemma 4 now works on-device using React Native!
0:00 / 8:59

Gemma 4 now works on-device using React Native!

Google Gemma

@googlegemma111K followers

Visit on X
1,412 likesDownloadOriginal post

116,638 views

Gemma 4 now works on-device using React Native! You can now run Gemma 4 fully offline in your cross-platform apps with local hardware acceleration: ⚡ Vulkan delegate on Android ⚡ MLX delegate on Apple Silicon See Gemma 4's vision and tool-use capabilities in action, instantly reading a flyer and scheduling a calendar event, 100% on-device.

32 Comments

Comments from the original post on X (Twitter)

  • Google Gemma's profile picture

    @googlegemma

    Shout out to @swmansion for support! Check out the opensource demo app: LLM docs:

    38 likes

  • Dhanji Bhagat's profile picture

    @BhagatDhanji

    Been shipping this exact pattern already - react-native-litert-lm, open source, Gemma running fully offline on RN/Expo with LiteRT-LM, and zero cloud calls.

    4 likes

  • Guilherme Favaron's profile picture

    @guifav

    Here is an example of high success using fine tune LoRA Gemma 4

    4 likes

  • Astro Dan's profile picture

    @egbo_sky

    Here is an example of Gemma 4 (LiteRT) deployed for local LLM generation for an agentic RAG use case.

    3 likes

  • Alejandro Basilio Santana's profile picture

    @abasilio96

    And flutter ?

    3 likes

  • Inflectiv AI ⧉'s profile picture

    @inflectivAI

    This makes adding private AI features much easier in cross-platform apps. The offline support will help with data security in many projects.

    2 likes

  • Team Reagent's profile picture

    @Reagent_Systems

    niiiice on-device gemma 4 :D which size?

    2 likes

  • Winston B.'s profile picture

    @DoDataThings

    Vision plus tool-use plus scheduling locally means the flyer-to-calendar demo works anywhere. That's the use case that finally makes on-device worth the model size tradeoff.

    1 like

  • Zephyr's profile picture

    @zackdell_dev

    Are there research credits to help with fine-tuning? I only have a 3060

    1 like

  • Bruno Becker's profile picture

    @Brunoxuser

    Pois....

  • J.D. Nicholls is building in public's profile picture

    @jdnichollsc

    @googlegemma can we use Skills with this integration? cc @swmansion

  • Benjamin Saberin's profile picture

    @bsaberin

    This is excellent. For devs, you'll likely need to request the "Increased Memory Limit" entitlement for iOS. Budget for slower reviews and approvals.

  • Yujin Huang's profile picture

    @Jinx_Huang

    That is amazing!!!! Now I think it is also the time to look at the security side as well.

  • The Martian's profile picture

    @gentonje

    How much resources would it need

  • Peanut Butter Runner's profile picture

    @p_b_runner

    Haha what but don’t browser tabs cap ram usage??

  • 🇮🇹 Massimo De Luisa's profile picture

    @massimodeluisa

    This reminds me a funny correlation: - Gemma 4 works on React Native - LLMs don't run javascript while reading your apps - You are invisible to LLMs Check this out: (@isreadyai) 😉💚👇🏻

  • Hussain Fakhruddin's profile picture

    @hussainanjar

    On-device offline support is a real win for cross platform apps.

  • Aiden Milan's profile picture

    @AidenMilanAI

    Running Gemma 4 fully offline in cross-platform apps using React Native is a massive milestone for mobile dev. Vulkan on Android and MLX on Apple Silicon will ensure top-tier local hardware acceleration! 💻

  • Raven's profile picture

    @heyraven_io

    100% on-device. 0% of your friends knowing you exist

  • hughchen.eth's profile picture

    @hungyueh

    Check this if you haven't: