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

Embeding LLamaSharp inside .NET MAUI Android App #954

Open
Karimiprogramer opened this issue Oct 17, 2024 · 5 comments
Open

Embeding LLamaSharp inside .NET MAUI Android App #954

Karimiprogramer opened this issue Oct 17, 2024 · 5 comments

Comments

@Karimiprogramer
Copy link

Description

I am a .NET MAUI develpoer and I am interested in embeding a LLM inside my application with LLamaSharp. After build llama.cpp with ndk , How can I embed libraries on my application??

@Karimiprogramer Karimiprogramer changed the title Embeding LLamaSharp inside .NET MAUI App Embeding LLamaSharp inside .NET MAUI Android App Oct 17, 2024
@andersonvieiragomeslopes

Description

I am a .NET MAUI develpoer and I am interested in embeding a LLM inside my application with LLamaSharp. After build llama.cpp with ndk , How can I embed libraries on my application??

I'm also interested, did you manage to use it?

@Karimiprogramer
Copy link
Author

After solving some problems with embeding model inside app , I will publish it into my github.

@Darlanio
Copy link

Looking forward to your solution to this problem. I am not sure if llamasharp would work out of the box on android/ios, but maybe it is possible to compile llama.cpp for the specified platform?

At least llama.cpp runs under Termux on Android...

I will keep an eye on your repository:
https://github.com/Karimiprogramer/Sigma

@Darlanio
Copy link

Tested on 0.19 without compiling the binaries myself and got the exception System.PlatformNotSupportedException: 'Operation is not supported on this platform.' on the ModelParams constructor.

@Darlanio
Copy link

Looking foward to Android supported nuget libraries.

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

3 participants