Skip to content

ggml-cpu : remove stdlib include from repack.cpp #1276

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

Merged
merged 1 commit into from
Jul 21, 2025

Conversation

danbev
Copy link
Member

@danbev danbev commented Jun 16, 2025

This commit removes the inclusion of <cstdlib>.

The motivation for this change is that this source file does not seem to use any functions from this header and the comment about qsort is a little misleading/confusing.

@danbev danbev force-pushed the repack-remove-cstdlib branch from fb71d5d to cfc3525 Compare June 16, 2025 13:19
@danbev danbev changed the title cpu : remove stdlib include from repack.cpp ggml-cpu : remove stdlib include from repack.cpp Jun 16, 2025
@ggerganov
Copy link
Member

There will be some more refactoring of this code soon (ggml-org/llama.cpp#14134 (comment)) and after we sync them from llama.cpp we can merge this change, to avoid conflicts.

@danbev
Copy link
Member Author

danbev commented Jul 21, 2025

There will be some more refactoring of this code soon (ggml-org/llama.cpp#14134 (comment)) and after we sync them from llama.cpp we can merge this change, to avoid conflicts.

I believe the sync was been done so perhaps we can merge this now (just needs an approval).

This commit removes the inclusion of `<cstdlib>`.

The motivation for this change is that this source file does not seem to
use any functions from this header and the comment about `qsort` is a
little misleading/confusing.
@danbev danbev force-pushed the repack-remove-cstdlib branch from cfc3525 to 91cd72a Compare July 21, 2025 13:31
@danbev danbev merged commit 890aa35 into ggml-org:master Jul 21, 2025
4 checks passed
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