Skip to content

Precompiled wheels #440

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

Closed
ParisNeo opened this issue Jul 3, 2023 · 5 comments
Closed

Precompiled wheels #440

ParisNeo opened this issue Jul 3, 2023 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@ParisNeo
Copy link

ParisNeo commented Jul 3, 2023

Hi,

Is there a way to have multiple precompiled wheels for this library?
I use it on multiple platforms and it fails to install so often because of build errors

Best regards

@gjmulder gjmulder added the duplicate This issue or pull request already exists label Jul 3, 2023
@gaby
Copy link

gaby commented Jul 5, 2023

@ParisNeo I don't think there's a way, llama-cpp optimizes the code during build-time based on your CPU.

@abetlen
Copy link
Owner

abetlen commented Jul 8, 2023

@ParisNeo there are pre-built wheels that I originally set up for the textgeneration-webui guys to simplify their installation for windows users, those are in the releases. The issue is that as @gaby points out, without compiling on the host system llama.cpp will be slow because there's no way to map wheels to the optimizations used in llama.cpp.

One solution we're working on right now is docker images that build on startup (with optional caching), does that work for you?

@gjmulder
Copy link
Contributor

Related to #243

@abetlen abetlen closed this as completed Feb 26, 2024
@gaby
Copy link

gaby commented Feb 27, 2024

@abetlen Is this done?

@ParisNeo
Copy link
Author

ParisNeo commented Mar 1, 2024

Hi. I am sorry for being so late, this was lost ins my old issues. Hhhh
I really want to have a place where I can get latest stable versions of the libraries. I keep getting problems every time a new version is out. It is giving me a heart attack whenever I hear about a new version. Lol. Yesterday spent 6 hours trying to make it work and when I thought it did, I found out that it works on windows but not linux. x-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants