-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Thanks for publishing the doc at https://github.com/ggerganov/ggml/blob/master/docs/gguf.md .
I want to develop a gguf disassembler for GPDR compliance. I want to disassemble code at offset uint64_t offset;:
struct gguf_tensor_info_t {
// The name of the tensor. It is a standard GGUF string, with the caveat that
// it must be at most 64 bytes long.
gguf_string_t name;
// The number of dimensions in the tensor.
// Currently at most 4, but this may change in the future.
uint32_t n_dimensions;
// The dimensions of the tensor.
uint64_t dimensions[n_dimensions];
// The type of the tensor.
ggml_type type;
// The offset of the tensor's data in this file in bytes.
//
// This offset is relative to `tensor_data`, not to the start
// of the file, to make it easier for writers to write the file.
// Readers should consider exposing this offset relative to the
// file to make it easier to read the data.
//
// Must be a multiple of `ALIGNMENT`. That is, `align_offset(offset) == offset`.
uint64_t offset;
};
I am wondering if there exists any opcode translation reference please? If a disassembler/decompiler already exists, I would like to see the link please.
Best regard.
Metadata
Metadata
Assignees
Labels
No labels