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

Fix context params defaults #729

Merged
merged 1 commit into from
May 11, 2024

Conversation

dlyz
Copy link
Contributor

@dlyz dlyz commented May 11, 2024

fixes #716

  • DefragThreshold is nullable now and disabled by default
  • Seed is nullable now

There is also a possibility that the user will use special values directly instead of null. For example 0xFFFFFFFF for seed and it will lead to the same behavior as null (random seed). May not be obvious, but not sure what wee can do with that.

- DefragThreshold is nullable now and disabled by default
- Seed is nullable now
@martindevans
Copy link
Member

Looks good, thanks for this!

@martindevans martindevans merged commit fca67a4 into SciSharp:master May 11, 2024
6 checks passed
@dlyz dlyz deleted the context-params-defaults branch May 11, 2024 20:12
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.

[BUG]: DefragThreshold default is not matching llama.cpp and probably not intended
2 participants