I spent recent weeks adding optional Nano based features to my free HTML/JS screenwriting app 'MovieScripter' for when it runs in Chrome. Everything has gone great and even though I've been working on an older i7 PC with no VRAM, Nano performance has been acceptable for the Prompt and Rewriter APIs. But yesterday I was testing Nano installation with the Chrome Dev channel and there were two changes that I noticed:
1. The Prompt API Nano install is bigger, around 5GB (closer to Phi-4-mini size) and when using the Rewriter API there was no separate download required. It seems the Prompt API Nano model can now also service the Rewriter API, is that correct?
2. On my PC with no VRAM, I got the dreaded 'generic error' when the app tried to use the Prompt API even though Nano was successfully installed. I tried again on a PC with VRAM and this time, Nano responded correctly to Prompt API calls. When I looked for problems I opened chrome://on-device-internals/ on the PC with no GPU and found that Nano had set its 'Backend Type' parameter to 'GPU (highest quality)' whereas my previous working Nano installation on the no-GPU PC has that backend parameter correctly set to 'CPU' . I assume this is the source of the problem with using the Prompt API. A known bug? Deliberate behavior?
Footnote: In flags 'Prompt API for Gemini Nano' is always enabled and 'Enables optimization guide on device' is set to 'Enabled BypassPrefRequirement'.