Skip to content

Remove default arguments from sampling functions #1343

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
May 6, 2023
Merged

Remove default arguments from sampling functions #1343

merged 3 commits into from
May 6, 2023

Conversation

j-f1
Copy link
Collaborator

@j-f1 j-f1 commented May 6, 2023

Default arguments are a C++ feature, so when building llama.cpp in a plain C project, the build fails. Removing the default value fixes the issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants