Skip to content

ggml : designate enum vals for integer types - #6050

Merged
ggerganov merged 1 commit into
masterfrom
gg/ggml-type-vals
Mar 14, 2024
Merged

ggerganov merged 1 commit into
masterfrom
gg/ggml-type-vals

Conversation

@ggerganov

Copy link
Copy Markdown
Member

Set the enum values for:

        GGML_TYPE_I8      = 24,
        GGML_TYPE_I16     = 25,
        GGML_TYPE_I32     = 26,

This avoids breaking models that store integer tensors when adding new quantization types in the future. It's too late to move them at the start of the enum as this will break all existing models

@ggerganov
ggerganov merged commit 3fe8d7a into master Mar 14, 2024
@ggerganov
ggerganov deleted the gg/ggml-type-vals branch March 14, 2024 10:38
NeoZhangJianyu pushed a commit to NeoZhangJianyu/llama.cpp that referenced this pull request Mar 15, 2024
@mofosyne mofosyne added Tensor Encoding Scheme https://github.com/ggerganov/llama.cpp/wiki/Tensor-Encoding-Schemes Review Complexity : High Generally require indepth knowledge of LLMs or GPUs Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix and removed Review Complexity : High Generally require indepth knowledge of LLMs or GPUs labels May 25, 2024
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix Tensor Encoding Scheme https://github.com/ggerganov/llama.cpp/wiki/Tensor-Encoding-Schemes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants