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

finetune: add missing includes #4871

Closed
wants to merge 3 commits into from

Conversation

danbev
Copy link
Collaborator

@danbev danbev commented Jan 11, 2024

This commit adds the missing includes reported by the include-what-you-use tool (iwyu).

Refs: #4756

This commit adds the missing includes reported by the
include-what-you-use tool (iwyu).

Refs: ggerganov#4756

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit adds comments to the includes in finetune.cpp that
currently don't have comments containing what they include.

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit sorts the includes in finetune.cpp according to the
include-what-you-use tool.

The motivation for sorting is that it might make it easier in the
furture to just copy and paste the output from iwyu into the source
and also to make it easier to see what is missing.

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
@ggerganov
Copy link
Owner

We always put local headers before the rest.
Prefer to add headers only if the build fails

@ggerganov ggerganov closed this Jan 11, 2024
@danbev
Copy link
Collaborator Author

danbev commented Jan 11, 2024

Prefer to add headers only if the build fails

Ah sorry about that, I think I misinterpreted your comment in #4756 (comment) which was the reason for opening this.

@danbev danbev deleted the finetune-missing-includes branch February 16, 2024 10:48
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