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

Unknown model architecture: 'phi2' #128

Closed
SalihErenYzb opened this issue Dec 19, 2023 · 3 comments
Closed

Unknown model architecture: 'phi2' #128

SalihErenYzb opened this issue Dec 19, 2023 · 3 comments

Comments

@SalihErenYzb
Copy link

It currently does not work with Microsoft's model phi-2. Saw a similar issue on llama.cpp. It looks like they fixed it, is there a way to use the new llama.cpp with llamafile? Sry If it is stupid I'm a newbie

@SalihErenYzb
Copy link
Author

I can just build from source...🫠

@jkeys089
Copy link

jkeys089 commented Dec 21, 2023

The relevant llama.cpp change can be found at: ggerganov/llama.cpp#4490

@SalihErenYzb I'm not 100% clear how to pull in upstream changes from llama.cpp. Would you mind sharing the process you used to get this working?

@jart Do you have any plans to stay (relatively) up to date with upstream llama.cpp changes?

@aamott
Copy link

aamott commented Dec 21, 2023

I second that it would be great to have phi 2 supported. It's pretty awesome for being so small, and might be worth putting on the front page.

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