Closed zerosrat closed 4 months ago
Did you try rebooting and downloading the component as described here? That worked for me on my M1 Max.
Ensure you’re running Chrome version 127.0.6512.0 or later My Chrome Canary version: Version 128.0.6598.0 (Official Build) canary (arm64)
Enable the two flags chrome://flags/#optimization-guide-on-device-model and chrome://flags/#prompt-api-for-gemini-nano. My config:
Find the Optimization Guide On Device Model component. I cannot find it
It seems that Optimization Guide On Device Model component
is not found causes the problem.
I've tried to restart the chrome and mac, but Optimization Guide On Device Model component
still not be found.
This appears to be about the Chrome web browser, and not the API proposal, so it's not on topic for this explainer. Please use https://crbug.com for Chromium-specific discussions.
@zerosrat Could you set chrome://flags/#optimization-guide-on-device-model
to Enabled BypassPerfRequirement and try it again?
I enabled
Enables optimization guide on device
andPrompt API for Gemini Nano
flags on Chrome Canary. Then runningawait window.ai.canCreateTextSession()
returnedno
.Device info: MacBook Pro + Apple M2 Pro.
Is this feature only supported on M3 Pro chip? Maybe it is better to list the supported devices.