LiliPixel V1 running on a 32-bit Samsung Galaxy A02 β€” CPU-only! πŸ₯”

#2
by NocchiLee - opened

Hi Pinkstack!

First of all, thank you for creating and open-sourcing LiliPixel V1!

We wanted to share a rather unusual experiment: we successfully adapted LiliPixel V1 190M to run entirely on a Samsung Galaxy A02, a low-end 32-bit Android phone, using only its CPU! πŸ₯”

With AI-assisted engineering, we developed a lightweight Python + NumPy + OpenBLAS inference implementation, including memory-conscious attention processing.

Test device:

  • Samsung Galaxy A02 (SM-A022F)
  • Android 11, 32-bit ARM
  • MediaTek MT6739
  • CPU-only inference, no GPU or cloud processing

Results:

  • 16Γ—16, 4 steps: 11 minutes 32 seconds
  • Successfully generated 12 images on the phone
  • Tested 16Γ—16, 32Γ—32 and 64Γ—64 resolutions
  • Also completed a 30-step generation test

It's definitely not fast, but the fact that it works on such modest hardware is what makes this experiment exciting! πŸ˜‚

We've published the source code, installation instructions, device measurements and all 12 generated images on GitHub:

https://github.com/NocchiLee/LiliPixel-on-Potato-Android

This is an experimental adaptation rather than a performance benchmark. We haven't exhaustively verified numerical equivalence with the original PyTorch pipeline.

We thought you might enjoy seeing your model running on hardware that probably wasn't part of the original plan!

Thank you again for making LiliPixel available to the community.

Cheers,
NocchiLee

Hey @NocchiLee , this is a really cool project and showcase using LiliPixel! πŸ‘‹ πŸ”₯

Running this model on an edge low-powered mobile is awesome. I've looked around your GitHub repo and it looks quite well made, props for that! For 64x64 it's not surprising that you couldn't generate anything coherent with just 4 steps (try 16?) but the other sprites with just 4 steps look surprisingly good, so that's awesome. Plus the "benchmark" speed results are interesting to look at.

Nice work! I definitely enjoyed seeing it run on unplanned hardware so well! (considering the size of the model 11 minutes is not bad at all)
And you're welcome, this is exactly the kinds of tinkering small models are meant for. If you have any kinds of questions feel free to ask.

Have a good one and stay awesome,

  • Nate.

Sign up or log in to comment