Replies: 2 comments
-
It's hastily written. Technically |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah, maybe I'll take a look at implementing that since I'm digging around there. Thank you for clarifying |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
llama.cpp:L5370
Why is it a while loop instead of an if statement? Is this for a compiler optimization or something? Changing it to an if statement seems to have the exact same printing behavior (casually testing with
main --no-mmap
). I don't see how the loop would execute more than once, given that cur_percentage_p is updated within the loop immediately after the check.(I am attempting to write dart bindings for llama.cpp. I can't tell if this is hastily written code or if it has some subtle behavior that is going over my head.)
Beta Was this translation helpful? Give feedback.
All reactions