mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-26 09:50:24 +01:00
some elements are not actually part of gguf spec
parent
57985f88ca
commit
315efe7c92
@ -42,6 +42,12 @@ the gguf file standard.
|
|||||||
| Tensor Info Entry - Tensor shape sizing array | gguf_tensor_info.ne | `uint64_t[GGML_MAX_DIMS]` | `struct gguf_tensor_info` | `@gguf_tensor_info` |
|
| Tensor Info Entry - Tensor shape sizing array | gguf_tensor_info.ne | `uint64_t[GGML_MAX_DIMS]` | `struct gguf_tensor_info` | `@gguf_tensor_info` |
|
||||||
| Tensor Info Entry - Tensor Encoding Scheme / Strategy | gguf_tensor_info.type | `ggml_type` | `struct gguf_tensor_info` | `@gguf_tensor_info` |
|
| Tensor Info Entry - Tensor Encoding Scheme / Strategy | gguf_tensor_info.type | `ggml_type` | `struct gguf_tensor_info` | `@gguf_tensor_info` |
|
||||||
| Tensor Info Entry - Offset from start of 'data' | gguf_tensor_info.offset | `uint64_t` | `struct gguf_tensor_info` | `@gguf_tensor_info` |
|
| Tensor Info Entry - Offset from start of 'data' | gguf_tensor_info.offset | `uint64_t` | `struct gguf_tensor_info` | `@gguf_tensor_info` |
|
||||||
|
|
||||||
|
Also just note that these values are not actually part of gguf but is there for internal usage and is calculated during model loading.
|
||||||
|
Aka it's for the writing/reading api
|
||||||
|
|
||||||
|
| GGML Elements Of Interest | c name | c type | gguf.c reference | vscode search line |
|
||||||
|
|-------------------------------------------------------|-------------------------|---------------------------|---------------------------|---------------------|
|
||||||
| Alignment | alignment | `size_t` | `struct gguf_context` | `@gguf_context` |
|
| Alignment | alignment | `size_t` | `struct gguf_context` | `@gguf_context` |
|
||||||
| Offset Of 'Data' From Beginning Of File | offset | `size_t` | `struct gguf_context` | `@gguf_context` |
|
| Offset Of 'Data' From Beginning Of File | offset | `size_t` | `struct gguf_context` | `@gguf_context` |
|
||||||
| Size Of 'Data' In Bytes | size | `size_t` | `struct gguf_context` | `@gguf_context` |
|
| Size Of 'Data' In Bytes | size | `size_t` | `struct gguf_context` | `@gguf_context` |
|
||||||
|
Loading…
Reference in New Issue
Block a user