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

Division by zero error #723

Closed
cpopescu opened this issue Feb 3, 2024 · 2 comments
Closed

Division by zero error #723

cpopescu opened this issue Feb 3, 2024 · 2 comments

Comments

@cpopescu
Copy link

cpopescu commented Feb 3, 2024

ggml.c line 15118
15118 size_t h = ggml_hash(key) % hash_set.size;

how does this work on an empty hash_set ?
thx

@cpopescu
Copy link
Author

cpopescu commented Feb 3, 2024

sorry - line 15138 - in current version

@cpopescu cpopescu closed this as completed Feb 3, 2024
@cpopescu
Copy link
Author

cpopescu commented Feb 3, 2024

Disregard - had to allocate the graph with ggml_new_graph - was using some old code allocating the graph on stack

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

No branches or pull requests

1 participant