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

App Crash When Loading Models #21

Open
Vinayak0-0 opened this issue Aug 23, 2024 · 1 comment
Open

App Crash When Loading Models #21

Vinayak0-0 opened this issue Aug 23, 2024 · 1 comment

Comments

@Vinayak0-0
Copy link

Vinayak0-0 commented Aug 23, 2024

Description

I encountered crashes in my application when attempting to load the gemma-2b-it.gguf and Phi-3-mini-4k-instruct-q4.gguf models. Below are the error messages and details for each model:

For gemma-2b-it.gguf:

error loading model: unknown model architecture: 'gemma'
llama_load_model_from_file: failed to load model
flutter: [AubAi] llama_new_context_with_model(model, cparams)
Lost connection to device.

For Phi-3-mini-4k-instruct-q4.gguf:

error loading model: unknown model architecture: 'phi3'
llama_load_model_from_file: failed to load model
flutter: [AubAi] llama_new_context_with_model(model, cparams)
Lost connection to device.

Expected Behavior

The models should load without causing the app to crash.

Actual Behavior

The app crashes immediately after attempting to load the models, with an error indicating "unknown model architecture" for both gemma and phi3.

Additional Information

  • Platform: Linux Ubuntu
  • Flutter Version: 3.22.2
@ArachnaDigitalLtd
Copy link

Yea same here. Unfortunately, its looks like the repo isn't active anymore. If you find something similar that actually works, let me know!

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

2 participants