DenisovAV / flutter_gemma

The Flutter plugin allows running the Gemma AI model locally on a device from a Flutter application.
MIT License
55 stars 16 forks source link

docs may be misleading for Google Pixel 6 Pro #29

Open ewann opened 2 weeks ago

ewann commented 2 weeks ago

specifically:

https://github.com/DenisovAV/flutter_gemma/blob/main/README.md?plain=1#L50

In my experience, the absence of those lines from the manifest resulted in:

Failed to get gemma response, lateinit property inferenceModel has not been initialized, null

nice project btw :)

DenisovAV commented 2 weeks ago

Hi @ewann, thanks for highlighting this! Are you also experiencing this error with the CPU version of Gemma? On my Pixel 8, I only need these lines for the GPU model

DenisovAV commented 1 week ago

Can you please try with it-cpu-int4

image