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

Add Android support #40

Open
amakropoulos opened this issue Jan 22, 2024 · 10 comments
Open

Add Android support #40

amakropoulos opened this issue Jan 22, 2024 · 10 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@amakropoulos
Copy link
Collaborator

Purpose of this features is to add support of LLMUnity for Android

Issues:

  • llamafile does not support Android, the llama.cpp server binary will need to be separately compiled
  • Android needs separate implementation for starting and possibly communicating to the server

An experimental WIP branch is feature/android_support

@amakropoulos amakropoulos added enhancement New feature or request help wanted Extra attention is needed labels Jan 22, 2024
@al3dv2
Copy link

al3dv2 commented Mar 14, 2024

Yes please add android that would be awesome !

@al3dv2
Copy link

al3dv2 commented Mar 15, 2024

I don't see the experimental branch, where I can download it ? thanks "feature/android_support"

@amakropoulos
Copy link
Collaborator Author

Ah I was trying something but deleted it, didn't really progress.

@al3dv2
Copy link

al3dv2 commented Mar 16, 2024

Oh ok do you thinks it's possible to have unity LLM on android ? thks

@amakropoulos
Copy link
Collaborator Author

At some point, but I think it's going to need implementation effort

@yumianhuli2
Copy link

At some point, but I think it's going to need implementation effort

Hello! Do you have this plan for android support?

@amakropoulos
Copy link
Collaborator Author

Yes! I'm actually doing some tests right now, but can't yet promise on dates

@yumianhuli2
Copy link

Yes! I'm actually doing some tests right now, but can't yet promise on dates

Oh, thanks my God

@amakropoulos amakropoulos added this to the v1.3.0 milestone Apr 4, 2024
@amakropoulos amakropoulos modified the milestones: v2.0.0, 2.1.0 Apr 17, 2024
@ropenrom24
Copy link

Hi @amakropoulos can you give us the high level stuff on how would you implemented this? I see that your using a process to start a server from llamafile-0.6.2.exe which is from this repository. But how would this be implemented on android? thanks.

@amakropoulos
Copy link
Collaborator Author

Sure, this feature will be built after #141 which will replace llamafile with directly integrated DLLs.
Android is supported by llama.cpp so after that I'll build a DLL specific for Android to serve the functionality.
And then fingers crossed :)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

4 participants