Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to try it out on one of the supported devices from the documentation other than Pixel 9 #4

Open
jimmy-jos opened this issue Oct 4, 2024 · 9 comments

Comments

@jimmy-jos
Copy link

jimmy-jos commented Oct 4, 2024

I the documentation we can see that the Edge sdk is supported by other devices like s24, pixel 8a etc. But in the readme of this project and getting started pixel 9 is necessary.

Is there a way to run this in one of the supported devices other than the pixel 9?

I tried on s24u and i am getting:

java.lang.IllegalStateException: No instrumentation registered! Must run under a registering instrumentation.

image
@the-kool-sk
Copy link

Yes I have Samsung S24 series device. But unable to run on it.

@codeniko
Copy link

I have this running successfully on a Pixel 8 Pro

@Seoyoung-Ko
Copy link

Seoyoung-Ko commented Oct 17, 2024

I have this running successfully on a Pixel 8 Pro

How can you run successfully on Pixel 8 Pro?
I have a Pixel 8 and followed the instructions but it doesn't work.

Android AI Core: 0.thirdpartyeap.prod_aicore_20240822.00_RC05.676804926
Private Compute Service APK: 1.0.release.667904832
Android 15, non rooted device

Is there any difference?

@codeniko
Copy link

I have the 8 pro so not sure if that difference matters. I do have the exact same AI Core and private compute versions as you and am also on Android 15, non rooted. Not really sure why it works for me but I'll list a few other details in case they matter:

  • I have 3 google accounts signed in (Settings -> Accounts) but only 1 profile on my device. The account that is in Google's whitelisted test group is my main account thats on the device for every service.
  • I opted into Gemini for my assistant when I set up my device instead of the old Google Assistant

@DerekFoster1976
Copy link

Hello, looking to possibly start reaching Android dev using Gemini Nano on device, looking at devices to buy and of course the Pixel 8/8a is cheaper than 9 and means we could buy more of them. As the official docs linked by @jimmy-jos above say Pixel 8 is supported, is there any update on the sample app running on the list of devices? Also, as this is for teaching, do devices need to have a signed in google account just for on-device development work via Android Studio? This is something I wont be able to manage sadly as multiple students will use the devices for lab work. I also don't want to buy a bunch of Pixel 8 devices that don't work with the sample app! Thanks!

@han98115
Copy link

Yes I have Samsung S24 series device. But unable to run on it.

I tried running it on the Samsung S24+, but I got the error message.

AICore failed with error type 2-INFERENCE_ERROR and error code 8-..
image

AICore: O.release.qc8650.aicore_20240919.01_RC
Private Compute Services: 1.0.release.667904832

@Flyfish233
Copy link

AICore has several versions depending on the SoC, but only Pixel has third-party-eap now.

  1. You need an thirdpartyeap version, release will not work.

  2. Try sideloading AICore for Pixel 9 on a non-Tensor device will not work because it requires TPU while qc8650 using QNN for Qualcomm device.

  3. Activate Enable on-device GenAI Features.

For Galaxy: watch for Google release a future thirdpartyeap version marked qc8650.

@StevenSeiden
Copy link

I have a Pixel 8 and am getting the same error as @han98115 despite being on the thirdpartyeap version of AICore. I have enabled on-device generative AI features through developer settings and made sure that the private compute services are up-to-date as well. Any ideas on how to fix this? Thank you!

@lolsoundsus
Copy link

I have this running successfully on a Pixel 8 Pro

Can you write out steps that you did to build the app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants