mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-12 10:47:01 +00:00
squash! ggml : move rope type enum to ggml.h
This commit removes GGML_ROPE_TYPE_NONE and GGML_ROPE_TYPE_GLM from ggml.h, and back the llama_rope_type enum. I've kept the assert for GGML_ROPE_TYPE_GLM as I'm not sure if it is safe to remove it yet.
This commit is contained in:
@@ -439,10 +439,8 @@ extern "C" {
|
||||
|
||||
// Rotary Positional Embedding (RoPE) types
|
||||
enum ggml_rope_type {
|
||||
GGML_ROPE_TYPE_NONE = -1,
|
||||
GGML_ROPE_TYPE_NORM = 0,
|
||||
GGML_ROPE_TYPE_NEOX = 2,
|
||||
GGML_ROPE_TYPE_GLM = 4,
|
||||
};
|
||||
|
||||
// available tensor operations:
|
||||
|
||||
Reference in New Issue
Block a user