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

Don't imply dynamic llama.cpp just because CUDA is on #671

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

vlovich
Copy link
Contributor

@vlovich vlovich commented Feb 22, 2025

Link against CUDA statically as well to maintain consistency with GGML_STATIC although technically that's our discretion. Verified that now just enabling CUDA still links llama.cpp statically (as well as all the supporting CUDA libraries which simplifies distribution).

Verified this works on Linux. Have not verified on Windows yet.

@MarcusDunn
Copy link
Contributor

MarcusDunn commented Feb 24, 2025

did you intend to also modify the submodule?

Looks good otherwise.

@vlovich
Copy link
Contributor Author

vlovich commented Feb 24, 2025

No I did not. Need to revert. Hopefully can get to it today.

Link against CUDA statically as well to maintain consistency with
GGML_STATIC although technically that's our discretion.
@vlovich
Copy link
Contributor Author

vlovich commented Feb 25, 2025

Fixed.

@MarcusDunn MarcusDunn merged commit 100f242 into utilityai:main Feb 25, 2025
@vlovich vlovich deleted the cuda-static-build branch February 26, 2025 00:19
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

Successfully merging this pull request may close these issues.

2 participants