•   8 months ago

What to do if some of api are not available on my device?

So I have Chrome 140, and my laptop doesn't have a dedicated GPU
I tried using summarization api playground but i got this error instead
"The Summarization API is available, but your device is unable to run it. Check device requirements in the Early Preview Program documentation."

I even checked its availability through "const availability = await Summarizer.availability();" on devloper's mode's console and got this

"The device is not eligible for running on-device model."

  • 1 comment

  • Manager   •   8 months ago

    You can try running Chrome with this special flag but you may not have a great user experience:

    Windows:

    "C:\Users\%USERNAME%\AppData\Local\Google\Chrome SxS\Application\chrome.exe" --enable-features=OnDeviceModelPerformanceParams:compatible_on_device_performance_classes/%2A

    macOS:

    open -na 'Google Chrome' --args --enable-features=OptimizationGuideOnDeviceModel:compatible_on_device_performance_classes/\*

Comments are closed.