-
Notifications
You must be signed in to change notification settings - Fork 951
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
Add coverage measurement for Clang and increase test coverage #377
Conversation
Looks like I'm missing a library at link time. This implicitly works on Windows with |
The This seems to work now: Can we add some Github bot to report the coverage stats on each PR? |
@ggerganov : thanks for helping out!
That would be nice, but I'm out of my depth there.
The documentation for In the meantime I tried to change
but not a complete infrastructure. What do you intend us to do with these? |
I think I found a reasonable way to add half precision tests for
I also noticed that we have Edit: one more observation: it seems a couple of operations like |
@ggerganov : the test for |
tests/test-grad0.c
Outdated
@@ -392,19 +459,37 @@ int main(int argc, const char ** argv) { | |||
|
|||
struct ggml_tensor * x[MAX_NARGS]; | |||
|
|||
// add | |||
goto test; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this goto
forgotten?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sorry! Had already changed that, but forgot to push the commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Thanks
I've seen others adding coverage as different build types. Not sure if we should work in that direction.
Commands to process the profile output (run in
build
):I'm sure terrible stuff will happen on non
clang
environments.