|
TinyLlama.cpp 1.0
A lightweight C++ implementation of the TinyLlama language model
|
Type definitions for GGML (Georgi Gerganov Machine Learning) library. More...
#include <cstdint>

Go to the source code of this file.
Enumerations | |
| enum | GGMLType { GGML_TYPE_F32 = 0 , GGML_TYPE_F16 = 1 , GGML_TYPE_Q4_0 = 2 , GGML_TYPE_Q4_1 = 3 , GGML_TYPE_Q5_0 = 6 , GGML_TYPE_Q5_1 = 7 , GGML_TYPE_Q8_0 = 8 , GGML_TYPE_Q8_1 = 9 , GGML_TYPE_Q2_K = 10 , GGML_TYPE_Q3_K = 11 , GGML_TYPE_Q4_K = 12 , GGML_TYPE_Q5_K = 13 , GGML_TYPE_Q6_K = 14 , GGML_TYPE_Q8_K = 15 , GGML_TYPE_I8 = 16 , GGML_TYPE_I16 = 17 , GGML_TYPE_I32 = 18 , GGML_TYPE_BF16 = 30 , GGML_TYPE_COUNT } |
| Enumeration of GGML tensor data types. More... | |
| enum class | GGUFValueType : uint32_t { UINT8 = 0 , INT8 = 1 , UINT16 = 2 , INT16 = 3 , UINT32 = 4 , INT32 = 5 , FLOAT32 = 6 , BOOL = 7 , STRING = 8 , ARRAY = 9 , UINT64 = 10 , INT64 = 11 , FLOAT64 = 12 } |
| Enumeration of value types used in GGUF metadata. More... | |
Type definitions for GGML (Georgi Gerganov Machine Learning) library.
This file defines the various data types used in the GGML library for tensor operations and quantization. It includes both standard floating-point types and various quantized formats for efficient model storage and computation.
Definition in file ggml_types.h.
| enum GGMLType |
Enumeration of GGML tensor data types.
Defines the various data types that can be used for tensors in GGML, including standard floating point types (F32, F16, BF16) and various quantized formats (Q2_K through Q8_K) for model compression.
Definition at line 21 of file ggml_types.h.
|
strong |
Enumeration of value types used in GGUF metadata.
Defines the possible data types that can be stored in GGUF metadata key-value pairs. This includes basic numeric types, strings, arrays, and boolean values.
Definition at line 51 of file ggml_types.h.