Skip to content

Expose type name from ggml #970

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 14, 2023
Merged

Expose type name from ggml #970

merged 1 commit into from
Apr 14, 2023

Conversation

prusnak
Copy link
Collaborator

@prusnak prusnak commented Apr 14, 2023

Avoid duplication of type names in utils

Extracted from PR #953 by @unbounded

Avoid duplication of type names in utils
@@ -16,9 +16,6 @@
#include <unordered_map>
#include <vector>

static const char * type_strs[] = { "q4_0", "q4_1", "i8", "i16", "i32", "f16", "f32" };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just in case anyone wonders, this ordering was a bug I introduced in #709. Thanks to designated initalizers being allowed in C11, this should not happen in the future.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants