Keras on an Android phone

An Android app and guide that run KerasHub models on the phone with LiteRT, from one export call to six working screens.

  • Performance and inference
  • Independent
  • Jul 2026
  • Published
  • short entry

Classification, detection, segmentation, depth and two Gemma screens, all on the phone with no server, plus a way to check the phone's answer against Python and the export traps worth knowing.

More in performance and inference

  • Keras on PyTorch: compiled generation 11.6x fasterJul 2026 – Oct 2026

    Traced why Keras on PyTorch ran about 9x slower than plain PyTorch, and merged the fixes upstream, one root cause each. · Google · Merged

  • GLM-5.3-Flash on one GPU2 Sep 2026

    Served a 181 GiB mixture-of-experts LLM from one 96 GiB GPU and took decoding from 10.8 to 15.0 tokens/s shipped, 16.5 at peak. · Independent · Published

  • One call from a Keras model to a phone: LiteRT exportDec 2025 – Jul 2026

    Built the LiteRT export path in Keras and KerasHub: a trained model to a phone-ready file in one call, on TensorFlow and PyTorch. · Google · Merged

  • End-to-end UI tests for XProfAug 2026 – now

    Wrote the end-to-end UI test suite for XProf, the open-source ML profiler, with 107 browser tests and a side-by-side check of two builds. · Google · Shipped