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

ggml: Install all public headers in the ggml build regardless of build settings #8480

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

65a
Copy link
Contributor

@65a 65a commented Jul 14, 2024

ggml-cuda.h is not currently installed in the case that HIPBLAS is used.

@65a
Copy link
Contributor Author

65a commented Jul 14, 2024

This might also need to be marked public_header as well

@slaren
Copy link
Collaborator

slaren commented Jul 15, 2024

This is not completely correct (neither for CUDA) because GGML_HEADERS_CUDA includes all the private headers, not just the public ones. Might be easier to just install everything in the include directory regardless of the build settings, since that's the public headers directory.

@65a 65a changed the title ggml: Install ggml-cuda.h in HIPBLAS ggml build ggml: Install all public headers in the ggml build regardless of build settings Jul 17, 2024
@65a
Copy link
Contributor Author

65a commented Jul 17, 2024

Update PR to install everything currently in the ggml/include directory explicitly. Debated using a glob, open to alternatives there, but explicit tends to be a good default.

@ggerganov ggerganov merged commit 705b7ec into ggerganov:master Jul 18, 2024
52 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Jul 27, 2024
@wangshuai09 wangshuai09 mentioned this pull request Jul 30, 2024
4 tasks
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.

3 participants