Box icon indicating copy to clipboard operation
Box copied to clipboard

Incorrect attribution of Android NPU image generation

Open bigpig67 opened this issue 1 week ago • 1 comments

The README credits off-grid-mobile-ai for influencing Box's on-device Stable Diffusion implementation.

However, the earlier implementation of Snapdragon QNN/NPU-accelerated Stable Diffusion came from Local Dream:

https://github.com/xororz/local-dream

Off Grid's own documentation also references Local Dream:

https://github.com/off-grid-ai/OGAM/blob/main/docs/standards/CODEBASE_GUIDE.md

Please review the actual implementation history and identify which original technical contributions from Off Grid were used.

If the implementation derives from Local Dream, please remove the Off Grid attribution and credit xororz / Local Dream instead.

Accurate attribution should recognise the original technical work rather than incorrectly crediting a later implementation.

bigpig67 avatar Nov 23 '26 06:11 bigpig67

Thanks for raising this, and for the links.

To clarify what the README line means: Box's on-device Stable Diffusion was originally based on Off Grid's Android implementation. That's the credit. Box has since moved to its own pipeline, built on stable-diffusion.cpp through JNI (leejet is credited separately in the README), so the code has diverged a lot. The Off Grid credit covers where it started, and the README has always said "influenced".

You're right that Local Dream is the origin of the Snapdragon NPU-accelerated Stable Diffusion work, and Off Grid builds on it. Box doesn't have that part. There's no QNN/MNN backend or Snapdragon NPU path for image generation, so there's nothing in Box derived from Local Dream to credit. I did look at Local Dream in May and decided against it, because of its localhost HTTP bridge.

I'm keeping the Off Grid credit, since it's accurate for Box's starting point. If you think the wording is misleading, I'm happy to tighten it. For example, I could change "influenced parts of" to "Box's image generation was originally based on". Thanks again for making sure credit goes to the right people.

jegly avatar Nov 28 '26 04:11 jegly