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

Adding the ability to have zero '0' as a seed number. #1275

Merged
merged 1 commit into from
May 2, 2023

Conversation

rbrisita
Copy link
Contributor

@rbrisita rbrisita commented May 2, 2023

From reading the code it looks like an oversight but the number zero '0' is a valid value to seed a random number generator. A value I use in my tests. There is no need to test if "equal to" anymore.

@ggerganov ggerganov merged commit 2bb992f into ggml-org:master May 2, 2023
DannyDaemonic pushed a commit to DannyDaemonic/llama.cpp that referenced this pull request May 2, 2023
@rbrisita rbrisita deleted the add_zero_seed branch June 27, 2023 02:32
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